[pulseaudio-tickets] [Bug 101497] PulseAudio 10 crashes immediately when needed (dummy output): Assertion 'pthread_mutex_unlock(&m->mutex) == 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 20 13:25:41 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101497

--- Comment #2 from Tanu Kaskinen <tanuk at iki.fi> ---
(In reply to erhard_f from comment #0)
> Anytime when I start an application which relies on PulseAudio it crashes
> immediately.

Is this specific to mpv, or are multiple applications crashing in the same way?
The crash could be due to mpv calling pa_threaded_mainloop_unlock() when the
thread doesn't hold the mainloop lock.

Another reason could be that mpv is linked to libpthread-stubs instead of the
normal libpthread implementation. libpthread-stubs has been the reason for
mutex failures in several occasions. What does this command print:

    ldd `which mpv` | grep pthread

I'll attach a patch that should make the crash log a bit more informative. Can
you try it out?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170620/0dbbf052/attachment.html>


More information about the pulseaudio-bugs mailing list