Closed Bug 1044771 Opened 10 years ago Closed 8 years ago

crash in java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.webapp.InstallListener@<addr>: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java) when activities are destroyed on stop

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)

34 Branch
ARM
Android
defect

Tracking

(firefox32 unaffected, firefox33 affected, firefox34 affected, firefox35 affected, firefox36 affected, firefox37 affected, firefox38 affected, firefox39 affected, firefox40 affected)

RESOLVED WONTFIX
Tracking Status
firefox32 --- unaffected
firefox33 --- affected
firefox34 --- affected
firefox35 --- affected
firefox36 --- affected
firefox37 --- affected
firefox38 --- affected
firefox39 --- affected
firefox40 --- affected

People

(Reporter: TeoVermesan, Unassigned)

Details

(Keywords: crash, Whiteboard: [WebRuntime])

Crash Data

This bug was filed from the Socorro interface and is 
report bp-e1729d9f-c7dc-49ff-80e0-e35902140728.
=============================================================
Device : LG Nexus 4
OS: Android 4.4.2

Steps to reproduce:
1. Go to Firefox Marketplace
2. Install an app
3. Tap "Done" Button

Expected result:
- After tapping the "Done" button, the page loaded at step 1 is displayed.

Actual result:
- Firefox crashes.

Stacktrace:
ava.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.webapp.InstallListener@42928970
	at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:658)
	at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1461)
	at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:489)
	at org.mozilla.gecko.webapp.EventListener$2.onActivityResult(EventListener.java:197)
	at org.mozilla.gecko.ActivityHandlerHelper.handleActivityResult(ActivityHandlerHelper.java:33)
	at org.mozilla.gecko.GeckoApp.onActivityResult(GeckoApp.java:2313)
	at org.mozilla.gecko.BrowserApp.onActivityResult(BrowserApp.java:1931)
	at android.app.Activity.dispatchActivityResult(Activity.java:5423)
	at android.app.ActivityThread.deliverResults(ActivityThread.java:3347)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2761)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2803)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2238)
	at android.app.ActivityThread.access$800(ActivityThread.java:135)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5001)
	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:785)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
	at dalvik.system.NativeStart.main(Native Method)
Version: Firefox 33 → Firefox 34
Also "Don't keep activities" option is checked.
Component: General → Web Apps
QA Contact: aaron.train
Summary: crash in java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.webapp.InstallListener@<addr>: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java) → crash in java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.webapp.InstallListener@<addr>: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java) when activities are destroyed on stop
Priority: -- → P1
Whiteboard: [WebRuntime]
I am still able to reproduce the crash with "Don't keep activities" option checked using Nexus 4 (Android 4.4)
Crash Signature: [@ java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.webapp.InstallListener@<addr>: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java)] → [@ java.lang.IllegalArgumentException: Receiver not registered: org.mozilla.gecko.webapp.InstallListener@<addr>: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java)] [@ java.lang.IllegalArgumentException: Receiver not registered: org.mozill…
Per bug 1235869, we're going to disable the Android web runtime, so we won't fix this bug in it.

(This is part of a bulk resolution of bugs in the Firefox for Android::Web Apps component, from which I attempted to exclude bugs that are not specific to the runtime, but it's possible that I included one accidentally.  If so, I'm sorry, and please reopen the bug!)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.