From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 17:59:43 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16726AAB for ; Wed, 9 Apr 2014 17:59:43 +0000 (UTC) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0A0D18EC for ; Wed, 9 Apr 2014 17:59:42 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 76C8539824 for ; Wed, 9 Apr 2014 20:59:34 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id f7SSWVn6ft7c for ; Wed, 9 Apr 2014 20:59:28 +0300 (EEST) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id A654439878; Wed, 9 Apr 2014 20:59:27 +0300 (EEST) Received: from 76.20.190.90.dyn.estpak.ee (76.20.190.90.dyn.estpak.ee [90.190.20.76]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Wed, 09 Apr 2014 20:59:27 +0300 Message-ID: <20140409205927.34674mspvtn3egmc@webmail.raad.tartu.ee> Date: Wed, 09 Apr 2014 20:59:27 +0300 From: Toomas Aas To: questions@freebsd.org Subject: Unexpected error during pthread_mutex_unlock MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 90.190.20.76 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 17:59:43 -0000 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