[pulseaudio-discuss] pulseaudio 0.9.7-SVN mutex problem

Tanu Kaskinen tanuk at iki.fi
Thu Oct 11 06:31:47 PDT 2007

On Wed, Oct 10, 2007 at 10:29:55PM -0700, Jim Carter wrote:
> pulseaudio: pulsecore/mutex-posix.c:98: pa_mutex_unlock: Assertion 
> `pthread_mutex_unlock(&m->mutex) == 0' failed.
> Does anyone have any idea what's going on here?

My crystal ball says that you have a Debian version of
libtool, specifically 1.5.22-4 (I think libltdl3-dev is the
exact offending package). If you update it to 1.5.24-1
everything (for small values of everything) will be fine

If you don't like the idea of updating for some reason, try
this patch (it will very likely break when new libtool gets
pushed to your system):

Index: src/daemon/ltdl-bind-now.c
--- src/daemon/ltdl-bind-now.c  (revision 1939)
+++ src/daemon/ltdl-bind-now.c  (working copy)
@@ -139,6 +139,7 @@
     pa_assert_se(lt_dlinit() == 0);       
     pa_assert_se(libtool_mutex = pa_mutex_new(TRUE, FALSE));
+    libtool_lock();
     pa_assert_se(lt_dlmutex_register(libtool_lock, libtool_unlock, libtool_set_error, libtool_get_error) == 0);
 #ifdef PA_BIND_NOW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20071011/6d1a2c19/attachment.pgp>

More information about the pulseaudio-discuss mailing list