Closed Bug 820750 Opened 12 years ago Closed 12 years ago

Intermittent test_bug430276.html | application crashed [@ mozalloc_abort(char const*)] ("REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main")" + "android.util.AndroidRuntimeException: { what=0 when=529486 } This message is already in use.")

Categories

(Firefox for Android Graveyard :: General, defect, P3)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: emorley, Assigned: jchen)

Details

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

Android Armv6 Tegra 250 mozilla-inbound opt test mochitest-4 on 2012-12-10 07:00:22 PST for push da39c8eae212 slave: tegra-097 https://tbpl.mozilla.org/php/getParsedLog.php?id=17779306&tree=Mozilla-Inbound { 2272 INFO TEST-START | /tests/dom/tests/mochitest/bugs/test_bug430276.html INFO | automation.py | Application ran for: 0:02:55.358446 INFO | automation.py | Reading PID log: /tmp/tmpDZ7x4Cpidlog getting files in '/mnt/sdcard/tests/profile/minidumps/' Downloading symbols from: http://ftp-scl3.mozilla.com/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android-armv6/1355147454/fennec-20.0a1.en-US.android-arm-armv6.crashreporter-symbols.zip PROCESS-CRASH | /tests/dom/tests/mochitest/bugs/test_bug430276.html | application crashed [@ mozalloc_abort(char const*)] Crash dump filename: /tmp/tmpCJ4sfU/187dbabe-dfc0-f88a-5a0c4978-0cb28e8e.dmp Operating system: Android 0.0.0 Linux 2.6.32.9 #1 SMP PREEMPT Fri Nov 5 19:33:10 UTC 2010 armv7l nvidia/harmony/harmony/harmony:2.2/FRF91/20101105.183900:eng/test-keys CPU: arm 0 CPUs Crash reason: SIGSEGV Crash address: 0x0 Thread 0 (crashed) 0 libmozalloc.so!mozalloc_abort(char const*) [mozalloc_abort.cpp : 23 + 0x8] r4 = 0xafd4254c r5 = 0xbe9a572c r6 = 0x4431a2a8 r7 = 0x4104bf34 r8 = 0xbe9a57b0 r9 = 0x4104bf2c r10 = 0x4104bf18 fp = 0x00000000 sp = 0xbe9a5728 lr = 0xafd16385 pc = 0x429957b4 Found by: given as instruction pointer in context 1 libc.so + 0x16383 r4 = 0xafd4254c r5 = 0xbe9a572c r6 = 0x4431a2a8 r7 = 0x4104bf34 r8 = 0xbe9a57b0 r9 = 0x4104bf2c r10 = 0x4104bf18 fp = 0x00000000 sp = 0xbe9a5728 pc = 0xafd16385 Found by: call frame info 2 libc.so + 0x104fe sp = 0xbe9a5748 pc = 0xafd10500 Found by: stack scanning 3 libc.so + 0x43726 sp = 0xbe9a574c pc = 0xafd43728 Found by: stack scanning 4 libdvm.so + 0x16fbe sp = 0xbe9a575c pc = 0x80816fc0 Found by: stack scanning 5 libc.so + 0xbe21 sp = 0xbe9a5768 pc = 0xafd0be23 Found by: stack scanning 6 libc.so + 0x104fe sp = 0xbe9a5770 pc = 0xafd10500 Found by: stack scanning 7 libc.so + 0x43726 sp = 0xbe9a5774 pc = 0xafd43728 Found by: stack scanning 8 libmozglue.so!Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash [APKOpen.cpp : 319 + 0x6] sp = 0xbe9a57a8 pc = 0x80c16328 Found by: stack scanning 9 libdvm.so + 0x16df6 r4 = 0xbe9a57d0 sp = 0xbe9a57b0 pc = 0x80816df8 Found by: call frame info 10 dalvik-LinearAlloc (deleted) + 0x21a3d2 sp = 0xbe9a57b8 pc = 0x412663d4 Found by: stack scanning 11 2 (deleted) + 0x592a6 sp = 0xbe9a57bc pc = 0x4431a2a8 } { 12-10 07:10:09.903 I/GeckoDump( 1790): 2268 INFO TEST-PASS | /tests/dom/tests/mochitest/bugs/test_bug42976.html | dir not preserved correctly 12-10 07:10:09.903 I/GeckoDump( 1790): 2269 INFO TEST-PASS | /tests/dom/tests/mochitest/bugs/test_bug42976.html | lang not preserved correctly 12-10 07:10:09.913 I/GeckoDump( 1790): 2270 INFO TEST-PASS | /tests/dom/tests/mochitest/bugs/test_bug42976.html | base not preserved correctly 12-10 07:10:10.023 I/GeckoDump( 1790): 2271 INFO TEST-END | /tests/dom/tests/mochitest/bugs/test_bug42976.html | finished in 987ms 12-10 07:10:10.033 I/GeckoDump( 1790): 2272 INFO TEST-START | /tests/dom/tests/mochitest/bugs/test_bug430276.html 12-10 07:10:10.363 D/AndroidRuntime( 1790): Shutting down VM 12-10 07:10:10.373 E/GeckoAppShell( 1790): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main") 12-10 07:10:10.373 E/GeckoAppShell( 1790): android.util.AndroidRuntimeException: { what=0 when=529486 } This message is already in use. 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:171) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.os.Handler.sendMessageAtTime(Handler.java:457) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.os.Handler.sendMessageDelayed(Handler.java:430) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.os.Handler.postDelayed(Handler.java:316) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at org.mozilla.gecko.GeckoInputConnection.notifyIMEEnabled(GeckoInputConnection.java:511) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at org.mozilla.gecko.GeckoEditable$4.run(GeckoEditable.java:555) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.os.Handler.handleCallback(Handler.java:587) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.os.Handler.dispatchMessage(Handler.java:92) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.os.Looper.loop(Looper.java:123) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at android.app.ActivityThread.main(ActivityThread.java:4627) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at java.lang.reflect.Method.invokeNative(Native Method) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at java.lang.reflect.Method.invoke(Method.java:521) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 12-10 07:10:10.373 E/GeckoAppShell( 1790): at dalvik.system.NativeStart.main(Native Method) }
Whiteboard: [native-crash]
Crash happened in keyboard code. I'll take a look.
Assignee: nobody → nchen
Status: NEW → ASSIGNED
(In reply to Jim Chen [:jchen :nchen] from comment #1) > Crash happened in keyboard code. I'll take a look. Thank you :-)
I went through the code and it's not clear to me how the crash happened. It appears to be a problem of reusing freed resources (Message objects in particular), but I could not find a place in our codebase that does that. I think the next suspect is a bug in Android itself, considering the Tegras still run Froyo. I will investigate more if this becomes frequent or if we get more useful reports.
Priority: -- → P3
This hasn't occurred since -> calling WFM for now.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.