<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - PulseAudio 10 crashes immediately when needed (dummy output): Assertion 'pthread_mutex_unlock(&m->mutex) == 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101497#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - PulseAudio 10 crashes immediately when needed (dummy output): Assertion 'pthread_mutex_unlock(&m->mutex) == 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101497">bug 101497</a>
from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
<pre>(In reply to erhard_f from <a href="show_bug.cgi?id=101497#c0">comment #0</a>)
<span class="quote">> Anytime when I start an application which relies on PulseAudio it crashes
> immediately.</span >
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>