Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-21 Thread Daniel Eischen
On Wed, 21 Dec 2005, Melvyn Sopacua wrote:

 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).

Please read the UPDATING section.  You have to rebuild all your
ports now that you are using 6.x.  You can't just upgrade firefox
and mplayer plugin.

-- 
DE

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-21 Thread Melvyn Sopacua
On Wednesday 21 December 2005 14:57, Daniel Eischen wrote:
 On Wed, 21 Dec 2005, Melvyn Sopacua wrote:
  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).

 Please read the UPDATING section.  You have to rebuild all your
 ports now that you are using 6.x.  You can't just upgrade firefox
 and mplayer plugin.

I didn't. I built all ports from scratch or used 6-stable packages. I think 
it's an error in mplayer-plugin, unless you tell me it works for you, then 
the only thing that makes sense is the use of nvidia-driver.
-- 
Melvyn Sopacua
[EMAIL PROTECTED]

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-21 Thread Daniel Eischen
On Wed, 21 Dec 2005, Melvyn Sopacua wrote:

 On Wednesday 21 December 2005 14:57, Daniel Eischen wrote:
 
  Please read the UPDATING section.  You have to rebuild all your
  ports now that you are using 6.x.  You can't just upgrade firefox
  and mplayer plugin.

 I didn't. I built all ports from scratch or used 6-stable packages. I think

My apologies.  Your previous email sounded like you had built
ports on 5.x and then upgraded some of them on 6.x  You can
use /etc/libmap.conf to be sure:

libpthread.so   libpthread.so.2
libpthread.so.1 libpthread.so.2

You might want to check /etc/libmap.conf just to make sure
you don't have anything mapped to libpthread.so.1.

 it's an error in mplayer-plugin, unless you tell me it works for you, then
 the only thing that makes sense is the use of nvidia-driver.

That has been a problem in the past, but I thought they released
a newer driver that works correctly with libpthread and libthr.

-- 
DE

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-21 Thread Melvyn Sopacua
On Wednesday 21 December 2005 15:29, Daniel Eischen wrote:

 My apologies.  Your previous email sounded like you had built
 ports on 5.x and then upgraded some of them on 6.x 

Nps. I kept the old /usr/local around as /stable/usr/local to copy over 
configs and apache's webroot, but I don't see how that could've interfered, 
as I didn't add it to my PATH or anything fishy like that.

In fact, I did ldd -a /usr/local/bin/mplayer|grep pthread and it only showed 
libpthread.so.2.


 You might want to check /etc/libmap.conf just to make sure
 you don't have anything mapped to libpthread.so.1.

all .2

  it's an error in mplayer-plugin, unless you tell me it works for you,
  then the only thing that makes sense is the use of nvidia-driver.

 That has been a problem in the past, but I thought they released
 a newer driver that works correctly with libpthread and libthr.

Latest of everything. Portstree last updated Dec 17.
Recompiled mplayer without WITH_NVIDIA didn't make a difference. It just 
doesn't get outof the loop in PlayNode(), but I'm not farmiliar with the 
conditions mentioned therein.
Just trying to figure out if this is a local problem, pthreads problem or that 
the port is broken (with certain combinations).
-- 
Melvyn Sopacua
[EMAIL PROTECTED]

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-20 Thread Melvyn Sopacua
On Tuesday 20 December 2005 23:20, dick hoogendijk wrote:
 On Tue, 20 Dec 2005 22:46:30 +0100

 Melvyn Sopacua [EMAIL PROTECTED] wrote:
  On Tuesday 20 December 2005 22:01, dick hoogendijk wrote:
   On Tue, 20 Dec 2005 21:49:21 +0100
  
   Melvyn Sopacua [EMAIL PROTECTED] wrote:
On Tuesday 20 December 2005 21:36, dick hoogendijk wrote:
 I used to be able to play (windows) mplayer2 files and *.mov
 files with my native mozilla browser and mplayerplug-in
 installed. Lately that does not work anymore. Mozilla just
 crashes, firefox starts up the mplayerplug-in and than stops
 (hangs).
   
Did this start after upgrading firefox to 1.5?
Related:
does:
find /usr/X11R6/include/firefox /usr/X11R6/include/mozilla -type
f \ -print |xargs grep nsPluginThread
   
