<div dir="ltr">Hi again.<br><br>First of all, thanks for the all help.<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;">
<br>
We start in Java, try to load a native library and enter the dynamic linker. That in turn causes native code in libxuggle-xuggler-io.3 to run which tries to invoke Java code: com::xuggle::ferry::Logger::getStaticLogger<br>
<br>
If this is done while holding a lock in the dynamic linker then we will deadlock if any other thread tries to acquire that lock and a safepoint is trigerred - which in the above case is done by the thread holding that lock.<br>
<br></blockquote></div><br>I posted this issue to Xuggler list, and Xuggler developer/founder Art quickly posted a possible fix. He is not 100% sure it solves it, and my own Java/native skills are not so great to validate it (other then actually using is and finding out if it really helped, which I'm doing), so I will very appreciate if you could give a quick look to fix and give your verdict.<br>
<br>Here is the diff:<br><br><a href="http://code.google.com/p/xuggle/source/detail?r=1041">http://code.google.com/p/xuggle/source/detail?r=1041</a><br><br>Thanks in advance!<br></div>