Closed Bug 1588513 Opened 4 months ago Closed 4 months ago

Crash in [@ java.lang.NullPointerException: at org.mozilla.fenix.browser.BaseBrowserFragment$adjustBackgroundAndNavigate$$inlined$let$lambda$1$1.invokeSuspend(BaseBrowserFragment.kt:5)]

Categories

(GeckoView :: General, defect, critical)

Unspecified
Android
defect
Not set
critical

Tracking

(firefox71 wontfix)

RESOLVED MOVED
Tracking Status
firefox71 --- wontfix

People

(Reporter: marcia, Unassigned)

Details

(Keywords: crash, regression)

Crash Data

This bug is for crash report bp-268ce68d-c8f8-4805-b175-d96c20191012.

Seen while looking at the nightly explosive report: https://bit.ly/2MeQ7xN. This crash started in 10-10 build according to the report, but the build id in Socorro seems to be the same for all devices: 20191004094656.

Although it showed up in Socorro under Fennec, the metadata tab shows it really is Fenix crashing and 71.0a1 version number shouldn't be a version anymore for our fennec nightlies.

Java stack trace:

java.lang.NullPointerException
	at org.mozilla.fenix.browser.BaseBrowserFragment$adjustBackgroundAndNavigate$$inlined$let$lambda$1$1.invokeSuspend(BaseBrowserFragment.kt:5)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:2)
	at kotlinx.coroutines.DispatchedKt.resumeCancellable(Dispatched.kt:17)
	at io.reactivex.plugins.RxJavaPlugins.startCoroutineCancellable(RxJavaPlugins.java:1)
	at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:13)
	at io.reactivex.plugins.RxJavaPlugins.launch(RxJavaPlugins.java:5)
	at io.reactivex.plugins.RxJavaPlugins.launch$default(RxJavaPlugins.java:2)
	at org.mozilla.fenix.browser.BaseBrowserFragment$adjustBackgroundAndNavigate$$inlined$let$lambda$1.invoke(BaseBrowserFragment.kt:2)
	at mozilla.components.browser.engine.gecko.GeckoEngineView$captureThumbnail$1.onValue(GeckoEngineView.kt:2)
	at org.mozilla.geckoview.GeckoResult.lambda$thenInternal$2$GeckoResult(GeckoResult.java:2)
	at org.mozilla.geckoview.-$$Lambda$GeckoResult$gwCgOUK_EYQn2g6GolfZvo6A_WE.run(Unknown Source:8)
	at org.mozilla.geckoview.GeckoResult.lambda$dispatchLocked$3(GeckoResult.java:2)
	at org.mozilla.geckoview.-$$Lambda$GeckoResult$PehjG2jgyDa_p37vZrKrSi2I94s.run(Unknown Source:2)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:6981)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445)
Flags: needinfo?(cpeterson)

Also adding Will to see why this crash may be showing up under Fennec in crash-stats instead of Geckoview.

Flags: needinfo?(willkg)

This crash report has a product id of aa3c5121-dab2-40e2-81ca-7ea25febc110 which is for FennecAndroid, so Socorro rewrites the product name from Fenix to FennecAndroid.

The Fenix product id is eeb82917-e434-4870-8148-5c03d4caa81b.

Flags: needinfo?(willkg)

i've filed a fenix issue for the apparent wrong productid: https://github.com/mozilla-mobile/fenix/issues/6001

There are two other signatures that seem to be similar issues - both showing up in 71 nightly with the same build ID:

I filed a new Fenix issue because this crash is in Fenix code: https://github.com/mozilla-mobile/fenix/issues/6013

Status: NEW → RESOLVED
Closed: 4 months ago
Flags: needinfo?(cpeterson)
Resolution: --- → MOVED

(In reply to Marcia Knous [:marcia - needinfo? me] from comment #4)

There are two other signatures that seem to be similar issues - both showing up in 71 nightly with the same build ID:

This stack trace looks like A-C issue: https://github.com/mozilla-mobile/android-components/issues/3827 , which was closed but I will file a new A-C issue.

This stack trace looks like this A-C issue: https://github.com/mozilla-mobile/android-components/issues/4723

(In reply to Will Kahn-Greene [:willkg] ET needinfo? me from comment #2)

This crash report has a product id of aa3c5121-dab2-40e2-81ca-7ea25febc110 which is for FennecAndroid, so Socorro rewrites the product name from Fenix to FennecAndroid.

The Fenix product id is eeb82917-e434-4870-8148-5c03d4caa81b.

Looks like the product ID {eeb82917-e434-4870-8148-5c03d4caa81b} is hardcoded.
https://searchfox.org/mozilla-central/source/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/CrashReporter.java#48

Is this by design?

You need to log in before you can comment on or make changes to this bug.