<div dir="ltr">Hi.<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
<br></div></div>
I can't say if this fixes it or not as I don't know how all the code hooks together. But I'm somewhat surprised that this is related to JNI_ONload as from what I saw the problem is caused by a hook executed by the dlopen while the internal dl lock is held - I would not think that JNI_Onload could be executed while inside dlopen.<br>
<font color="#888888">
<br>
David Holmes<br>
</font></blockquote><a href="http://code.google.com/p/xuggle/source/detail?r=1041" target="_blank"></a><br>
</div>Thanks for the analysis.<br><br>The fix indeed didn't prevent the deadlock, but while examing the file, I didn't see there any dlopen calls, only dlsym.<br><br><a href="http://pastie.org/1010923">pastie.org/1010923</a><br>
<br>Does this fact stll acceptable within your current thinking of the deadlock cause, or you see another possible reason in the log file?<br><br>Thanks again.<br></div>