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)

Michael C. Shultz ringworm01 at gmail.com
Mon Dec 19 14:54:40 PST 2005


On Monday 19 December 2005 14:39, Simon Barner wrote:
> 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).

" portmanager multimedia/mplayer -f  " will forcibly rebuild just the ports
depended on by mplayer and mplayer and may be a simpler solution here....

-Mike



More information about the freebsd-ports mailing list