Ticket #2191 (closed defect: worksforme)

Opened 10 years ago

Last modified 19 months ago

/opt/Qtopia/plugins/phonevendors/libficgta01vendor.so is missing symbol _ZN13QModemService17setDefaultCharsetERK7QString

Reported by: xbaldauf Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

Hello, I've been upgrading from Om2008.9 (+FDOM) to Om2008.12 using "opkg upgrade". Now, qpe is not starting properly, it crashes as soon as it starts. When stracing qpe directly before the crash, the following is revealed:

[pid 1134] clock_gettime(CLOCK_MONOTONIC, {3629, 133676000}) = 0
[pid 1134] write(13, "AT+CBC\r", 7) = 7
[pid 1134] write(2, "AtChat? : T : \"AT+CBC\" \n", 24) = 24
[pid 1134] clock_gettime(CLOCK_MONOTONIC, {3629, 142533000}) = 0
[pid 1134] gettimeofday({1230533619, 795790}, NULL) = 0
[pid 1134] clock_gettime(CLOCK_MONOTONIC, {3629, 148781000}) = 0
[pid 1134] writev(2, [{"qpe", 3}, {": ", 2}, {"symbol lookup error", 19}, {": ", 2}, {"/opt/Qtopia/plugins/phonevendors/libficgta01vendor.so", 53}, {": ", 2}, {"undefined symbol: _ZN13QModemService17setDefaultCharsetERK7QString", 66}, {"", 0}, {"", 0}, {"\n", 1}], 10) = 148
[pid 1134] exit_group(127) = ?

Apparently, qpe loads "/opt/Qtopia/plugins/phonevendors/libficgta01vendor.so" and this library the symbol "_ZN13QModemService17setDefaultCharsetERK7QString" to be defined, while it is apparently not defined.

Both "libficgta01vendor.so" and "qpe" seem to come from the same build repository, so there should be no versioning problem:

~#opkg search $(which qpe)
qtopia-phone-x11 - 1:4.3.2+gitr476+ba3f443faec4cefcd3805158eef70921ed39f3de-r51 - /opt/Qtopia/bin/qpe
~#opkg search /opt/Qtopia/plugins/phonevendors/libficgta01vendor.so
qtopia-phone-x11-phonevendor-ficgta01vendor - 1:4.3.2+gitr476+ba3f443faec4cefcd3805158eef70921ed39f3de-r51 - /opt/Qtopia/plugins/phonevendors/libficgta01vendor.so
~#

Apparently, the package http://downloads.openmoko.org/repository/Om2008.8/om-gta02/qtopia-phone-x11-phonevendor-ficgta01vendor_4.3.2+gitr476+ba3f443faec4cefcd3805158eef70921ed39f3de-r51_om-gta02.opk actually expects a binary or library (the one which defines the symbol "_ZN13QModemService17setDefaultCharsetERK7QString") while not specifying that his binary or library is expected, else opkg should have installed the appropriate package.

Thus, for now, I cannot use any phone functionality on the FreeRunner?.

Change History

comment:1 Changed 10 years ago by xbaldauf

I tracked this down to http://git.openmoko.org/?p=qtopia.git;a=blob;f=devices/ficgta01/src/plugins/phonevendors/ficgta01/vendor_ficgta01_p.h;h=c2cc1e33fb50bce75733f2f9a09c870f9c4307fc;hb=HEAD line 489 ("setDefaultCharset(DEFAULT_CHARSET);"). Presumably, this method called is defined in a superclass, which presumably is defined in "/opt/Qtopia/lib/libqtopiaphonemodem.so.4.3.2". When analyzing this file, I found other (old) copies of that file dangling in my system (e.g. "/opt/Qtopia/lib/libqtopiaphonemodem.so.4.3.2.disabled" and "/opt/Qtopia/lib/libqtopiaphonemodem.so.4.3.2.danielnoethen.de") from the time where there was a need for patching around various problems. The pure existence of these libraries in turn confused "ldconfig" such that the symlink from "/opt/Qtopia/lib/libqtopiaphonemodem.so.4" did not point to ""/opt/Qtopia/lib/libqtopiaphonemodem.so.4.3.2" but to "/opt/Qtopia/lib/libqtopiaphonemodem.so.4.3.2.disabled".

