From owner-freebsd-ports@FreeBSD.ORG Mon Dec 19 22:39:05 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8DA716A41F for ; Mon, 19 Dec 2005 22:39:05 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id B2B2A43D49 for ; Mon, 19 Dec 2005 22:39:03 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 19 Dec 2005 22:39:02 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp016) with SMTP; 19 Dec 2005 23:39:02 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id AA3CFC3C7; Mon, 19 Dec 2005 23:39:03 +0100 (CET) Date: Mon, 19 Dec 2005 23:39:03 +0100 From: Simon Barner To: Charlie Root Message-ID: <20051219223903.GA27343@zi025.glh.mhn.de> References: <20051219231022.Y76170@omega.nanophys.kth.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20051219231022.Y76170@omega.nanophys.kth.se> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: barner@freebsd.org, freebsd-ports@freebsd.org Subject: Re: MPLAYER CRASHES on 6.0 STABLE: Fatal error 'Spinlock called when not threaded.'at line 87 in file/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 22:39:06 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Charlie Root wrote: > How can I debug and find that problematic library? > here it is: You have to look for libraries that are linked against stale versions of (base system) libraries). > /usr/local/lib/libpng.so.5: > libm.so.3 =3D> /lib/libm.so.3 (0x29166000) > libz.so.2 =3D> /lib/libz.so.2 (0x2917e000) This one is bad. (should be linked with libm.so.4 and libz.so.3) > /usr/X11R6/lib/libxmms.so.4: > libgtk12.so.2 =3D> /usr/X11R6/lib/libgtk12.so.2 (0x28ae8000) > libgdk12.so.2 =3D> /usr/X11R6/lib/libgdk12.so.2 (0x28c29000) > libgmodule12.so.3 =3D> /usr/local/lib/libgmodule12.so.3 (0x28c61000) > libgthread12.so.3 =3D> /usr/local/lib/libgthread12.so.3 (0x2918f000) > libglib12.so.3 =3D> /usr/local/lib/libglib12.so.3 (0x28c64000) > libc_r.so.5 =3D> /usr/lib/libc_r.so.5 (0x29192000) > libintl.so.6 =3D> /usr/local/lib/libintl.so.6 (0x28c89000) > libXi.so.6 =3D> /usr/X11R6/lib/libXi.so.6 (0x28c92000) > libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x28c9a000) > libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x28ca8000) > libm.so.3 =3D> /lib/libm.so.3 (0x29166000) This one too. In the latter case, it might be possible that libxmms.so.4 is linked against the wrong version of libm via another variable, so you should check ldd -a /usr/X11R6/lib/libxmms.so.4 and so on. So, you chould check all libaries (at least the ones in /usr/local/lib and /usr/X11R6/lib) and rebuild them. For example. the following might work (untested) for i in /usr/local/bin/*.so; ldd $i | grep libm.so.3 && echo $i >> /tmp/log done; cat /tmp/log | pkg_which | uniq gives you the list of packages that need to be rebuilt. If you do the same for libz.so.2 libc.so.5 libpthread.so and for /usr/X11R6/lib /usr/local/bin /usr/X11R6/bin you have good chances to fix y= our system. Note, that this is not the supported way of doing it (it would have been to forcefully reinstall all ports). --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDpzaGCkn+/eutqCoRAikZAKCbvDa+co3TTBUOcjTHuC5vNO4ICQCeOeDB N7qcAkugBdfVbP3s6oMThGA= =Psrk -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--