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)
Simon Barner
barner at FreeBSD.org
Mon Dec 19 14:39:06 PST 2005
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 => /lib/libm.so.3 (0x29166000)
> libz.so.2 => /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 => /usr/X11R6/lib/libgtk12.so.2 (0x28ae8000)
> libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x28c29000)
> libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 (0x28c61000)
> libgthread12.so.3 => /usr/local/lib/libgthread12.so.3 (0x2918f000)
> libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x28c64000)
> libc_r.so.5 => /usr/lib/libc_r.so.5 (0x29192000)
> libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28c89000)
> libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x28c92000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28c9a000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28ca8000)
> libm.so.3 => /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 your
system.
Note, that this is not the supported way of doing it (it would have been to
forcefully reinstall all ports).
--
Best regards / Viele Grüße, barner at FreeBSD.org
Simon Barner barner at gmx.de
-------------- 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-ports/attachments/20051219/9711804f/attachment.bin
More information about the freebsd-ports
mailing list