From owner-freebsd-questions@FreeBSD.ORG Thu Oct 26 22:33:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B063B16A47C for ; Thu, 26 Oct 2006 22:33:33 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9B3843D53 for ; Thu, 26 Oct 2006 22:33:32 +0000 (GMT) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (dpc6747145123.direcpc.com [67.47.145.123]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id k9QMXIdN084305; Thu, 26 Oct 2006 18:33:29 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.6/8.13.6) with ESMTP id k9QMXBEv083400; Thu, 26 Oct 2006 18:33:12 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.6/8.13.6/Submit) id k9QMX9HI083398; Thu, 26 Oct 2006 18:33:09 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200610262233.k9QMX9HI083398@himinbjorg.tucs-beachin-obx-house.com> To: kris@obsecurity.org (Kris Kennaway) Date: Thu, 26 Oct 2006 18:33:09 -0400 (EDT) In-Reply-To: <20061026173405.GA65119@xor.obsecurity.org> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "Tuc at T-B-O-H.NET" , freebsd-questions@freebsd.org Subject: Re: Fatal error 'Spinlock called when not threaded.' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 22:33:33 -0000 Hi, Thanks... Any idea where to look for the answer? I did find references, but to "UPDATING" that didn't exist. Wondered how all of a sudden items I haven't recompiled in a while started having it. Thanks, Tuc > > This is a FAQ; you have something linked to two thread libraries. > > Kris > > On Wed, Oct 25, 2006 at 12:18:57PM -0400, Tuc at T-B-O-H.NET wrote: > > Hi, > >=20 > > Out of no where I started to get : > >=20 > > Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/= > src/lib > > /libpthread/thread/thr_spinlock.c (errno =3D 0) > >=20 > > On alot of programs. I thought it had to do with GTK/GNOME so I > > did : > >=20 > > pkgdb -Ff > > portupgrade -rf pkg-config\* > >=20 > > as per the 20061014 instructions. I got to ORBit2.0 and it did > > it again. The compile was called as : > >=20 > > configure:22617: cc -o conftest -O -pipe -I/usr/local/include -L/usr/lo= > cal/lib > > conftest.c -pthread -Wl,--export-dynamic -L/usr/local/lib -lgobject-2.0 = > -lgthre > > ad-2.0 -lgmodule-2.0 -lglib-2.0 -liconv >&5 > >=20 > > and gave : > >=20 > > Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/= > src/lib > > /libpthread/thread/thr_spinlock.c (errno =3D 0) > >=20 > >=20 > > If I look at all the libraries : > >=20 > > -lgobject-2.0 : New as of Oct 25 09:53 > > -lgthread-2.0 : New as of Oct 25 09:53 > > -lgmodule-2.0 : New as of Oct 25 09:53 > > -lglib-2.0 : New as of Oct 25 09:53 > >=20 > > So I'm stuck now... Help.... > >=20 > > My /etc/libmap.conf only does mapping by file, not > > generically : > >=20 > > [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] > > [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so] > > [/usr/local/Acrobat7/Browser/intellinux/nppdf.so] > > [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so] > > [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so] > > [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so] > > [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so] > > [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so] > > [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so]