Open Bug 1872429 Opened 2 years ago Updated 6 months ago

GeckoRuntime.onShutdown should propagate the exception cause information

Categories

(GeckoView :: General, task, P2)

All
Android
task

Tracking

(Not tracked)

People

(Reporter: jonalmeida, Assigned: owlish)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [gv-perspective-work][fxdroid][geckoview][gv-grab-bag])

When GeckoRuntime.Delegate.onShutdown is called we throw an exception because we get into a broken state with the engine that will put the users into a worse state if we don't crash.

However, the crash information we get from that is unhelpful and does not include the source or reason for the GeckoRuntime shutdown so that we have a better idea of what cause that particular shutdown.

Component: General → Core
Product: Fenix → GeckoView
Component: Core → General
See Also: → 1889652

This should be looked at for prioritization to help stacks such as bug 1889652 have more information. Ideally, we need to get what Gecko exception or thread issue happened to get us into this state.

Relevant code:

Previous metadata change:

Unsetting severity to put this into triage queue.

Severity: N/A → --
Type: enhancement → task
Blocks: 1889652
Severity: -- → N/A
Priority: -- → P2
Whiteboard: [gv-perspective-work]
Blocks: 1969294
Assignee: nobody → bugzeeeeee
Whiteboard: [gv-perspective-work] → [gv-perspective-work][fxdroid][geckoview][gv-grab-bag]
See Also: → 1947326
See Also: → 1983066
You need to log in before you can comment on or make changes to this bug.