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

Kevin DeKorte <[email protected]> Tue, 27 May 2008 07:13:38 -0600
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] wrote:
| Hi!
|
| I've got serious problem, when I am trying to change contents of 2 embeds
| by switching src or using Open(filename),SetFileName()) (in parallel of 2
| different movies).
| In the attachments there is "test.html" which contain reproducable code..
| (it doesn't include sample1.avi and sample2.avi, please apply your own
| sample movies, it doesn't matter)
|
| I was trying to fix it when my suspicious was pointed to one pthread_join
| occurence, but currently I have no idea where the bug is located. :(
|
| Nevertheless, the result is that whole Mozilla UI is just freeze.. (some
| plugin threads are working, mplayer is responding.. but Mozilla and it's
| javascript engine simply not).
| It is 100% reproducable, but sometimes it needs 2-3 itterations..
| (sometimes it is working for even 1-2 minutes, sometimes only 10
seconds is
| enough)
|
| I was using Debian with Gnome, with newest Mplayer, with newest
| Mplayer-Plugin, with newest Firefox... but tested on different platforms,
| with different compilations flags.
|
|
| Please help.
| Zbigniew

Fixed it in CVS... turns out this is a pretty old bug and nobody has
ever hit it. (I'm guessing it is at least 2-3 years old).

Just a flag was not being set properly.

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

iD8DBQFIPAkC6w2kMH0L1dERAkTbAJ0QF2mp16vCY1C5kaygL0oXPTBu8gCfd/7Z
01S9jbk/sMm17alHXT+1qno=
=+U4t
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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/