[Froyo] - Fennec startup crash on Samsung GalaxyS Captivate (Binary XML file line #6: Error inflating class android.widget.RelativeLayout)

RESOLVED WORKSFORME

Status

Firefox for Android Graveyard
General
--
critical
RESOLVED WORKSFORME
6 years ago
6 years ago

People

(Reporter: jhopkins, Unassigned)

Tracking

({crash, reproducible})

Trunk
ARM
Android
crash, reproducible

Details

(Whiteboard: [native-crash:P1], startupcrash, crash signature)

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
This bug was filed from the Socorro interface and is 
report bp-e9029a4f-d389-43bd-bf45-54b9d2111117 .
============================================================= 

Fennec nightly has been crashing on startup for me the past several updates I've tried (including the latest as of now - Nov. 17, 2011).

I also downloaded a debug build of Fennec and produced additional crash reports.  Here are 3 reports (sorry, I don't recall which of these were debug or non-debug crashes):

https://crash-stats.mozilla.com/report/index/bp-e9029a4f-d389-43bd-bf45-54b9d2111117
https://crash-stats.mozilla.com/report/index/bp-3bc2e82a-fc0b-4a63-8393-d90562111117
http://crash-stats.mozilla.com/report/index/bp-7e21528f-88c9-4846-aea2-e2e062111117

By luck I was able to get once startup of Fennec to not crash and grab these URLs, however the browser didn't seem functional (it wouldn't load any pages).  A restart resulted in another startup crash.
First crash shows : Bug 701501 ; Second crash shows : Bug 701501

In the app note, third report shows : 
xpcom_runtime_abort(###!!! ABORT: imgCacheEntry release isn't thread-safe!: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file /builds/slave/m-cen-lnx-andrd-dbg-ntly/build/image/src/imgLoader.h, line 86)
samsung SAMSUNG-SGH-I896
Samsung/SGH-I896/SGH-I896/SGH-I896:2.1-update1/ECLAIR/UXJI2:user/release-keys
Crash Signature: [@ @0x0 | js::ExecuteRegExp] → [@ @0x0 | js::ExecuteRegExp] [@ mozalloc_abort | __swrite | 0 (deleted)@0x11f911f ]
Whiteboard: [native-crash]
John, can you try with the nightly build on Nov 22nd please?
You may have to uninstall the current build that you have and install the build mentioned.
Whiteboard: [native-crash] → [native-crash:P1]

Updated

6 years ago
OS: Linux → Android
Hardware: x86 → ARM
Does this still happen?
(Reporter)

Comment 5

6 years ago
I still get this startup crash and it appears the crash has made it into the Aurora build at http://mzl.la/aur11
John says on Yammer that this is still happening on his  Galaxy S. Can someone look at his device?
(Reporter)

Comment 7

6 years ago
Created attachment 589678 [details]
catlog output

Attaching catlog output of an Aurora crash on my phone.
(Reporter)

Comment 8

6 years ago
Created attachment 589871 [details]
catlog of crash on latest nightly

There are two crashes in this log file - one triggered by clicking 'open' after install, and the other by relaunching via the app icon.
Spoke with John over Vidyo:
Found out : Android OS 2.1 is being used: 
Does not crash on XUL, Only crashes on Native. 
Aurora Native also crashes.
Crashes on startup (no action required by user to crash, screen is black for a while then crashes).

There are at least 2 interesting points in the log :
01-19 10:48:34.596 I/ActivityManager(2246): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=org.mozilla.fennec/com.android.internal.app.ResolverActivity }
01-19 10:48:34.601 D/AndroidRuntime(2888): Shutting down VM
01-19 10:48:34.601 W/dalvikvm(2888): threadid=3: thread exiting with uncaught exception (group=0x4001dc20)
01-19 10:48:34.601 E/AndroidRuntime(2888): Uncaught handler: thread main exiting due to uncaught exception
01-19 10:48:34.746 D/dalvikvm(2888): GC freed 6133 objects / 324536 bytes in 73ms
01-19 10:48:34.746 E/AndroidRuntime(2888): android.content.ActivityNotFoundException: Unable to find explicit activity class {org.mozilla.fennec/com.android.internal.app.ResolverActivity}; have you declared this activity in your AndroidManifest.xml?
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1404)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.app.Activity.startActivityForResult(Activity.java:2758)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.app.Activity.startActivity(Activity.java:2864)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at com.android.packageinstaller.InstallAppProgress.onClick(InstallAppProgress.java:191)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.View.performClick(View.java:2417)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.View.onTouchEvent(View.java:4232)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.widget.TextView.onTouchEvent(TextView.java:6635)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.View.dispatchTouchEvent(View.java:3762)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1713)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1131)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.app.Activity.dispatchTouchEvent(Activity.java:2070)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1697)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.os.Handler.dispatchMessage(Handler.java:99)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.os.Looper.loop(Looper.java:123)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at android.app.ActivityThread.main(ActivityThread.java:4363)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at java.lang.reflect.Method.invokeNative(Native Method)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at java.lang.reflect.Method.invoke(Method.java:521)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
01-19 10:48:34.746 E/AndroidRuntime(2888): 	at dalvik.system.NativeStart.main(Native Method)
01-19 10:48:34.756 I/Process (2246): Sending signal. PID: 2888 SIG: 3
01-19 10:48:34.761 I/dalvikvm(2888): threadid=7: reacting to signal 3

