Closed Bug 702401 Opened 14 years ago Closed 14 years ago

nightly crashing on start up after firmware update

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 702365

People

(Reporter: ally, Unassigned)

Details

(Keywords: crash, Whiteboard: [native-crash])

I installed the native nightly today on an asus tablet (the ones we gave out at all hands) after a factory reset, opened fennec, & toyed with it. Shortly after, the system did a forced firmware update (did not allow me to postpone) and rebooted. Now nightly crashes on start up consistently. There are no other instances of ffx/fennec running on the device. Please let me know what other data or logs I can assist with.
Does opening the Apps list > Settings > Applications > Manage Application > Nightly > and press Clear cache allow Firefox nightly to start?
adb logcat would be useful.
Keywords: crash
Whiteboard: [native-crash]
(In reply to Kevin Brosnan [:kbrosnan] from comment #1) > Does opening the Apps list > Settings > Applications > Manage Application > > Nightly > and press Clear cache allow Firefox nightly to start? It does in my case. In my case a cold start of Firefox nightly will crash until I clear the cache. After I clear the cache nightly will start successfully. If I then kill the process I must again clear the cache before nightly will start. I'm running nightly on an HTC Desire with Android 2.2.
lmandel, would it be possible to get a logcat? Once you install the sdk (http://developer.android.com/sdk/index.html), you can use the ddms (http://developer.android.com/guide/developing/debugging/ddms.html) to get the logcat.
Here's the relevant portion of my logcat. Let me know if you need any other details. 11-17 12:27:08.529: D/SurfaceFlinger(92): Layer::setBuffers(this=0xa43c00), pid=92, w=1, h=1 11-17 12:27:08.529: D/SurfaceFlinger(92): Layer::setBuffers(this=0xa43c00), pid=92, w=1, h=1 11-17 12:27:08.529: I/ActivityManager(92): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.mozilla.fennec/.App bnds=[243,586][357,704] } 11-17 12:27:08.559: D/SurfaceFlinger(92): Layer::requestBuffer(this=0xa43c00), index=0, pid=92, w=480, h=800 success 11-17 12:27:08.599: I/ActivityManager(92): Start proc org.mozilla.fennec for activity org.mozilla.fennec/.App: pid=3703 uid=10076 gids={3003, 1015, 1007, 1006} 11-17 12:27:08.639: D/AK8973(72): Compass Start 11-17 12:27:08.639: D/Sensors(92): open_akm, fd=141 11-17 12:27:08.799: D/dalvikvm(3703): GC_FOR_MALLOC freed 1807 objects / 144032 bytes in 31ms 11-17 12:27:08.939: D/dalvikvm(3703): GC_FOR_MALLOC freed 1676 objects / 130128 bytes in 32ms 11-17 12:27:09.029: E/dalvikvm(3703): Could not find class 'android.os.StrictMode$ThreadPolicy$Builder', referenced from method org.mozilla.gecko.GeckoApp.onCreate 11-17 12:27:09.029: W/dalvikvm(3703): VFY: unable to resolve new-instance 97 (Landroid/os/StrictMode$ThreadPolicy$Builder;) in Lorg/mozilla/gecko/GeckoApp; 11-17 12:27:09.029: D/dalvikvm(3703): VFY: replacing opcode 0x22 at 0x002d 11-17 12:27:09.029: D/dalvikvm(3703): VFY: dead code 0x002f-0058 in Lorg/mozilla/gecko/GeckoApp;.onCreate (Landroid/os/Bundle;)V 11-17 12:27:09.039: W/PluginManager(3703): zerdatime 1321550829047 - onCreate 11-17 12:27:09.099: D/dalvikvm(3703): GC_EXTERNAL_ALLOC freed 1540 objects / 122584 bytes in 40ms 11-17 12:27:09.139: D/Favicons(3703): Creating Favicons instance 11-17 12:27:09.139: D/Favicons(3703): Creating DatabaseHelper 11-17 12:27:09.149: I/dalvikvm(3703): Could not find method android.hardware.Camera.getNumberOfCameras, referenced from method org.mozilla.gecko.GeckoAppShell.initCamera 11-17 12:27:09.149: W/dalvikvm(3703): VFY: unable to resolve static method 192: Landroid/hardware/Camera;.getNumberOfCameras ()I 11-17 12:27:09.149: D/dalvikvm(3703): VFY: replacing opcode 0x71 at 0x0057 11-17 12:27:09.149: I/dalvikvm(3703): Could not find method android.hardware.Camera.open, referenced from method org.mozilla.gecko.GeckoAppShell.initCamera 11-17 12:27:09.149: W/dalvikvm(3703): VFY: unable to resolve static method 195: Landroid/hardware/Camera;.open (I)Landroid/hardware/Camera; 11-17 12:27:09.149: D/dalvikvm(3703): VFY: replacing opcode 0x71 at 0x0065 11-17 12:27:09.159: D/dalvikvm(3703): VFY: dead code 0x005a-005d in Lorg/mozilla/gecko/GeckoAppShell;.initCamera (Ljava/lang/String;III)[I 11-17 12:27:09.159: D/dalvikvm(3703): VFY: dead code 0x0068-006a in Lorg/mozilla/gecko/GeckoAppShell;.initCamera (Ljava/lang/String;III)[I 11-17 12:27:09.199: D/dalvikvm(3703): GC_EXTERNAL_ALLOC freed 526 objects / 35000 bytes in 34ms 11-17 12:27:09.269: D/dalvikvm(3703): GC_EXTERNAL_ALLOC freed 480 objects / 26216 bytes in 34ms 11-17 12:27:09.439: E/dalvikvm-heap(3703): 8388608-byte external allocation too large for this process. 11-17 12:27:09.439: E/dalvikvm(3703): Out of memory: Heap Size=5639KB, Allocated=3464KB, Bitmap Size=12484KB 11-17 12:27:09.439: W/OSMemory(3703): External allocation of 8388608 bytes was rejected 11-17 12:27:09.439: D/AndroidRuntime(3703): Shutting down VM 11-17 12:27:09.439: W/dalvikvm(3703): threadid=1: thread exiting with uncaught exception (group=0x400259f8) 11-17 12:27:09.439: E/AndroidRuntime(3703): FATAL EXCEPTION: main 11-17 12:27:09.439: E/AndroidRuntime(3703): java.lang.OutOfMemoryError 11-17 12:27:09.439: E/AndroidRuntime(3703): at org.apache.harmony.luni.platform.OSMemory.malloc(Native Method) 11-17 12:27:09.439: E/AndroidRuntime(3703): at org.apache.harmony.luni.platform.PlatformAddressFactory.alloc(PlatformAddressFactory.java:150) 11-17 12:27:09.439: E/AndroidRuntime(3703): at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:66) 11-17 12:27:09.439: E/AndroidRuntime(3703): at java.nio.ReadWriteDirectByteBuffer.<init>(ReadWriteDirectByteBuffer.java:51) 11-17 12:27:09.439: E/AndroidRuntime(3703): at java.nio.BufferFactory.newDirectByteBuffer(BufferFactory.java:93) 11-17 12:27:09.439: E/AndroidRuntime(3703): at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:68) 11-17 12:27:09.439: E/AndroidRuntime(3703): at org.mozilla.gecko.gfx.PlaceholderLayerClient.<init>(PlaceholderLayerClient.java:71) 11-17 12:27:09.439: E/AndroidRuntime(3703): at org.mozilla.gecko.gfx.PlaceholderLayerClient.createInstance(PlaceholderLayerClient.java:83) 11-17 12:27:09.439: E/AndroidRuntime(3703): at org.mozilla.gecko.GeckoApp.onCreate(GeckoApp.java:1125) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1069) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2751) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2803) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.app.ActivityThread.access$2300(ActivityThread.java:135) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2136) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.os.Handler.dispatchMessage(Handler.java:99) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.os.Looper.loop(Looper.java:144) 11-17 12:27:09.439: E/AndroidRuntime(3703): at android.app.ActivityThread.main(ActivityThread.java:4937) 11-17 12:27:09.439: E/AndroidRuntime(3703): at java.lang.reflect.Method.invokeNative(Native Method) 11-17 12:27:09.439: E/AndroidRuntime(3703): at java.lang.reflect.Method.invoke(Method.java:521) 11-17 12:27:09.439: E/AndroidRuntime(3703): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 11-17 12:27:09.439: E/AndroidRuntime(3703): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 11-17 12:27:09.439: E/AndroidRuntime(3703): at dalvik.system.NativeStart.main(Native Method) 11-17 12:27:09.449: W/ActivityManager(92): Force finishing activity org.mozilla.fennec/.App 11-17 12:27:09.459: D/SurfaceFlinger(92): Layer::setBuffers(this=0xa912d0), pid=92, w=1, h=1 11-17 12:27:09.459: D/SurfaceFlinger(92): Layer::setBuffers(this=0xa912d0), pid=92, w=1, h=1 11-17 12:27:09.489: D/SurfaceFlinger(92): Layer::requestBuffer(this=0xa912d0), index=0, pid=92, w=480, h=386 success 11-17 12:27:09.949: W/ActivityManager(92): Activity pause timeout for HistoryRecord{465e3058 org.mozilla.fennec/.App} 11-17 12:27:09.989: D/Sensors(92): close_akm, fd=141 11-17 12:27:09.999: D/SurfaceFlinger(92): Layer::setBuffers(this=0x7896b0), pid=200, w=480, h=800 11-17 12:27:09.999: D/SurfaceFlinger(92): Layer::setBuffers(this=0x7896b0), pid=200, w=480, h=800 11-17 12:27:10.009: D/SurfaceFlinger(92): Layer::requestBuffer(this=0x7896b0), index=0, pid=200, w=480, h=800 success 11-17 12:27:10.459: D/SurfaceFlinger(92): Layer::requestBuffer(this=0xa912d0), index=1, pid=92, w=480, h=386 success 11-17 12:27:10.569: D/SurfaceFlinger(92): Layer::requestBuffer(this=0x7896b0), index=1, pid=200, w=480, h=800 success 11-17 12:27:10.659: D/SurfaceFlinger(92): Layer::requestBuffer(this=0xa912d0), index=0, pid=92, w=480, h=386 success 11-17 12:27:10.689: D/SurfaceFlinger(92): Layer::requestBuffer(this=0xa912d0), index=1, pid=92, w=480, h=386 success 11-17 12:27:11.519: D/AK8973(72): Compass CLOSE 11-17 12:27:15.129: D/dalvikvm(3489): GC_EXPLICIT freed 236 objects / 12744 bytes in 61ms 11-17 12:27:20.069: W/ActivityManager(92): Activity destroy timeout for HistoryRecord{465e3058 org.mozilla.fennec/.App} 11-17 12:27:20.149: D/dalvikvm(1272): GC_EXPLICIT freed 2399 objects / 91992 bytes in 90ms 11-17 12:27:28.359: D/dalvikvm(236): GC_EXPLICIT freed 5428 objects / 320064 bytes in 70ms
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.