Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2014 20:59:27 +0300
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        questions@freebsd.org
Subject:   Unexpected error during pthread_mutex_unlock
Message-ID:  <20140409205927.34674mspvtn3egmc@webmail.raad.tartu.ee>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140409205927.34674mspvtn3egmc>