Open Bug 1519351 Opened 6 years ago Updated 1 years ago

Deadlock(?) when saving state

Categories

(GeckoView :: General, defect, P2)

All
Android

Tracking

(Not tracked)

People

(Reporter: sebastian, Unassigned)

References

Details

In the reference browser whenever we save the state of a GeckoSession while we are on "about:performance" this save operation blocks indefinitely.

In the current version of the reference browser this blocks our UI thread. After removing this and only saving on the background thread this unblocked the UI thread - but the save operation still freezes up and never completes.

Reference Browser issue:
https://github.com/mozilla-mobile/reference-browser/issues/405

This pretty much kills our session saving since all later save requests get cancelled since one is already ongoing.

Dylan thinks the synchronous saveState API in bug 1475648 will fix this about:performance hang.

P2 for now if this hang only affects about:performance.

OS: All → Android
Priority: -- → P2
Whiteboard: [geckoview:fenix:p2]

I think you meant bug 1463878.

Depends on: 1463878
No longer depends on: arm64-baseline-tests
Hardware: Unspecified → All

I think this doesn't only affect about:performance. But this is a reliable way for us to reproduce this.

Rank: 25
Whiteboard: [geckoview:fenix:p2]

Sebastian, do you think this is still a problem?

Flags: needinfo?(s.kaspari)
Flags: needinfo?(s.kaspari)
Severity: normal → S3
Rank: 25 → 222
Summary: Deadlock(?) when saving state while on about:performance → Deadlock(?) when saving state
You need to log in before you can comment on or make changes to this bug.