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

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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]
>=20
>=20
> 		Thanks, Tuc
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>=20

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

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

--45Z9DzgjV8m4Oswq--



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