Fatal error 'Spinlock called when not threaded.'

Kris Kennaway kris at obsecurity.org
Thu Oct 26 17:34:10 UTC 2006


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061026/9712aaec/attachment.pgp


More information about the freebsd-questions mailing list