Closed Bug 1002457 Opened 12 years ago Closed 7 years ago

crash in java.lang.IllegalStateException: Already registered HomePanels:Install at org.mozilla.gecko.EventDispatcher.registerListener(EventDispatcher.java)

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

31 Branch
All
Android
defect
Not set
critical

Tracking

(firefox31 affected, firefox32 affected)

RESOLVED WONTFIX
Tracking Status
firefox31 --- affected
firefox32 --- affected

People

(Reporter: aaronmt, Unassigned)

Details

(Keywords: crash)

Crash Data

This bug was filed from the Socorro interface and is report bp-3a1c8493-2bff-482a-91a3-3e2972140427. ============================================================= java.lang.IllegalStateException: Already registered HomePanels:Install at org.mozilla.gecko.EventDispatcher.registerListener(EventDispatcher.java:58) at org.mozilla.gecko.EventDispatcher.registerEventListener(EventDispatcher.java:133) at org.mozilla.gecko.home.HomePanelsManager.init(HomePanelsManager.java:88) at org.mozilla.gecko.GeckoApplication.onCreate(GeckoApplication.java:124) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007) at android.app.LoadedApk.makeApplication(LoadedApk.java:533) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2426) at android.app.ActivityThread.access$1700(ActivityThread.java:145) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5149) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605) at dalvik.system.NativeStart.main(Native Method)
This sounds like a GeckoApplication life-cycle issue. It looks like onCreate is being called multiple times. If this is expected, we should probably add a check to HomePanelsManager.init to check if its already been initialized. rnewman, do you have any insights into what could be happening here?
Flags: needinfo?(rnewman)
I can think of three hypotheses. 1. We have two GeckoApplications, because we have two processes. I don't see how they'd communicate in such a way that it would cause this bug, but maybe there's a way. 2. We're retaining a reference to GeckoApplication, and that's doing something strange. (We do indeed retain references, including in GeckoApplication itself.) 3. Android is buggy.
Flags: needinfo?(rnewman)
Also, all five reports are from the same Samsung/API 19 user.
User comment: "crash on theme uninstall / cyanogenmod 11"
And I can't reproduce this. Recommendation: band-aid based on the log, and watch for problems on non-Cyanogen.
Couple other ROMs in the crash report list, very low crash volume overall.
Crash Signature: [@ java.lang.IllegalStateException: Already registered HomePanels:Install at org.mozilla.gecko.EventDispatcher.registerListener(EventDispatcher.java)] → [@ java.lang.IllegalStateException: Already registered HomePanels:Install at org.mozilla.gecko.EventDispatcher.registerListener(EventDispatcher.java)] [@ java.lang.IllegalStateException: Already registered HomePanels:Install at org.mozilla.gecko.EventDis…
Closing because no crash reported since 12 weeks.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Closing because no crash reported since 12 weeks.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.