sebastianmaqueda / xuggle

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

More crashes #205

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Xuggler crashes when many concurrent RTSP connections openings happen in
the same time.

1)

GDB:
#11 <signal handler called>
#12 0x00002aaace95cb63 in url_open_protocol ()
   from /JavaCore/xuggler/lib/libavformat.so.52
#13 0x00002aaace95cc9f in url_open ()

Java:
Thread 5552: (state = IN_NATIVE)
 - com.xuggle.xuggler.XugglerJNI.IContainer_open__SWIG_0(long,
com.xuggle.xuggle
 - com.xuggle.xuggler.IContainer.open(java.lang.String,
com.xuggle.xuggler.ICont

2)

GDB:
#6  <signal handler called>
#7  0x00002b3481a5a8bb in free () from /lib64/libc.so.6
#8  0x00002aaacc213ebc in av_freep () from /JavaCore/xuggler/lib/libavutil.so
#9  0x00002aaacc4f4efa in MPV_common_end ()
   from /JavaCore/xuggler/lib/libavcodec.so
#10 0x00002aaacc5ce6c0 in ff_h263_decode_end ()
   from /JavaCore/xuggler/lib/libavcodec.so
#11 0x00002aaacc4ade62 in avcodec_close ()
   from /JavaCore/xuggler/lib/libavcodec.so
#12 0x00002aaace95b478 in av_find_stream_info ()
   from /JavaCore/xuggler/lib/libavformat.so.52
#13 0x00002aaace4d50a9 in com::xuggle::xuggler::Container::queryStreamMetaData
    () from /JavaCore/xuggler/lib/libxuggle-xuggler.so.3.2.879

Java:
Thread 5178: (state = IN_NATIVE)
 - com.xuggle.xuggler.XugglerJNI.IContainer_open__SWIG_0(long,
com.xuggle.xuggle
 - com.xuggle.xuggler.IContainer.open(java.lang.String,
com.xuggle.xuggler.ICont

Placing mutex on the RTSP opening seems to solve this issue.

Original issue reported on code.google.com by Stas.Os...@gmail.com on 8 Sep 2009 at 2:02

GoogleCodeExporter commented 8 years ago
Is this still an issue?  Comment and I'll re-open.

Original comment by art.cla...@gmail.com on 16 Jan 2010 at 2:56

GoogleCodeExporter commented 8 years ago
Hi.

Yes it is - I had to limit the concurrent amount to 10, to make it working.

Regards.

Original comment by Stas.Os...@gmail.com on 17 Jan 2010 at 1:58

GoogleCodeExporter commented 8 years ago
And you don't by any chance have nice simple instructions for how to reproduce, 
with
a working Xuggler java program that I can run against some RTP server?

Original comment by art.cla...@gmail.com on 17 Jan 2010 at 4:28

GoogleCodeExporter commented 8 years ago
Hi.

Will try to arrange.

Regards.

Original comment by Stas.Os...@gmail.com on 17 Jan 2010 at 4:30