If pulseaudio is non-responsive, plasmashell hangs
Bug #1694863 reported by
Paul
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
plasmashell |
Unknown
|
High
|
|||
plasma-desktop (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
If pulseaudio is non-responsive or not running for any reason (eg; messing with jack or a device error), pulseaudio will hang, most particularly if you try to adjust the volume. This essentially bricks the system unless you can manage to kill and restart pulseaudio without the plasma/KDE gui's and hotkeys.
KSysGuard and other plasma applications will also hang and crash alongside the shell.
TLDR; plasmashell has a bad blocking condition in it's audio code.
Changed in plasmashell: | |
importance: | Unknown → High |
status: | Unknown → New |
Changed in plasmashell: | |
status: | New → Incomplete |
Changed in plasmashell: | |
status: | Incomplete → New |
Changed in plasmashell: | |
status: | New → Incomplete |
Changed in plasmashell: | |
status: | Incomplete → Unknown |
Changed in plasma-desktop (Ubuntu): | |
status: | New → Opinion |
To post a comment you must log in.
If pulseaudio becomes unresponsive or is in a bad state, plasmashell can hang, leaving the entire graphical system unresponsive unless you can kill and restart pulseaudio.
This condition can occur when messing with jackd or if a device encounters an error or similar condition, of which if the user attempts to adjust the volume or trigger a plasma audio event, plasma will immediately hang indefinitely.
Audio calls need to not be blocking, or should be handled in a sandboxed thread with a timeout, there is no guarantee that they will finish immediately or at all (hence why window's did away with push events).