alfianrahmn / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

Random Java crash using IContainer #318

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using 5.4 JAR in standalone mode (no Maven nor Ivy). Simply included in 
Wowza app project.
Random fatal Java crash (sometimes it works) using that code :

IContainer container = IContainer.make();
int result = container.open(TiXTVListener.storageDir + "/" + 
params.getString(PARAM1), IContainer.Type.READ, null);
if (result < 0)
  sendResult(client, params, false);
long duration = container.getDuration();
int seconds = (int) (duration / 1000000);
sendResult(client, params, (seconds / 3600) + "," + (seconds % 3600) / 60 + "," 
+ (seconds % 60));

Check generated error log joined.
The crash is not anly about application but complete JVM, either using JDK 7u70 
or 8u25... I'm using Windows Server 2012.

That code in a try/catch Exception change nothing...

Thanks !

Original issue reported on code.google.com by michel.c...@gmail.com on 20 Jan 2015 at 1:34

Attachments:

GoogleCodeExporter commented 8 years ago
Some more informations,

With Windows 7 (dev computer), this error doesn't seem to happen... It's 
exactly the same configuration than production computer.

Best regards.

Original comment by michel.c...@gmail.com on 20 Jan 2015 at 1:36