Unity8 deadlock when trying to screenshot without a current gst registry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Michał Sawicz | ||
Clutter GStreamer Bindings |
Fix Released
|
Medium
|
|||
clutter-gst-3.0 (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
qtmir (Ubuntu) |
Fix Released
|
High
|
Albert Astals Cid | ||
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding unity8. This problem was most recently seen with version 8.11+16.
Inspecting gst-clutter causes it to try and connect to the display server. When it's unity8 that triggered the registry update, registry generation blocks while gst-clutter tries to connect back to unity8. That results in a deadlock, because we're unable to answer the authorization challenge because we're blocked by the registry generation.
This is a bug in either gst-clutter or libclutter (filed upstream), but we should try and make sure that we don't block on this either.
To reproduce:
- log in to unity8
- rm ~/.cache/
- press PrtScr to get a screenshot
- deadlock
To recover:
- run gst-inspect-1.0 somewhere
Related branches
- Gerry Boland (community): Approve
- Unity8 CI Bot (community): Approve (continuous-integration)
-
Diff: 607 lines (+133/-75)6 files modifiedsrc/modules/Unity/Application/application.cpp (+0/-27)
src/modules/Unity/Application/application.h (+0/-4)
src/modules/Unity/Application/application_manager.cpp (+120/-36)
src/modules/Unity/Application/application_manager.h (+12/-0)
src/modules/Unity/Application/taskcontroller.cpp (+1/-6)
src/modules/Unity/Application/taskcontroller.h (+0/-2)
affects: | unity8 (Ubuntu) → qtmultimedia-opensource-src (Ubuntu) |
description: | updated |
description: | updated |
description: | updated |
Changed in canonical-devices-system-image: | |
assignee: | nobody → John McAleely (john.mcaleely) |
milestone: | none → backlog |
status: | New → Confirmed |
no longer affects: | qtmultimedia-opensource-src (Ubuntu) |
summary: |
- /usr/bin/unity8:6:__GI_ppoll:ppoll:gst_poll_wait:exchange_packets:plugin_loader_free + inspecting clutter plugin hangs outside X11 |
description: | updated |
description: | updated |
Changed in clutter-gst-3.0 (Ubuntu): | |
importance: | Undecided → High |
Changed in clutter-gst-3.0 (Ubuntu): | |
assignee: | nobody → John McAleely (john.mcaleely) |
status: | Confirmed → Triaged |
Changed in clutter-gst-3.0 (Ubuntu): | |
assignee: | John McAleely (john.mcaleely) → nobody |
Changed in canonical-devices-system-image: | |
assignee: | John McAleely (john.mcaleely) → nobody |
Changed in canonical-devices-system-image: | |
milestone: | backlog → u8c-1 |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Michał Sawicz (saviq) |
summary: |
- inspecting clutter plugin hangs outside X11 + Unity8 deadlock when trying to screenshot without a current gst registry |
description: | updated |
Changed in clutter-gst-3.0 (Ubuntu): | |
status: | Triaged → New |
importance: | High → Undecided |
Changed in qtmir (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Gerry Boland (gerboland) |
description: | updated |
Changed in canonical-devices-system-image: | |
milestone: | u8c-1 → u8c-2 |
milestone: | u8c-2 → u8c-z |
Changed in clutter-gst: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
tags: | added: unity8-desktop |
Changed in canonical-devices-system-image: | |
status: | Triaged → In Progress |
Changed in qtmir (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | Gerry Boland (gerboland) → Albert Astals Cid (aacid) |
Changed in clutter-gst-3.0 (Ubuntu): | |
importance: | Undecided → High |
Changed in clutter-gst: | |
status: | Confirmed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.