Closed Bug 1358243 Opened 7 years ago Closed 7 years ago

Nightly/Aurora crashes: Seemingly unmatched Snackbar:Show EventDispatcher.unregisterListener/registerListener calls

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Android
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mccr8, Unassigned)

Details

(Keywords: crash)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-0f877abd-4bef-4798-9b2b-fe76f0170420.
=============================================================

21 crashes in the last week on 54 and 55, from 14 installations, so reasonably high volume for Android.
I also see a corresponding, but less frequent issue, where we apparently attempt to register the listener for a second time without having it unregistered some time beforehand. Strangely enough, at a cursory glance the register/unregister calls do seem to be matched up in onPause/onResume of GeckoApp and GeckoPreferences [1], though.

Also, I'm not sure if I've searched correctly [2], but all of the crashes seem to happen in BrowserApp, i.e. I didn't find any stack traces referencing GeckoPreferences/CustomTabsActivity/WebAppActivity.

[1] https://dxr.mozilla.org/mozilla-central/search?q=path%3Amobile+Snackbar%3AShow&redirect=false
[2] Compare https://crash-stats.mozilla.com/search/?java_stack_trace=%21BrowserApp.java&signature=Snackbar%3AShow&product=FennecAndroid&date=%3E%3D2016-10-21T09%3A25%3A10.000Z&date=%3C2017-04-21T09%3A25%3A10.000Z&_sort=-date&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#facet-signature - all I see is "Callback has already been executed"-style crashes.
Crash Signature: [@ java.lang.IllegalArgumentException: Snackbar:Show was not registered at org.mozilla.gecko.EventDispatcher.unregisterListener(EventDispatcher.java)] → [@ java.lang.IllegalArgumentException: Snackbar:Show was not registered at org.mozilla.gecko.EventDispatcher.unregisterListener(EventDispatcher.java)] [@ java.lang.IllegalStateException: Already registered Snackbar:Show at org.mozilla.gecko.EventDispatch…
Summary: Crash in java.lang.IllegalArgumentException: Snackbar:Show was not registered at org.mozilla.gecko.EventDispatcher.unregisterListener(EventDispatcher.java) → Nightly/Aurora crashes: Seemingly unmatched Snackbar:Show EventDispatcher.unregisterListener/registerListener calls
Bug 1393128 should have fixed this by moving the Snackbar handler to GeckoApplication.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.