yield any results?
  
   I can't remember if the firefox upgrade was related. I _do_ upgrade
   both browsers if portupgrade says there is a newer version. I do
   have the latest firefox installed also.
  
   The results for the above find command:
  
   /usr/X11R6/include/mozilla/oji/nsIThreadManager.h:typedef struct
   _nsPluginThread
   nsPluginThread; /usr/X11R6/include/mozilla/oji/nsIThreadManager.h:
   GetCurrentThread(nsPluginThread* *threadID) =
   0; /usr/X11R6/include/mozilla/oji/nsJVMManager.h:
   GetCurrentThread(nsPluginThread* *threadID);
 
  Hmm, so Mozilla still provides compatibility for oji java plugins,
  where firefox doesn't.
  I just took a quick look at mplayerplugin source and can't find any
  references to PRThread. The plugin uses the provided top-level
  interfaces. Did you recompile the plugin?

 I recompiled mozilla, firefox and the plugin I recompiled a couple of
 times. To no use. Mozilla just crashes, firefox shows the
 plugin-window and does nothing. I never used the option without-gui
 btw.

  I just installed it and it doesn't really work for me (opens a new
  window iso playing in the designated space, probably because I didn't
  compile mplayer using WITHOUT_GUI), but doesn't crash anything either.
  I tried the apple movie trailers.

 Yeah, only difference it that when I try to open an movie trailer,
 mozilla coredumps and firefox stops with a blank plugin-window. Hope
 that somebody knows how to solve this. I liked mplayerplug-in very
 much. It seems the only way to have some multimedia with
 mozilla/firefox. Plus, it *used* to work ;-(

Well, I know now that my mplayer/.config was the cause of it not playing in 
it's own space. I used vo=gl2,xv. xv is the one that plays in the designated 
space.

However, I've got problems too, if I use the stop command or go to another 
page while the plugin is still loaded - gdb shows:

Url: http://www.apple.com/trailers/fox/x3/
Action: click one of the HD teasers then click stop:

[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

Url: http://www.apple.com/trailers/fox/x3/
Action: click medium on the 'normal' trailers, play it, stop if you want, then 
click backbutton:
[Switching to Thread 0x8901800 (LWP 100094)]
0x28a822bb in __error () from /usr/lib/libpthread.so.2
(gdb) where
#0  0x28a822bb in __error () from /usr/lib/libpthread.so.2
#1  0x28a80905 in pthread_testcancel () from /usr/lib/libpthread.so.2
#2  0x2a17f52a in playNode () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
#3  0x2a181a1c in playPlaylist () 
from /usr/X11R6/lib/browser_plugins/mplayerplug-in-qt.so
#4  0x28a722f9 in pthread_create () from /usr/lib/libpthread.so.2
#5  0x28b1f367 in _ctx_start () from /lib/libc.so.6

-- 
Melvyn Sopacua
[EMAIL PROTECTED]

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-20 Thread Daniel Eischen
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.

-- 
DE

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-20 Thread Melvyn Sopacua
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  0x 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
[EMAIL PROTECTED]

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-plugin/firefox/mozilla and pthread_testcancel (Was: Re: advice please)

2005-12-20 Thread Melvyn Sopacua
On Wednesday 21 December 2005 02:08, Melvyn Sopacua wrote:
 On Wednesday 21 December 2005 00:51, Daniel Eischen wrote:
  On Tue, 20 Dec 2005, Melvyn Sopacua wrote:
 Seems like an error in the plugin though.

Source directories 
searched: /work/usr/ports/www/mplayer-plugin/work/mplayerplug-in:$cdir:$cwd
(gdb) where
#0  0x28a808ad in pthread_testcancel () from /usr/lib/libpthread.so.2
#1  0x2a1d40d2 in playNode (local_td=0x8b7ed00, local_list=0x8dad000,
local_url=0xbf1f5770 
http://movies.apple.com/movies/wb/v_for_vendetta/v_for_vendetta-tlr2_h480.mov;,
 
local_mmsstream=0, usefps=0xbf1f5754, nomouseinput=0xbf1f5750, 
maybeplaylist=0xbf1f574c)
at Source/plugin-threads.cpp:765


Source/plugin-thread.cpp/756:
while (1) {

It never reaches a condition to break outof that and that's quite a loop. 
mplayer isn't even there anymore...
-- 
Melvyn Sopacua
[EMAIL PROTECTED]

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]