Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 02:08:48 +0100
From:      Melvyn Sopacua <freebsd.stable@melvyn.homeunix.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)
Message-ID:  <200512210208.49166.freebsd.stable@melvyn.homeunix.org>
In-Reply-To: <Pine.GSO.4.43.0512201848330.13148-100000@sea.ntplx.net>
References:  <Pine.GSO.4.43.0512201848330.13148-100000@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 21 December 2005 00:51, Daniel Eischen wrote:
> On Tue, 20 Dec 2005, Melvyn Sopacua wrote:
> > [Switching to Thread 0x8bce400 (LWP 100139)]
> > 0x28a80952 in pthread_testcancel () from /usr/lib/libpthread.so.2
> > (gdb) where
> > #0  0x28a80952 in pthread_testcancel () from /usr/lib/libpthread.so.2
> > #1  0x2a17f52a in playNode ()
> > from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
> > #2  0x2a181a1c in playPlaylist ()
> > from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
> > #3  0x28a722f9 in pthread_create () from /usr/lib/libpthread.so.2
> > #4  0x28b1f367 in _ctx_start () from /lib/libc.so.6
>
> You've probably got things linked to two different versions of
> libpthread.  Please see /usr/ports/UPDATING, section 20050722.

It's a clean install (well, 5.x to a new slice, then recompiled after boot).

But:
cat /var/db/pkg/compat5x-i386-5.4.0.8/+REQUIRED_BY
mplayer-0.99.7_7
nvidia-driver-1.0.8174
opera-8.51.20051114

So, recompiled. gdb looks a bit different, but the problem is the same.
0x28a8135f in pthread_testcancel () from /usr/lib/libpthread.so.2
(gdb) where
#0  0x28a8135f in pthread_testcancel () from /usr/lib/libpthread.so.2
#1  0x28a79d80 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#2  0x00000000 in ?? ()

It's spinning an endless loop, so depending on when you attach or continue and 
send a stop signal, output is different:
0x2a1cd572 in playNode () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
(gdb) where
#0  0x2a1cd572 in playNode () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
#1  0x2a1cfa1c in playPlaylist () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
#2  0x28a722f9 in pthread_create () from /usr/lib/libpthread.so.2
#3  0x28b1f367 in _ctx_start () from /lib/libc.so.6

(gdb) where
#0  0x2a1b3138 in ?? () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
#1  0x2a1cd525 in playNode () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
#2  0x2a1cfa1c in playPlaylist () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
#3  0x28a722f9 in pthread_create () from /usr/lib/libpthread.so.2
#4  0x28b1f367 in _ctx_start () from /lib/libc.so.6

Going to recompile with debug symbols and see if that makes more sense.

Seems like an error in the plugin though.
-- 
Melvyn Sopacua
freebsd.stable@melvyn.homeunix.org

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3



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