MultiThreadedCompositor::destroy_compositing_threads hangs/deadlocks on shutdown or display reconfiguration
Bug #1471909 reported by
Gerry Boland
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Mir development team | ||
0.13 |
Won't Fix
|
High
|
Unassigned | ||
0.14 |
Won't Fix
|
High
|
Unassigned | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Try revision 211 of lp:~unity-team/unity-system-compositor/toggle-cursor2/
The desire was to resize all surfaces to the size of the smallest attached display.
usc::WindowManager implements the mir::shell:
http://
I suspect Threads 8 and Thread 1 are blocking eachother.
Related branches
lp:~vanvugt/mir/fix-1471909
- PS Jenkins bot (community): Approve (continuous-integration)
- Alexandros Frantzis (community): Needs Information
-
Diff: 138 lines (+68/-24)3 files modifiedsrc/server/compositor/multi_threaded_compositor.cpp (+28/-23)
src/server/compositor/multi_threaded_compositor.h (+0/-1)
tests/unit-tests/compositor/test_multi_threaded_compositor.cpp (+40/-0)
lp:~afrantzis/mir/fix-1471909-MultiThreadedCompositor-locking
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
- Alberto Aguirre (community): Approve
- Robert Carr (community): Approve
-
Diff: 181 lines (+58/-38)3 files modifiedsrc/server/compositor/multi_threaded_compositor.cpp (+15/-35)
src/server/compositor/multi_threaded_compositor.h (+3/-3)
tests/unit-tests/compositor/test_multi_threaded_compositor.cpp (+40/-0)
description: | updated |
Changed in mir: | |
status: | Triaged → In Progress |
summary: |
- WM::add_display - trying to resize a surface here causes hang/deadlock - in MultiThreadedCompositor on display reconfiguration (hotplugging) + MultiThreadedCompositor::destroy_compositing_threads hangs/deadlocks on + shutdown or display reconconfiguration |
summary: |
MultiThreadedCompositor::destroy_compositing_threads hangs/deadlocks on - shutdown or display reconconfiguration + shutdown or display reconfiguration |
Changed in mir (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in mir: | |
assignee: | Daniel van Vugt (vanvugt) → Alexandros Frantzis (afrantzis) |
Changed in mir: | |
assignee: | Alexandros Frantzis (afrantzis) → Mir development team (mir-team) |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It should be noted I'm working against this mir branch: https:/ /code.launchpad .net/~andreas- pokorny/ mir/override- orientation/ +merge/ 263638