<div>Hi Filippo,</div>  <div> </div>  <div>I figured out what causes the crash and why you might want to think about the change in destroy() method for JVLC.java.</div>  <div>Seems whenever destroy is called a second time on the libvlc it causes the jvm to crash from what I could tell in the thread dumps. It will always be called a second time because of the finalize method for the jvlc class.</div>  <div>So in the finalize class you might want to consider detecting if destroy was already called. If not then call the destroy method.</div>  <div> </div>  <div>So for the finalize() method I did this:</div>  <div> </div><FONT color=#3f7f5f size=2>  <div align=left>/*</div>  <div align=left>* (non-Javadoc)</div>  <div align=left>* </div>  <div align=left>* @see java.lang.Object#finalize()</div>  <div align=left>*/</div></FONT><FONT size=2>  <div align=left></FONT><B><FONT color=#7f0055 size=2>protected</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055
 size=2>void</B></FONT><FONT size=2> finalize() </FONT><B><FONT color=#7f0055 size=2>throws</B></FONT><FONT size=2> Throwable {</div>  <div align=left></FONT><B><FONT color=#7f0055 size=2>if</B></FONT><FONT size=2>(!</FONT><FONT color=#0000c0 size=2>beingDestroyed</FONT><FONT size=2>) {</div>  <div align=left>destroy();</div>  <div align=left>}</div>  <div align=left></FONT><B><FONT color=#7f0055 size=2>super</B></FONT><FONT size=2>.finalize();</div>  <div>}</div>  <div> </div>  <div>Seems to work well.</div></FONT>  <div> </div>  <div>Regards,</div>  <div>-Tony<BR><BR><BR><BR><B><I>Filippo Carone <filippo@carone.org></I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Tony Anecito ha scritto:<BR>> Hi Filippo,<BR>> <BR>> Are you going to verify the destroy method logic? I had someone<BR>> verify the method was correct for the 8.6 but somehow the logic since<BR>> then has
 been changed such that destroy will not work.<BR><BR>There was an error actually, which should now be fixed (_destroy was <BR>never called in destroy...).<BR><BR>> There are still issues to be resolved like streaming for<BR>> instance. Have you fixed that yet? I was hoping you would have that<BR>> resolved by now so others can use steaming via the api. I am getting<BR>> more emails from people that want to use the jvlc api but there are a<BR>> few important issues left to resolve like streaming.<BR><BR>If for streaming you mean VLM, I mailed the vlc developer who started <BR>the rework of VLM to check what is the current status of the job. Just <BR>be patient for a few days still.<BR><BR>Cheers,<BR>Filippo<BR><BR>-- <BR>This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/<BR>To unsubscribe, please read http://developers.videolan.org/lists.html<BR><BR></BLOCKQUOTE><BR><p>
      <hr size=1>Be a better Heartthrob. <a href="http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433">Get better relationship answers </a>from someone who knows.<br>Yahoo! Answers - Check it out.