Bug 380411 - Plasmashell hangs waiting for audio
Summary: Plasmashell hangs waiting for audio
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-01 00:42 UTC by Paul
Modified: 2020-12-10 03:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
stacktrace of plasmashell (21.90 KB, text/plain)
2017-06-28 22:16 UTC, Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2017-06-01 00:42:51 UTC
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).
Comment 1 David Edmundson 2017-06-01 08:04:39 UTC
If it is hanging, can you get us a backtrace of it blocking please.
Comment 2 Christoph Feck 2017-06-14 15:16:17 UTC
If you can provide the information requested in comment #1, please add it.

You can interrupt gdb while plasmashell hangs to get the backtrace. Without this information, we have to assume that it is some upstream component that blocks.
Comment 3 Christoph Feck 2017-06-28 19:29:42 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Paul 2017-06-28 22:16:33 UTC
Created attachment 106365 [details]
stacktrace of plasmashell

sorry, had been busy with other things to be bricking my system again...
Comment 5 Christoph Feck 2017-07-17 16:15:22 UTC
Thanks for the update; changing status.

I cannot see a cause for a freeze in the trace, but maybe plasma-pa developers have an idea where Plasma does blocking calls to pulseaudio.
Comment 6 Justin Zobel 2020-12-04 03:39:10 UTC
Thank you for the report, Paul.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 7 Paul 2020-12-10 03:08:23 UTC
I no-longer have the system, or a system that can reproduce it, so I guess we'll just close this report...