Closed Bug 1173025 Opened 10 years ago Closed 10 years ago

libmozglue.so not found in APK on HTC cha-cha running 2.3

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mfinkle, Unassigned)

Details

Attachments

(1 file)

Attached file htc-cha-cha-crash.txt
I was trying to test Fennec on some older mdpi devices, so pre-req work for removing the mdpi folder. Droid Pro works fine. HTC cha-cha crashes on startup. I'll attach a log. Happens on Nightly (41) and Aurora (40)
2.3.what? 2.3.7 on an HTC EVO works for me with today's Nightly.
The error message indicates that nothing is in /data/data, that our nativeLibraryDir is /mnt/asec/org.mozilla.fennec-2/lib, but /mnt/asec/org.mozilla.fennec-2/lib/lib doesn't exist. We should probably attempt to load from the root of nativeLibraryDir.
(In reply to Richard Newman [:rnewman] from comment #1) > 2.3.what? > > 2.3.7 on an HTC EVO works for me with today's Nightly. 2.3.5
I installed a test build from Richard. During the install, I see: I/PackageManager( 128): New shared user org.mozilla.fennec_rnewman.sharedID: id=10088 W/PackageManager( 128): clear PackageParser.PARSE_CHATTY I/PackageManager( 128): Unpacking native libraries for /data/app/org.mozilla.fennec_rnewman-1.apk W/NativeHelper( 128): Native ABI mismatch from package file D/installd( 78): DexInv: --- BEGIN '/data/app/org.mozilla.fennec_rnewman-1.apk' --- D/dalvikvm( 1844): GC_EXPLICIT freed <1K, 42% free 3148K/5379K, external 0K/0K, paused 76ms D/dalvikvm(23351): DexOpt: couldn't find static field D/dalvikvm(23351): DexOpt: couldn't find field Landroid/os/Message;.sendingUid D/dalvikvm(23351): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp D/dalvikvm(23351): DexOpt: couldn't find static field D/dalvikvm(23351): DexOpt: load 950ms, verify+opt 4400ms D/dalvikvm( 425): GC_EXPLICIT freed 24K, 42% free 3323K/5703K, external 0K/0K, paused 1714ms D/installd( 78): DexInv: --- END '/data/app/org.mozilla.fennec_rnewman-1.apk' (success) --- W/PackageManager( 128): Package org.mozilla.fennec_rnewman has activity org.mozilla.fennec_rnewman.App with priority > 0, forcing to 0 I/installd( 78): move /data/dalvik-cache/data@app@org.mozilla.fennec_rnewman-1.apk@classes.dex -> /data/dalvik-cache/data@app@org.mozilla.fennec_rnewman-1.apk@classes.dex D/PackageManager( 128): [embedded] New package installed in /data/app/org.mozilla.fennec_rnewman-1.apk During startup (and crash), I see: I/ActivityManager( 128): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=org.mozilla.fennec_rnewman/.App } from pid 1259 V/HtcAppUsageStats( 128): (launch app, package): (Fennec rnewman, org.mozilla.fennec_rnewman) I/ActivityManager( 128): Start proc org.mozilla.fennec_rnewman for activity org.mozilla.fennec_rnewman/.App: pid=23372 uid=10088 gids={3003, 1015, 1006} D/PowerManagerService( 128): New lightsensor value:225, lcdValue:114 D/PowerManagerService( 128): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3 D/lights ( 128): set_light_buttons_func: on=0 brightness=0 D/lights ( 128): [LedInfo] __set_sharekey_backlight mode=0 D/lights ( 128): [LedInfo] write attr ok name=/sys/class/leds/sharekey/brightness string=0,len=1 D/lights ( 128): [LedInfo] __set_sharekey_breath_brightness mode=255 D/lights ( 128): [LedInfo] write attr ok name=/sys/class/leds/sharekey/breath_max_brightness string=255,len=3 D/dalvikvm(23372): GC_CONCURRENT freed 120K, 40% free 3408K/5639K, external 0K/0K, paused 4ms+5ms D/szipinf (23372): Initializing inflate state I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.db.tabs: org.mozilla.gecko.db.TabsProvider I/dalvikvm(23372): Could not find method android.database.sqlite.SQLiteOpenHelper.setWriteAheadLoggingEnabled, referenced from method org.mozilla.gecko.db.PerProfileDatabaseProvider$1.makeDatabaseHelper W/dalvikvm(23372): VFY: unable to resolve virtual method 781: Landroid/database/sqlite/SQLiteOpenHelper;.setWriteAheadLoggingEnabled (Z)V D/dalvikvm(23372): VFY: replacing opcode 0x6e at 0x000b I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.profiles: org.mozilla.gecko.GeckoProfilesProvider I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.db.home: org.mozilla.gecko.db.HomeProvider I/dalvikvm(23372): Could not find method android.content.ContentProvider.shutdown, referenced from method org.mozilla.gecko.db.SQLiteBridgeContentProvider.shutdown W/dalvikvm(23372): VFY: unable to resolve virtual method 325: Landroid/content/ContentProvider;.shutdown ()V D/dalvikvm(23372): VFY: replacing opcode 0x6f at 0x002c D/dalvikvm(23372): VFY: dead code 0x002f-002f in Lorg/mozilla/gecko/db/SQLiteBridgeContentProvider;.shutdown ()V I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.db.browser: org.mozilla.gecko.db.BrowserProvider I/dalvikvm(23372): Could not find method org.mozilla.gecko.db.BrowserDatabaseHelper.setWriteAheadLoggingEnabled, referenced from method org.mozilla.gecko.db.SharedBrowserDatabaseProvider$1.makeDatabaseHelper W/dalvikvm(23372): VFY: unable to resolve virtual method 28574: Lorg/mozilla/gecko/db/BrowserDatabaseHelper;.setWriteAheadLoggingEnabled (Z)V D/dalvikvm(23372): VFY: replacing opcode 0x6e at 0x000a I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.db.readinglist: org.mozilla.gecko.db.ReadingListProvider I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.health: org.mozilla.gecko.background.healthreport.HealthReportProvider I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.db.searchhistory: org.mozilla.gecko.db.SearchHistoryProvider I/ActivityThread(23372): Pub org.mozilla.fennec_rnewman.db.formhistory: org.mozilla.gecko.db.FormHistoryProvider I/dalvikvm(23372): Could not find method android.view.ViewConfiguration.hasPermanentMenuKey, referenced from method org.mozilla.gecko.util.HardwareUtils.init W/dalvikvm(23372): VFY: unable to resolve virtual method 9076: Landroid/view/ViewConfiguration;.hasPermanentMenuKey ()Z D/dalvikvm(23372): VFY: replacing opcode 0x6e at 0x0031 D/dalvikvm(23372): VFY: dead code 0x0034-004a in Lorg/mozilla/gecko/util/HardwareUtils;.init (Landroid/content/Context;)V E/dalvikvm(23372): Could not find class 'android.content.ClipboardManager', referenced from method org.mozilla.gecko.util.Clipboard.getClipboardTextImpl W/dalvikvm(23372): VFY: unable to resolve check-cast 73 (Landroid/content/ClipboardManager;) in Lorg/mozilla/gecko/util/Clipboard; D/dalvikvm(23372): VFY: replacing opcode 0x1f at 0x000c D/dalvikvm(23372): VFY: dead code 0x000e-0028 in Lorg/mozilla/gecko/util/Clipboard;.getClipboardTextImpl ()Ljava/lang/String; E/dalvikvm(23372): Could not find class 'android.content.ClipboardManager', referenced from method org.mozilla.gecko.util.Clipboard.hasText W/dalvikvm(23372): VFY: unable to resolve check-cast 73 (Landroid/content/ClipboardManager;) in Lorg/mozilla/gecko/util/Clipboard; D/dalvikvm(23372): VFY: replacing opcode 0x1f at 0x000c D/dalvikvm(23372): VFY: dead code 0x000e-0011 in Lorg/mozilla/gecko/util/Clipboard;.hasText ()Z D/dalvikvm(23372): Trying to load lib /data/data/org.mozilla.fennec_rnewman/lib/libmozglue.so 0x40522588 D/dalvikvm(23372): Trying to load lib /data/app-lib/org.mozilla.fennec_rnewman/libmozglue.so 0x40522588 D/dalvikvm(23372): Trying to load lib /data/data/org.mozilla.fennec_rnewman/lib/libmozglue.so 0x40522588 D/dalvikvm(23372): GC_CONCURRENT freed 276K, 40% free 3689K/6087K, external 0K/0K, paused 3ms+6ms W/GeckoLoader(23372): lib/armeabi/libmozglue.so not found in APK /data/app/org.mozilla.fennec_rnewman-1.apk E/GeckoLoader(23372): Load diagnostics: LOAD mozglue: ABI: arm-eabi-gcc3, armeabi: Data: /data/data/org.mozilla.fennec_rnewman, ax=false, ddx=false, -1x=false, -2x=false, nativeLib: /data/data/org.mozilla.fennec_rnewman/lib, dirx=true, libx=false D/AndroidRuntime(23372): Shutting down VM W/dalvikvm(23372): threadid=1: thread exiting with uncaught exception (group=0x400205a0) D/dalvikvm(23372): GC_CONCURRENT freed 113K, 36% free 4104K/6343K, external 0K/0K, paused 4ms+6ms E/AndroidRuntime(23372): FATAL EXCEPTION: main E/AndroidRuntime(23372): java.lang.RuntimeException: Unable to create application org.mozilla.gecko.GeckoApplication: java.lang.RuntimeException: LOAD mozglue: ABI: arm-eabi-gcc3, armeabi: Data: /data/data/org.mozilla.fennec_rnewman, ax=false, ddx=false, -1x=false, -2x=false, nativeLib: /data/data/org.mozilla.fennec_rnewman/lib, dirx=true, libx=false E/AndroidRuntime(23372): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3828) E/AndroidRuntime(23372): at android.app.ActivityThread.access$2200(ActivityThread.java:132) E/AndroidRuntime(23372): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1082) E/AndroidRuntime(23372): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(23372): at android.os.Looper.loop(Looper.java:150) E/AndroidRuntime(23372): at android.app.ActivityThread.main(ActivityThread.java:4293) E/AndroidRuntime(23372): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(23372): at java.lang.reflect.Method.invoke(Method.java:507) E/AndroidRuntime(23372): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) E/AndroidRuntime(23372): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) E/AndroidRuntime(23372): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(23372): Caused by: java.lang.RuntimeException: LOAD mozglue: ABI: arm-eabi-gcc3, armeabi: Data: /data/data/org.mozilla.fennec_rnewman, ax=false, ddx=false, -1x=false, -2x=false, nativeLib: /data/data/org.mozilla.fennec_rnewman/lib, dirx=true, libx=false E/AndroidRuntime(23372): at org.mozilla.gecko.mozglue.GeckoLoader.doLoadLibrary(GeckoLoader.java:516) E/AndroidRuntime(23372): at org.mozilla.gecko.mozglue.GeckoLoader.loadMozGlue(GeckoLoader.java:527) E/AndroidRuntime(23372): at org.mozilla.gecko.GeckoApplication.onCreate(GeckoApplication.java:130) E/AndroidRuntime(23372): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:984) E/AndroidRuntime(23372): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3825) E/AndroidRuntime(23372): ... 10 more E/AndroidRuntime(23372): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load mozglue: findLibrary returned null E/AndroidRuntime(23372): at java.lang.Runtime.loadLibrary(Runtime.java:429) E/AndroidRuntime(23372): at java.lang.System.loadLibrary(System.java:554) E/AndroidRuntime(23372): at org.mozilla.gecko.mozglue.GeckoLoader.doLoadLibraryExpected(GeckoLoader.java:423) E/AndroidRuntime(23372): at org.mozilla.gecko.mozglue.GeckoLoader.doLoadLibrary(GeckoLoader.java:461) E/AndroidRuntime(23372): ... 14 more W/ActivityManager( 128): Force finishing activity org.mozilla.fennec_rnewman/.App W/ActivityManager( 128): Activity pause timeout for HistoryRecord{40e7ab38 org.mozilla.fennec_rnewman/.App}
I/PackageManager( 128): Unpacking native libraries for /data/app/org.mozilla.fennec_rnewman-1.apk W/NativeHelper( 128): Native ABI mismatch from package file The ChaCha is ARMv6.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: