Closed Bug 760357 Opened 12 years ago Closed 12 years ago

java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.onPrepareOptionsMenu(GeckoApp.java) at org.mozilla.gecko.GeckoApp.onPreparePanel(GeckoApp.java)

Categories

(Firefox for Android Graveyard :: General, defect)

15 Branch
ARM
Android
defect
Not set
critical

Tracking

(firefox14 unaffected, firefox15- fixed, firefox16 unaffected)

RESOLVED DUPLICATE of bug 773089
Tracking Status
firefox14 --- unaffected
firefox15 - fixed
firefox16 --- unaffected

People

(Reporter: romaxa, Unassigned)

References

Details

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

Crash Data

Recent merge introduced crash on startup.
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=d6ae9ef0eb50

I/GeckoViewsFactory(29882): Creating custom Gecko view: FormAssistPopup
I/GeckoViewsFactory(29882): Creating custom Gecko view: AboutHomeContent
I/GeckoViewsFactory(29882): Creating custom Gecko view: FindInPageBar
W/GeckoApp(29882): zerdatime 65208239 - onStart
I/GeckoApp(29882): start
I/GeckoApp(29882): resume
D/libEGL  (29882): loaded /system/lib/egl/libEGL_tegra.so
D/libEGL  (29882): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL  (29882): loaded /system/lib/egl/libGLESv2_tegra.so
D/OpenGLRenderer(29882): Enabling debug mode 0
D/AndroidRuntime(29882): Shutting down VM
W/dalvikvm(29882): threadid=1: thread exiting with uncaught exception (group=0x40a261f8)
E/GeckoAppShell(29882): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main")
E/GeckoAppShell(29882): java.lang.NullPointerException
E/GeckoAppShell(29882): 	at org.mozilla.gecko.GeckoApp.onPrepareOptionsMenu(GeckoApp.java:418)
E/GeckoAppShell(29882): 	at android.app.Activity.onPreparePanel(Activity.java:2462)
E/GeckoAppShell(29882): 	at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:416)
E/GeckoAppShell(29882): 	at com.android.internal.policy.impl.PhoneWindow.invalidatePanelMenu(PhoneWindow.java:739)
E/GeckoAppShell(29882): 	at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java:2833)
E/GeckoAppShell(29882): 	at android.os.Handler.handleCallback(Handler.java:605)
E/GeckoAppShell(29882): 	at android.os.Handler.dispatchMessage(Handler.java:92)
E/GeckoAppShell(29882): 	at android.os.Looper.loop(Looper.java:137)
E/GeckoAppShell(29882): 	at android.app.ActivityThread.main(ActivityThread.java:4424)
E/GeckoAppShell(29882): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/GeckoAppShell(29882): 	at java.lang.reflect.Method.invoke(Method.java:511)
E/GeckoAppShell(29882): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/GeckoAppShell(29882): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/GeckoAppShell(29882): 	at dalvik.system.NativeStart.main(Native Method)
F/libc    (29882): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
I/DEBUG   (18527): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (18527): Build fingerprint: 'asus/US_epad/TF201:4.0.3/IML74K/US_epad-9.4.2.15-20120221:user/release-keys'
I/DEBUG   (18527): pid: 29882, tid: 29882  >>> org.mozilla.fennec <<<
I/DEBUG   (18527): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG   (18527):  r0 002902c0  r1 c7b00019  r2 f850001d  r3 00000000
I/DEBUG   (18527):  r4 56fb2510  r5 00293828  r6 00000000  r7 bee617e8
I/DEBUG   (18527):  r8 bee617f0  r9 56c2df2c  10 5b50a796  fp bee61804
I/DEBUG   (18527):  ip 5755a019  sp bee617e8  lr 5755a025  pc 00000000  cpsr a0000010
I/DEBUG   (18527):  d0  0000000440800000  d1  0000001040800000
I/DEBUG   (18527):  d2  437f0000437f8000  d3  4200000041a80000
I/DEBUG   (18527):  d4  0000000000000000  d5  0000000000000000
I/DEBUG   (18527):  d6  3f2800003f280000  d7  408000003f800000
I/DEBUG   (18527):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   (18527):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   (18527):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   (18527):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   (18527):  d16 0000000740bcaea8  d17 3ff0000000000000
I/DEBUG   (18527):  d18 3ff0000000000000  d19 bed0810fee5b0b6f
I/DEBUG   (18527):  d20 4000000000000000  d21 3f11566a75de22e0
I/DEBUG   (18527):  d22 bebbbd416a11fd20  d23 bf66fdeb3ae21000
I/DEBUG   (18527):  d24 3e66376972bea4d0  d25 3fd174646512dc71
I/DEBUG   (18527):  d26 3fefdfde00000000  d27 bed0810fee5b0a9d
I/DEBUG   (18527):  d28 c00005c02b53cb8a  d29 bf66fdec79316df6
I/DEBUG   (18527):  d30 bc0a42cc192d5632  d31 be23e4f5df600000
I/DEBUG   (18527):  scr 20000012
I/DEBUG   (18527): 
I/DEBUG   (18527):          #00  pc 00000000  
I/DEBUG   (18527):          #01  pc 00015022  /data/data/org.mozilla.fennec/lib/libmozglue.so (Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash)
I/DEBUG   (18527):          #02  pc 0001ec30  /system/lib/libdvm.so (dvmPlatformInvoke)
I/DEBUG   (18527):          #03  pc 00058f6c  /system/lib/libdvm.so (_Z16dvmCallJNIMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG   (18527): 
I/DEBUG   (18527): code around pc:
I/DEBUG   (18527): 00000000 ffffffff ffffffff ffffffff ffffffff  ................
I/DEBUG   (18527): 00000010 ffffffff ffffffff ffffffff ffffffff  ................
I/DEBUG   (18527): 00000020 ffffffff ffffffff ffffffff ffffffff  ................
I/DEBUG   (18527): 00000030 ffffffff ffffffff ffffffff ffffffff  ................
I/DEBUG   (18527): 00000040 ffffffff ffffffff ffffffff ffffffff  ................
I/DEBUG   (18527): 
I/DEBUG   (18527): code around lr:
I/DEBUG   (18527): 5755a004 b5804b03 447baf00 4798681b bd8046bd  .K....{D.h.G.F..
I/DEBUG   (18527): 5755a014 00019fbe b5804b03 447baf00 4798681b  .....K....{D.h.G
I/DEBUG   (18527): 5755a024 bd8046bd 00019f6e b5804b03 447baf00  .F..n....K....{D
I/DEBUG   (18527): 5755a034 4798681b bd8046bd 00019f6a b5804b03  .h.G.F..j....K..
I/DEBUG   (18527): 5755a044 447baf00 4798681b bd8046bd 00019fa6  ..{D.h.G.F......
I/DEBUG   (18527): 
I/DEBUG   (18527): stack:
I/DEBUG   (18527):     bee617a8  00466338  [heap]
I/DEBUG   (18527):     bee617ac  400964b8  
I/DEBUG   (18527):     bee617b0  004662f0  [heap]
I/DEBUG   (18527):     bee617b4  00466308  [heap]
I/DEBUG   (18527):     bee617b8  407f3dc0  /system/lib/libdvm.so
I/DEBUG   (18527):     bee617bc  40096498  
I/DEBUG   (18527):     bee617c0  40bcaea8  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   (18527):     bee617c4  bee61808  [stack]
I/DEBUG   (18527):     bee617c8  00297fb8  [heap]
I/DEBUG   (18527):     bee617cc  bee61808  [stack]
I/DEBUG   (18527):     bee617d0  b5c9e822  
I/DEBUG   (18527):     bee617d4  408257db  /system/lib/libdvm.so
I/DEBUG   (18527):     bee617d8  4110b9a8  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   (18527):     bee617dc  4110b9a8  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   (18527):     bee617e0  00293828  [heap]
I/DEBUG   (18527):     bee617e4  002938d0  [heap]
I/DEBUG   (18527): #01 bee617e8  56c2df34  
I/DEBUG   (18527):     bee617ec  407f3c34  /system/lib/libdvm.so
I/BootReceiver(  195): Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
W/InputDispatcher(  195): channel '4107aed0 org.mozilla.fennec/org.mozilla.fennec.App (server)' ~ Consumer closed input channel or an error occurred.  events=0x8
E/InputDispatcher(  195): channel '4107aed0 org.mozilla.fennec/org.mozilla.fennec.App (server)' ~ Channel is unrecoverably broken and will be disposed!
I/ActivityManager(  195): Process org.mozilla.fennec (pid 29882) has died.
W/ActivityManager(  195): Force removing ActivityRecord{41298168 org.mozilla.fennec/.App}: app died, no saved state
W/InputDispatcher(  195): Attempted to unregister already unregistered input channel '4107aed0 org.mozilla.fennec/org.mozilla.fennec.App (server)'
D/Zygote  (  108): Process 29882 terminated by signal (11)
I/WindowManager(  195): WINDOW DIED Window{4107aed0 org.mozilla.fennec/org.mozilla.fennec.App paused=false}
Sounds like some change in next inbound fixing the problem
It has the same signature as bug 760267 but a different stack.
Severity: normal → critical
Crash Signature: [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.onPrepareOptionsMenu(GeckoApp.java)]
Keywords: crash
Whiteboard: [native-crash]
Version: unspecified → Trunk
This is likely fixed with bug 760196.
Bug 760267 is also filed about this signature. Dupes in some way?
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #4)
> Bug 760267 is also filed about this signature. Dupes in some way?
See comment 2.
Depends on: 760196
Summary: Crash on startup, Asus transformer prime, inbound merge d6ae9ef0eb50 → Crash on startup, Asus transformer prime, inbound merge d6ae9ef0eb50: java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.onPrepareOptionsMenu(GeckoApp.java) at org.mozilla.gecko.GeckoApp.onPreparePanel(GeckoApp.java)
Version: Trunk → Firefox 15
Unable to reproduce on my Transformer Prime TF201 (Android 4.0.4) running Nightly (06/06).
Don't see crash anymore on latest tip... ALF?
Summary: Crash on startup, Asus transformer prime, inbound merge d6ae9ef0eb50: java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.onPrepareOptionsMenu(GeckoApp.java) at org.mozilla.gecko.GeckoApp.onPreparePanel(GeckoApp.java) → java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.onPrepareOptionsMenu(GeckoApp.java) at org.mozilla.gecko.GeckoApp.onPreparePanel(GeckoApp.java)
It's #3 top crasher in 15.0a2 and #5 in 16.0a1.
tracking-fennec: --- → ?
Keywords: topcrash
The patch of bug 760267 has fixed this crash.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
It's #3 top crasher in 15.0a2 and #16 in 16.0a1.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
It's fixed in the trunk by an unknown patch different from the one in bug 760267. Indeed there are no crashes after 16.0a1/20120619.
It's not even fixed in the trunk. See bug 760267 comment 41.
Fixing bug 766861 in the trunk will probably fix this crash after uplift to Aurora.
adding qawanted, as there's no stable STRs yet.  also, need to test against the Galaxy Note.
Keywords: qawanted
Tested (07/04 Nightly, and latest stable release) with the Galaxy Note running 4.0.3 and I am unable to reproduce.
A patch similar to bug 773089 in GeckoApp might fix that.
tracking this regression since it's only present in 15.
(In reply to Scoobidiver from comment #14)
> It's not even fixed in the trunk. See bug 760267 comment 41.

Based upon this, I'm assuming that this bug should be marked as 16:affected.
(In reply to Alex Keybl [:akeybl] from comment #20)
> (In reply to Scoobidiver from comment #14)
> > It's not even fixed in the trunk. See bug 760267 comment 41.
> Based upon this, I'm assuming that this bug should be marked as 16:affected.
This comment meant it morphed into bug 766861/bug 773089 which is now fixed in Nightly and Aurora from 15.0a2/20120714 and has also fixed these crashes: https://crash-stats.mozilla.com/report/list?version=FennecAndroid%3A15.0a2&range_value=4&range_unit=weeks&signature=java.lang.NullPointerException%3A%20at%20org.mozilla.gecko.GeckoApp.onPrepareOptionsMenu%28GeckoApp.java%29
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → DUPLICATE
[Triage Comment]
Removing tracking, this is fixed in bug 773089 on 15.
tracking-fennec: ? → ---
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.