Re: Deadlock in mplayerplug-in 3.50, when 2 embeds want to swap their "src" content.
<[email protected]> Thu, 29 May 2008 08:45:20 +0200
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
Hi Bill
> I found the reaping of children in mplayerplugin to be broken. The
signal
> handler that was disabled should not be turned back on, and instead, this
> should be added to the code, for example, in mypopen():
>
> // Reap any unreaped children...
> int r = 0;
> while ((r = waitpid(-1, NULL, WNOHANG)) > 0) {
> ;
> }
Yes , it seems to work..(there are no zombies) but there is still one thing
I cannot understand.
Why the Mplayer process is launched 4 times in parallel. (but only 2 movies
are embed in the same time)
Could you please use my "test.html" example (it was attached, 2 days ago in
my first post) and take a look?
Moreover, after 30-60 minutes, it still crashes... I don't know why.
This solution is still unstable.. and I really want to have it done :)
Best Regards
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/