01-19 10:50:50.956 W/ActivityManager(2246): Activity idle timeout for HistoryRecord{478b9c80 org.mozilla.fennec/.App}
01-19 10:50:51.031 E/GeckoLibLoad(2966): Loaded libs in 19800ms total, 1120ms user, 630ms system, 11 faults
01-19 10:50:51.446 W/GeckoThread(2966): zerdatime 420059 - runGecko
01-19 10:50:51.451 W/GeckoThread(2966): RunGecko - URI = null
01-19 10:50:51.451 D/dalvikvm(2966): +++ not scanning '/system/lib/libwebcore.so' for 'nativeInit' (wrong CL)
01-19 10:50:51.451 D/dalvikvm(2966): +++ not scanning '/system/lib/libmedia_jni.so' for 'nativeInit' (wrong CL)
01-19 10:50:51.451 D/dalvikvm(2966): +++ not scanning '/system/lib/libexif.so' for 'nativeInit' (wrong CL)
01-19 10:50:51.466 I/GeckoAppShell(2966): post native init
01-19 10:50:51.466 D/dalvikvm(2966): +++ not scanning '/system/lib/libwebcore.so' for 'testDirectTexture' (wrong CL)
01-19 10:50:51.466 D/dalvikvm(2966): +++ not scanning '/system/lib/libmedia_jni.so' for 'testDirectTexture' (wrong CL)
01-19 10:50:51.466 D/dalvikvm(2966): +++ not scanning '/system/lib/libexif.so' for 'testDirectTexture' (wrong CL)
01-19 10:50:51.711 W/        (2966): alloc(1024, 1024, 4, 4de13220, ...) failed -22 (Invalid argument)
01-19 10:50:51.711 D/        (2966): Allocated buffers:
01-19 10:50:51.711 D/        (2966): Total allocated: 0.00 KB
01-19 10:50:51.726 D/WifiService(2246): ACTION_BATTERY_CHANGED pluggedType: 0
01-19 10:50:51.731 I/WifiService(2246): handleMessage: MESSAGE_ENABLE_WIFI
01-19 10:50:51.731 I/WifiService(2246): handleMessage: MESSAGE_START_WIFI
01-19 10:50:51.731 I/StatusBarPolicy(2246): BAT. status:4 health:2
01-19 10:50:51.871 I/GeckoAppShell(2966): Using direct texture for widget layer
01-19 10:50:51.886 E/GeckoThread(2966): top level exception
01-19 10:50:51.886 E/GeckoThread(2966): java.lang.NullPointerException
01-19 10:50:51.886 E/GeckoThread(2966): 	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:444)
01-19 10:50:51.886 E/GeckoThread(2966): 	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:103)
01-19 10:50:51.916 D/dalvikvm(2966): +++ not scanning '/system/lib/libwebcore.so' for 'reportJavaCrash' (wrong CL)
01-19 10:50:51.916 D/dalvikvm(2966): +++ not scanning '/system/lib/libmedia_jni.so' for 'reportJavaCrash' (wrong CL)
01-19 10:50:51.916 D/dalvikvm(2966): +++ not scanning '/system/lib/libexif.so' for 'reportJavaCrash' (wrong CL)
01-19 10:50:52.026 I/DEBUG   (2187): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-19 10:50:52.026 I/DEBUG   (2187): Build fingerprint: 'Samsung/SGH-I896/SGH-I896/SGH-I896:2.1-update1/ECLAIR/UXJI2:user/release-keys'
01-19 10:50:52.026 I/DEBUG   (2187): pid: 2966, tid: 2973  >>> org.mozilla.fennec <<<
01-19 10:50:52.026 I/DEBUG   (2187): signal 11 (SIGSEGV), fault addr 00000000
01-19 10:50:52.026 I/DEBUG   (2187):  r0 0000000a  r1 afe3b01b  r2 00000001  r3 00000000
01-19 10:50:52.026 I/DEBUG   (2187):  r4 afe3afd8  r5 00000000  r6 47aff8d8  r7 444ddf9c
01-19 10:50:52.026 I/DEBUG   (2187):  r8 4cd2dd70  r9 444ddf94  10 444ddf80  fp 0012c068
01-19 10:50:52.026 I/DEBUG   (2187):  ip 0000000a  sp 4cd2dcf8  lr 70000aad  pc 70000a7e  cpsr 60000030
01-19 10:50:52.361 I/DEBUG   (2187):          #00  pc 00000a7e  /dev/ashmem/libmozalloc.so (deleted)
01-19 10:50:52.361 I/DEBUG   (2187):          #01  lr 70000aad  /dev/ashmem/libmozalloc.so (deleted)
01-19 10:50:52.361 I/DEBUG   (2187): 
01-19 10:50:52.361 I/DEBUG   (2187): code around lr:
01-19 10:50:52.361 I/DEBUG   (2187): 70000a9c ef48f7ff 200a4621 ef2cf7ff ffe8f7ff 
01-19 10:50:52.361 I/DEBUG   (2187): 70000aac f7ff2006 207fef46 ef36f7ff 00001168 
01-19 10:50:52.361 I/DEBUG   (2187): 70000abc 00000048 44784801 ffe4f7ff 00000016 
01-19 10:50:52.361 I/DEBUG   (2187): 
01-19 10:50:52.361 I/DEBUG   (2187): stack:
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcb8  00000001  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcbc  afe133b9  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcc0  0000000a  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcc4  afe3afd8  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcc8  47aff8d8  /dev/ashmem/mspace/dalvik-heap/2 (deleted)
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dccc  afe1340b  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcd0  0000000a  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcd4  afe17b4b  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcd8  0000000a  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcdc  afe3afd8  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dce0  47aff8d8  /dev/ashmem/mspace/dalvik-heap/2 (deleted)
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dce4  afe13a39  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dce8  afe3afd8  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcec  00000000  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcf0  df002777  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcf4  e3a070ad  
01-19 10:50:52.361 I/DEBUG   (2187): #00 4cd2dcf8  4de1e048  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dcfc  000000a0  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd00  00010005  [heap]
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd04  0000003f  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd08  4cd2dd0c  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd0c  b0000400  /system/bin/linker
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd10  afe3db7c  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd14  afe0f170  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd18  00000000  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd1c  afe0f088  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd20  afe3d9c4  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd24  5e01f3e4  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd28  00000001  
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd2c  0000a000  [heap]
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd30  ad00ee40  /system/lib/libdvm.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd34  afe0b37d  /system/lib/libc.so
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd38  00127460  [heap]
01-19 10:50:52.361 I/DEBUG   (2187):     4cd2dd3c  0013ead0  [heap]
01-19 10:50:53.011 D/Zygote  (2194): Process 2966 terminated by signal (11)
01-19 10:50:53.028 I/ActivityManager(2246): Process org.mozilla.fennec (pid 2966) has died.
01-19 10:50:53.031 I/UsageStats(2246): Unexpected resume of com.sec.android.app.twlauncher while already resumed in org.mozilla.fennec
01-19 10:50:53.046 W/InputManagerService(2246): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@47cfcf80

Updated

6 years ago
Keywords: reproducible
Summary: Fennec startup crash on Samsung GalaxyS Captivate → [Froyo] - Fennec startup crash on Samsung GalaxyS Captivate

Updated

6 years ago
Summary: [Froyo] - Fennec startup crash on Samsung GalaxyS Captivate → [Froyo] - Fennec startup crash on Samsung GalaxyS Captivate (Binary XML file line #6: Error inflating class android.widget.RelativeLayout)
Whiteboard: [native-crash:P1] → [native-crash:P1], startupcrash
(Reporter)

Comment 10

6 years ago
I've just installed fennec-13.0a2.en-US.android-arm.apk onto my Samsung Galaxy S400 and can no longer reproduce the startup crash.

I believe this bug is fixed!
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.