Closed Bug 1716850 Opened 2 years ago Closed 2 years ago

[Wayland] ERROR: Potential deadlock detected:

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox89 --- unaffected
firefox90 --- unaffected
firefox91 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

When popup is closed there's a message on debug build:

###!!! ERROR: Potential deadlock detected:
=== Cyclical dependency starts at
--- Mutex : WindowSurfaceWayland lock calling context
[stack trace unavailable]

--- Next dependency:
--- Mutex : MozContainer lock (currently acquired)
calling context
[stack trace unavailable]

=== Cycle completed at
--- Mutex : WindowSurfaceWayland lock calling context
[stack trace unavailable]

Deadlock may happen for some other execution

[Parent 31358, Main Thread] WARNING: Potential deadlock detected:
Cyclical dependency starts at
Mutex : WindowSurfaceWayland lock
Next dependency:
Mutex : MozContainer lock (currently acquired)
Cycle completed at
Mutex : WindowSurfaceWayland lock
Deadlock may happen for some other execution

: file /raid/src3/xpcom/threads/BlockingResourceBase.cpp:247

For the record, issues like these make me even more eager to land bug 1708416 so we can hopefully avoid some complexity involved here.

Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/09e90d1b7c7b
[Wayland] Don't lock WindowSurfaceWayland at WindowSurfaceWayland::Reset(), r=rmader
https://hg.mozilla.org/integration/autoland/rev/8f1b77b41092
[Wayland] Call WindowSurfaceWayland::Reset() from moz_container_wayland_surface_create_locked(), r=rmader
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch

Set release status flags based on info from the regressing bug 1716563

Regressions: 1716796
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.