Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2006 13:34:06 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fatal error 'Spinlock called when not threaded.'
Message-ID:  <20061026173405.GA65119@xor.obsecurity.org>
In-Reply-To: <200610251618.k9PGIvlw073976@himinbjorg.tucs-beachin-obx-house.com>
References:  <200610251618.k9PGIvlw073976@himinbjorg.tucs-beachin-obx-house.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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,
> 
> 	Out of no where I started to get :
> 
> Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/src/lib
> /libpthread/thread/thr_spinlock.c (errno = 0)
> 
> 	On alot of programs. I thought it had to do with GTK/GNOME so I
> did :
> 
>   pkgdb -Ff
>   portupgrade -rf pkg-config\*
> 
> 	as per the 20061014 instructions. I got to ORBit2.0 and it did
> it again. The compile was called as :
> 
> configure:22617: cc -o conftest -O -pipe  -I/usr/local/include  -L/usr/local/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
> 
> and gave :
> 
> Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/src/lib
> /libpthread/thread/thr_spinlock.c (errno = 0)
> 
> 
> 	If I look at all the libraries :
> 
> -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
> 
> 	So I'm stuck now... Help....
> 
> 	My /etc/libmap.conf only does mapping by file, not
> generically  :
> 
> [/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]
> 
> 
> 		Thanks, Tuc
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFQPGNWry0BWjoQKURAt/OAJ4pollvc5q9HRlRs53OeCX3cyPTrwCcD1MW
r3VokUZrJixGOwtnVyVO5nM=
=NRkI
-----END PGP SIGNATURE-----

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