Re: mplayerplug-in leaving zombies
Kevin DeKorte <[email protected]>
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Forest Bond wrote: > Hi, > > As you may remember, my application uses the mplayer plug-in to display > television channels. I am conducting some testing where my code continuously > changes the television channel on a delay loop. The channel is changed by > calling Stop(), SetURL(), and then Play(). might want to try calling "quit()" instead of stop. As that should kill mplayer where Stop might try to pause the media. Also instead of "SetURL" you might try "Open" or "filename = "tv://x" where x is your channel. > > I find that zombie processes are not being cleaned up properly. I'm also seeing > a hard lock-up on the machine after about 20 minutes or so, although it is not > clear to me that those zombies would cause this. Can you tell me what version of mplayer you are using? Perhaps you need to update you version to make sure that it shuts down properly. > > I see a SIGCHLD signal handler in plugin-threads.cpp, however, it doesn't look > like it is actually being registered. What is the status of this? The SIGCHLD handler was unhooked in 3.45 at request from some other user. Apparently it was causing the browser to crash or other plugins to die in certain situations. Personally I have not seen this, but my usage is pretty basic of the plugin. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHARRx6w2kMH0L1dERAsY6AJ9DpeRWpQRfcGbnHjE9qd3TDo6wbQCdFv+5 ylMwwh4Q08FyiPPlZdRNKFU= =BVzU -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/