Page 1 of 1

Android crash in RTSP stream

Posted: 20 Mar 2014 15:35
by deset
Hi,

I'm developing an android app that listens to an UDP stream (using RTSP). When i started this app, about 6 months ago, the playback was almost perfect: it only had a green bar at the bottom. I checked that that issue was already fixed in newest versions of libvlc.

However, the latest versions have a different issue: sometimes the libvlc crashes in the initial buffering of the stream, with the following error:
...
03-20 11:44:43.843: D/VLC(18959): core input: Buffering 63%
03-20 11:44:43.863: D/VLC(18959): live555 demux: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
03-20 11:44:43.863: E/VLC(18959): core input: ES_OUT_RESET_PCR called
03-20 11:44:43.863: D/VLC(18959): core decoder: discarded audio buffer
03-20 11:44:43.863: A/libc(18959): ../../src/input/decoder.c:1326: DecoderPlayVideo: assertion "p_owner->b_first" failed
03-20 11:44:43.863: A/libc(18959): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 31735 (**)
03-20 11:44:43.964: I/DEBUG(160): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-20 11:44:43.964: I/DEBUG(160): Build fingerprint: 'google/occam/mako:4.2/JOP40C/527662:user/release-keys'
03-20 11:44:43.964: I/DEBUG(160): Revision: '11'
03-20 11:44:43.964: I/DEBUG(160): pid: 18959, tid: 31735, name: ** >>> ** <<<
03-20 11:44:43.964: I/DEBUG(160): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
03-20 11:44:44.114: I/DEBUG(160): r0 00000027 r1 deadbaad r2 401be258 r3 00000000
03-20 11:44:44.114: I/DEBUG(160): r4 00000000 r5 77f07d0c r6 76506544 r7 76586f08
03-20 11:44:44.114: I/DEBUG(160): r8 0000052e r9 7252ae04 sl 72e48250 fp 76864c08
03-20 11:44:44.114: I/DEBUG(160): ip 00004000 sp 77f07d08 lr 401910d9 pc 4018d772 cpsr 60000030
03-20 11:44:44.114: I/DEBUG(160): d0 64656c6961662022 d1 6f6365642f74756e
03-20 11:44:44.114: I/DEBUG(160): d2 0000000000000065 d3 0000000000000072
03-20 11:44:44.114: I/DEBUG(160): d4 0000000000000000 d5 7243924072e22440
03-20 11:44:44.114: I/DEBUG(160): d6 00000000400a2ea0 d7 0000000000000000
03-20 11:44:44.114: I/DEBUG(160): d8 0000000000000000 d9 0000000000000000
03-20 11:44:44.114: I/DEBUG(160): d10 0000000043df65e4 d11 0000000000000000
03-20 11:44:44.114: I/DEBUG(160): d12 0000000000000000 d13 0000000000000000
03-20 11:44:44.114: I/DEBUG(160): d14 0000000000000000 d15 0000000000000000
03-20 11:44:44.114: I/DEBUG(160): d16 3fe62e42fee00000 d17 3fa56e5ff7cd8dc6
03-20 11:44:44.114: I/DEBUG(160): d18 3f974c074a362e68 d19 c047069e2aa2aa5b
03-20 11:44:44.114: I/DEBUG(160): d20 c050800000000000 d21 bfc34e892d87a4ea
03-20 11:44:44.114: I/DEBUG(160): d22 3fcc745e0ab0ad85 d23 3fd24aaf828e1369
03-20 11:44:44.114: I/DEBUG(160): d24 3fd99b7c3731d10b d25 3fe5568b9401f367
03-20 11:44:44.114: I/DEBUG(160): d26 3fd55555518f264d d27 3fdb6db6db6fabff
03-20 11:44:44.114: I/DEBUG(160): d28 3fe3333333333303 d29 0000000000000000
03-20 11:44:44.114: I/DEBUG(160): d30 4000000000000000 d31 0000000000000000
03-20 11:44:44.114: I/DEBUG(160): scr 60000093
03-20 11:44:44.114: I/DEBUG(160): backtrace:
03-20 11:44:44.114: I/DEBUG(160): #00 pc 0001a772 /system/lib/libc.so
03-20 11:44:44.114: I/DEBUG(160): #01 pc 00018070 /system/lib/libc.so (abort+4)
03-20 11:44:44.114: I/DEBUG(160): #02 pc 00021641 /system/lib/libc.so (__assert2+60)
...


Any ideas why this is happening? The RTSP server is VLC 2.0.8, running on ubuntu, and streaming an h264 video

Cheers

Re: Android crash in RTSP stream

Posted: 22 Apr 2014 14:47
by Jean-Baptiste Kempf
Try 0.9.3