Thus, removing the files "/opt/Qtopia/lib/libqtopiaphonemodem.so.4.3.2.disabled" as well as "/opt/Qtopia/lib/libqtopiaphonemodem.so.4.3.2.danielnoethen.de" and subsequently running "ldconfig" solved this problem.

Thus, in the end, the conclusion is to not change files under control of a package management system directly, rather than that, supply replacement packages which will be cleanly removed once an upgrade is available.

This bug can be closed.

comment:2 Changed 10 years ago by Nytowl

  • Status changed from new to closed
  • Resolution set to worksforme

comment:3 Changed 19 months ago by JustDox

Utilizzo Cialis 5 Mg <a href=http://zol1.xyz/brand-zoloft-online.php>Brand Zoloft Online</a> Acheter Viagra Le Vrai Cialis Spedizione Anonima <a href=http://kama1.xyz/cheap-kamagra-generic.php>Cheap Kamagra Generic</a> Buy Dapoxetine 90mg Generic Buy Cipro Xr 500mg Online <a href=http://cial5mg.xyz/buy-cheap-cialis.php>Buy Cheap Cialis</a> Homeopathic Amoxicillin For Pets Cialis 20 Tabletas <a href=http://antabuse.ccrpdc.com/buy-antabuse-online.php>Buy Antabuse Online</a> Cialis Generique Avis Comprar Cialis 24h <a href=http://cial1.xyz/buy-tadalafil.php>Buy Tadalafil</a> Buy Generic Levitra Online Levitra Antinfiammatorio <a href=http://viag1.xyz/order-viagra-online.php>Order Viagra Online</a> Keflex Doseage Strep Throat Achat Viagra Internet <a href=http://cial1.xyz/purchase-cialis.php>Purchase Cialis</a> Viagra Rezeptfrei Test Isotretinoin Order <a href=http://zol1.xyz/cheap-zoloft-tablets.php>Cheap Zoloft Tablets</a> Acquistare Kamagra Naturali Protonix Without A Rx <a href=http://antabuse.ccrpdc.com>Buy Antabuse</a> Amoxicillin Online Pills Clobetasol Vitiligo Usa Medicine Online With Free Shipping <a href=http://cial1.xyz/generic-for-cialis.php>Generic For Cialis</a> Buy Brand Levitra Baclofen Pas Cher 10mg <a href=http://cial5mg.xyz/buy-cheap-cialis-site.php>Buy Cheap Cialis Site</a> Injectable Amoxicillin For Dogs Cialis Stripes Kaufen <a href=http://viag1.xyz/cheap-viagra-sales.php>Cheap Viagra Sales</a> Viagra Finto Scherzo Tadalafil Cialis Y Alcohol <a href=http://kama1.xyz/generic-kamagra-online.php>Generic Kamagra Online</a> Cheap Viagra Pfizer Power Pill Viagra <a href=http://kama1.xyz/purchase-cheap-kamagra.php>Purchase Cheap Kamagra</a> Viagra Tabletten Bilder Prix Kamagra Thailande <a href=http://cial5mg.xyz/brand-cialis-online.php>Brand Cialis Online</a> Viagra Pfizer Bestellen Occasion Levitra <a href=http://viag1.xyz/cheap-viagra-tablets.php>Cheap Viagra Tablets</a> Amoxicillin And Macaw Propecia Hair Back All <a href=http://kama1.xyz/buy-kamagra-online.php>Buy Kamagra Online</a> Get Cialis From Canada Cosa E Il Cialis <a href=http://cytotec.ccrpdc.com/shop-cytotec-online.php>Shop Cytotec Online</a> Comprar Clozapine Antibiotics In The Keflex Family <a href=http://cial1.xyz/cheap-generic-cialis.php>Cheap Generic Cialis</a> Cialis Generic Prices Duree Efficacite Viagra <a href=http://zol1.xyz/purchase-generic-zoloft.php>Purchase Generic Zoloft</a> Cialis Ne Marche Pas Forum Zentel Pills No Script Needed Chicago <a href=http://kama1.xyz/buy-kamagra-gel.php>Buy Kamagra Gel</a> Keflex 750mg Dosage Acquisto Viagra Con Mastercard <a href=http://viag1.xyz/generic-viagra-cheap.php>Generic Viagra Cheap</a> Levitra Vasodilatador Cialis Mareos <a href=http://zol1.xyz/cheap-zoloft-20mg.php>Cheap Zoloft 20mg</a> 1 Mg Prednisone No Scrip Healthyman <a href=http://zol1.xyz/order-generic-zoloft.php>Order Generic Zoloft</a> Levitra Lowest Price Cialis Falschungen <a href=http://inderal.ccrpdc.com/cheap-propranolol-no-rx.php>Cheap Propranolol No Rx</a> Order Propecia Online Mastercard 100 Mg Viagra Wirkung <a href=http://kama1.xyz/kamagra-pills.php>Kamagra Pills</a> Viagra 25mg Cost Acheter Mifegyne Cytotec <a href=http://cial5mg.xyz/canadian-cheap-cialis.php>Canadian Cheap Cialis</a> Como Usar El Kamagra Buy Accutane In Canada <a href=http://inderal.ccrpdc.com/order-propranolol-usa.php>Order Propranolol USA</a> Flarex Without A Prescription Cialis Gunstig Mit Rezept <a href=http://cial5mg.xyz/ordina-cialis-online.php>Ordina Cialis Online</a> Cialis Precio 10 Mg Cialis Ubers Internet <a href=http://cial5mg.xyz/cialis-online-prices.php>Cialis Online Prices</a> Buy Accutane In The Us Kamagra Gold <a href=http://cial5mg.xyz/cialis-order.php>Cialis Order</a> Sex Med Man Mifepristone Et Misoprostol Prix <a href=http://strattera.ccrpdc.com/buy-atomoxetine-online-india.php>Buy Atomoxetine Online India</a> Clomid Effets Secondaires Duphaston Use Propecia Once A Day <a href=http://cial1.xyz/tadalafil-online.php>Tadalafil Online</a> Propecia Bugiardino Purchase Orlistat <a href=http://kama1.xyz/kamagra-en-ligne.php>Kamagra En Ligne</a> Cialis Soft Meilleur Prix Kamagra Sin Receta <a href=http://cial1.xyz/cialis-professional.php>Cialis Professional</a> Cheap Silagra Prix Viagra Et Cialis <a href=http://zol1.xyz/order-zoloft.php>Order Zoloft</a> Propecia Prix Prix Propecia Pas Cher 10 Years Using Propecia <a href=http://kama1.xyz/kamagra-online-fast.php>Kamagra Online Fast</a> Puedo Comprar Levitra Sin Receta Propecia Without A Prescription <a href=http://lasix.ccrpdc.com/achat-furosemide.php>Achat Furosemide</a> Keflex Is Used For Cialis Pfizer Levitra <a href=http://lasix.ccrpdc.com/purchase-lasix-usa.php>Purchase Lasix Usa</a> Online Pharmacy For Prednisone China Viagra Online <a href=http://zol1.xyz/best-zoloft-online.php>Best Zoloft Online</a> Acheter Viagra Bon Marche Kamagra Recensione Online <a href=http://zol1.xyz/zoloft-implicane.php>Zoloft Implicane</a> Propecia Producto

Note: See TracTickets for help on using tickets.