Re: Deadlock in mplayerplug-in 3.50, when 2 embeds want to swap their "src" content.

Zbigniew Hołdys <[email protected]> Mon, 02 Jun 2008 22:20:49 +0200
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
Hi
> | ... Ofcourse I am really happy that you have helped me.. I really
> | appreciate your knowledge and your time spended on fixing.
> | Thanks for supporting me.
> |
> | BR
> | Zbigniew
>
> Sounds like you are in a pretty controlled environment. Something you my
> try is adding 'nocache=1' to the embed statement so that the media is
> loaded directly from disk and nothing is cached. Or you might try using
> 'filename' instead of 'src' since filenames are assumed to be local and
> may help with this problem of switching media.
>
> also you could try the mplayerplug-in.conf option 'nomediacache=1' and
> see if that alters anything.
>
> Normally I would not recommend those options for data coming from a
> website, but in this case, they would be proper to use.
>
> Kevin
>   
When I was trying 'nomediacache=1' it was working really weird.. it 
cannot be controlable/changable through "src" param.
It seems like javascripts issues are not working at all. (could you try 
this out?)

My another nightmare is the mplayer orphants ... After my "waitpid(-1, 
NULL, WNOHANG)" implementation (I havn't seen the recent CVS version) 
there are no zombies, but there are alot of up and running mplayers 
instances which are not assigned to the "firefox" process (but are 
binded to the init-root process) and the count is growing.

dagon    24427  0.0  0.1   5772  1156 pts/1    Ss   18:07   0:00  \_ bash
dagon    24465  1.0 42.7 1497884 442216 pts/1  Sl+  18:08   2:40  |   \_ 
/usr/lib/iceweasel/firefox-bin -a firefox
dagon    28575  7.8  1.5  28072 16556 ?        Ss   22:12   0:01  
|       \_ mplayer -wid 0x1c732b8 -x 1280 -y 768 -framedrop -osdlevel 0 
-nojoystick -nocons
dagon    28576  0.0  0.1  15880  1660 ?        S    22:12   0:00  
|           \_ mplayer -wid 0x1c732b8 -x 1280 -y 768 -framedrop 
-osdlevel 0 -nojoystick -no
dagon    24664  0.0  0.1   5772  1156 pts/2    Ss   18:09   0:00  \_ bash
dagon    24510  0.0  0.3  16512  3668 ?        Ss   18:08   0:00 
gnome-screensaver
dagon    27420  0.0  0.0  15932   236 ?        S    18:27   0:00 mplayer 
-wid 0x1c11a3d -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    28183  0.0  0.0  15936   236 ?        S    18:31   0:00 mplayer 
-wid 0x1c13451 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    28907  0.0  0.0  15876   284 ?        S    18:36   0:00 mplayer 
-wid 0x1c16114 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    32211  0.0  0.0  15936   236 ?        S    18:58   0:00 mplayer 
-wid 0x1c20c64 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon     5398  0.0  0.0  15880   288 ?        S    19:36   0:00 mplayer 
-wid 0x1c30287 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon     8702  0.0  0.0  15876   284 ?        S    19:58   0:00 mplayer 
-wid 0x1c3adbf -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    18962  0.0  0.0  15880   284 ?        S    21:08   0:00 mplayer 
-wid 0x1c57bd5 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    19573  0.0  0.0  15876   284 ?        S    21:12   0:00 mplayer 
-wid 0x1c59231 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    21857  0.0  0.0  15940   236 ?        S    21:27   0:00 mplayer 
-wid 0x1c603a1 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    22386  0.0  0.0  15940   236 ?        S    21:31   0:00 mplayer 
-wid 0x1c61db7 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    23105  0.0  0.0  15880   284 ?        S    21:36   0:00 mplayer 
-wid 0x1c64a37 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols
dagon    26511  0.0  0.1  15940  1712 ?        S    21:58   0:00 mplayer 
-wid 0x1c6f487 -x 1280 -y 768 -framedrop -osdlevel 0 -nojoystick 
-noconsolecontrols

Nevertheless. the entire solution is working stable...  thats are my 
last comments.
Zbigniew

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/