Closed Bug 1766278 Opened 3 years ago Closed 2 years ago

java.lang.RuntimeException: GeckoRuntime is shutting down

Categories

(GeckoView :: General, defect, P5)

Firefox 101
ARM64
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1771978

People

(Reporter: skhan, Unassigned)

References

Details

(Keywords: crash)

java.lang.RuntimeException: GeckoRuntime is shutting down
at mozilla.components.browser.engine.gecko.GeckoEngine$$ExternalSyntheticLambda19.onShutdown
at org.mozilla.geckoview.GeckoRuntime$1.handleMessage(GeckoRuntime.java:3)
at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:2)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8633)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1133)

On shutdown: The runtime is shutting down (possibly because of an unrecoverable error state). We crash the app here for two reasons:
- We want to know about those unsolicited shutdowns and fix those issues.
- We can't recover easily from this situation. Just continuing will leave us with an engine that
doesn't do anything anymore.

Sarah, do you have more detailed steps to reproduce this exception? Do you need to load a specific web page?

The severity field is not set for this bug.
:amoya, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(amoya)

Setting severity S3 to appease the Relman bot, but leaving priority unset so this bug stays in GV's triage list.

Severity: -- → S3
Flags: needinfo?(amoya)

Sarah says she hasn't seen this crash herself; we have crash reports in Sentry, for example:

https://sentry.io/organizations/mozilla/issues/3231240703

Sentry query:

https://sentry.io/organizations/mozilla/issues/?project=6295546&query=is%3Aunresolved+level%3Afatal+GeckoRuntime+is+shutting+down&statsPeriod=14d

Setting priority to P5 because, AFAIK, this crash only affects GVE, only happens during shutdown, and we only have a few dozen Sentry reports over the last month.

Keywords: crash
Priority: -- → P5
See Also: → 1804342

This bug is a duplicate of bug 1771978. I resolved that bug as WORKSFORME months ago, but I'll reopen it because we're still receiving crash reports.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1771978
Resolution: --- → DUPLICATE
Component: GeckoViewExample → General
You need to log in before you can comment on or make changes to this bug.