Closed
Bug 733142
Opened 12 years ago
Closed 12 years ago
crash [@ java.lang.RuntimeException: Unable to destroy activity {org.mozilla.fennec_aurora/org.mozilla.fennec_aurora.App}: java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.GeckoNetworkManager@41951ab8: at android.app.Activity
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox14 verified, firefox15 verified, blocking-fennec1.0 beta+)
VERIFIED
FIXED
Firefox 14
People
(Reporter: nhirata, Assigned: mounir)
References
Details
(Keywords: crash, regression, topcrash, Whiteboard: [native-crash])
Crash Data
Attachments
(1 file)
885 bytes,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-c47414b2-0dc4-4463-a93b-43eb12120303 . ============================================================= java.lang.RuntimeException: Unable to destroy activity {org.mozilla.fennec_aurora/org.mozilla.fennec_aurora.App}: java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.GeckoNetworkManager@41951ab8 at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3108) at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3126) at android.app.ActivityThread.access$1200(ActivityThread.java:122) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1179) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at org.mozilla.gecko.GeckoApp$32.run(GeckoApp.java:1777) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4340) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.GeckoNetworkManager@41951ab8 at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:628) at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1066) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:354) at org.mozilla.gecko.GeckoNetworkManager.stopListening(GeckoNetworkManager.java:178) at org.mozilla.gecko.GeckoNetworkManager.stop(GeckoNetworkManager.java:173) at org.mozilla.gecko.GeckoApp.onDestroy(GeckoApp.java:2171) at android.app.Activity.performDestroy(Activity.java:4629) at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1079) at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3095) ... 15 more
Updated•12 years ago
|
OS: Linux → Android
Hardware: All → ARM
Version: Firefox 13 → Firefox 12
Updated•12 years ago
|
blocking-fennec1.0: --- → -
Comment 2•12 years ago
|
||
There were no crashes in 13.0a2 and 14.0a1 up to 14.0a1/20120322031220. There are now 36 crashes making it #1 top crasher over the last day. The regression range is: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4bdae514b9be&tochange=5c13fce74f83
Comment 3•12 years ago
|
||
Mounir - Any chance this you can take a look at this?
Assignee: nobody → mounir
blocking-fennec1.0: ? → beta+
Assignee | ||
Comment 4•12 years ago
|
||
I can't remember why I stop listening on onDestroy() given that it's done on onStop() too. However, Doug told me he knows what is happening but he was on a hurry so he did not tell me more.
Assignee | ||
Comment 5•12 years ago
|
||
I have no idea why the crash stopped because I doubt they are actually fixed. One of my guess is that I could have caused some and I stopped testing those APIs. My other guess is involving dwarfs and elves...
Attachment #610209 -
Flags: review?(doug.turner)
Comment 6•12 years ago
|
||
Its reappearance in 14.0a1 might be caused by bug 737392. (In reply to Mounir Lamouri (:volkmar) (:mounir) from comment #5) > My other guess is involving dwarfs and elves... I added the illustrious Copperfield to the CCs for an explanation.
Assignee | ||
Comment 7•12 years ago
|
||
Whatever the reasons of the crash could be, the only thing that could be wrong here is if we try to call stop() twice will enableNotifications() has been called. In that case, the second call will crash. GeckoNetworkManager hasn't been designed for that. Given that onDestroy() can't be called without onStop() being called, we can safely remove the call for stop() in onDestroy(). I believe.
Comment 8•12 years ago
|
||
Comment on attachment 610209 [details] [diff] [review] Patch v1 Review of attachment 610209 [details] [diff] [review]: ----------------------------------------------------------------- lets give it a go
Attachment #610209 -
Flags: review?(doug.turner) → review+
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → Firefox 14
Comment 9•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/82c98e0e7d71
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 11•12 years ago
|
||
I cannot reproduce this crash either on Nightly or Aurora. Closing bug as verified fixed. -- Firefox 15.0a1 (2012-05-02), Firefox 14.0a2 (2012-05-01) Device: Samsung Captivate OS: Android 2.2
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•