Unexpected error during pthread_mutex_unlock

Toomas Aas toomas.aas at raad.tartu.ee
Wed Apr 9 17:59:43 UTC 2014


Hello!

I am struggling with two applications which refuse to start, giving  
the following error message:

GLib (gthread-posix.c): Unexpected error from C library during  
'pthread_mutex_unlock': Operation not permitted.  Aborting.

One is installed from port multimedia/audacious-3.4.3, the other is  
openxenmanager (http://sourceforge.net/projects/openxenmanager/), an  
application using python and pygtk.

The error message points to glib, of which I have the latest version  
(glib-2.36.3_2).

Is there anything I (being not a developer) can do to overcome this?

Googling around I found a similar issue with another Python  
application (ports/176888), where as a workaround it was suggested to  
remove calls to gtk.gdk.threads_init() from the Python script. I tried  
this approach with OpenXenManager and indeed the application launches  
successfully, but simply locks up when trying to use certain menu  
command. So the application probably needs the threads functionality.

Thanks in advance
-- 
Toomas Aas



More information about the freebsd-questions mailing list