vm_start_mutex use in IcedTeaNPPlugin.cc looks fishy
pcpa at mandriva.com.br
pcpa at mandriva.com.br
Wed May 23 09:46:08 PDT 2012
Deepak Bhole escreveu:
> Hi Martin,
>
> * Martin Olsson <mnemo at minimum.se> [2012-05-23 11:44]:
>> The usage of "vm_start_mutex" in IcedTeaNPPlugin.cc looks buggy to me.
>> Won't each thread just create and lock it's own mutex, thereby voiding the
>> raison d'être of the mutex?
>>
>
> Yep. I just noticed this a couple of days ago myself when trying to
> investigate zombie VMs someone was seeing (though it was unrelated).
I have a patch for it in
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=599
I ended up adding another unrelated patch to the same bug report
by mistake, see the icedtea6-1.8.2-mutex_and_leak.patch
attachment. BTW, there is an issue with the bugzilla, that does
not allow to see text/plain in the browser.
> Haven't gotten around to creating a patch for it, but please feel free
> to. If not, it is still on my list (though not critical since I have
> never seen a bug due to it).
I remember it corrected problems for me, with multiple instances
of jmol, but did not test it without the patch for a long time.
> Cheers,
> Deepak
Paulo
More information about the distro-pkg-dev
mailing list