[Live-devel] openRTSP crash with -P

Martijn van den Broek mjbroek at gmail.com
Mon Mar 24 02:44:16 PDT 2014


Hello,

I'm getting a segfault after x seconds (whatever is in -P) when running
openRTSP. This seem to only happen when I pass the -P parameter together
with -4 (or -i or -q).

Ive build the openRTSP from the live555-latest.tar.gz from 17 of march on
Ubuntu 12.04.3 64bit connecting to a Foscam FI9805W camera.

Any idea what goes wrong? Let me know how I can provide more debug
information.


(gdb) run -P 10 -4 -v -b 1000000 -w 1280 -h 960 -f 10 rtsp://
cam:cam at 192.168.16.31:88/videoMain
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /mnt/stuff/home/martijn/src/live/testProgs/openRTSP -P 10
-4 -v -b 1000000 -w 1280 -h 960 -f 10 rtsp://
cam:cam at 192.168.16.31:88/videoMain
Opening connection to 192.168.16.31, port 88...
...remote connection opened
Sending request: OPTIONS rtsp://cam:cam@192.168.16.31:88/videoMain RTSP/1.0
CSeq: 2
User-Agent: /mnt/stuff/home/martijn/src/live/testProgs/openRTSP (LIVE555
Streaming Media v2014.03.18)


Received 152 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Mon, Mar 24 2014 09:26:45 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER,
SET_PARAMETER


Sending request: DESCRIBE rtsp://cam:cam@192.168.16.31:88/videoMain RTSP/1.0
CSeq: 3
User-Agent: /mnt/stuff/home/martijn/src/live/testProgs/openRTSP (LIVE555
Streaming Media v2014.03.18)
Accept: application/sdp


Received 175 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
Date: Mon, Mar 24 2014 09:26:45 GMT
WWW-Authenticate: Digest realm="LIVE555 Streaming Media",
nonce="a620b479ced20fa51d971cca1c6702f8"


Resending...
Sending request: DESCRIBE rtsp://cam:cam@192.168.16.31:88/videoMain RTSP/1.0
CSeq: 4
Authorization: Digest username="cam", realm="LIVE555 Streaming Media",
nonce="a620b479ced20fa51d971cca1c6702f8", uri="rtsp://
cam:cam at 192.168.16.31:88/videoMain",
response="b6c53b448696f7a2f8a1adccb7a80490"
User-Agent: /mnt/stuff/home/martijn/src/live/testProgs/openRTSP (LIVE555
Streaming Media v2014.03.18)
Accept: application/sdp


Received 670 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 4
Date: Mon, Mar 24 2014 09:26:45 GMT
Content-Base: rtsp://192.168.16.31:65534/videoMain/
Content-Type: application/sdp
Content-Length: 500

v=0
o=- 1395574381238165 1 IN IP4 192.168.1.233
s=IP Camera Video
i=videoMain
t=0 0
a=tool:LIVE555 Streaming Media v2013.01.25
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:IP Camera Video
a=x-qt-text-inf:videoMain
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:96
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==
a=control:track1
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
b=AS:64
a=control:track2

Opened URL "rtsp://cam:cam@192.168.16.31:88/videoMain", returning a SDP
description:
v=0
o=- 1395574381238165 1 IN IP4 192.168.1.233
s=IP Camera Video
i=videoMain
t=0 0
a=tool:LIVE555 Streaming Media v2013.01.25
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:IP Camera Video
a=x-qt-text-inf:videoMain
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:96
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==
a=control:track1
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
b=AS:64
a=control:track2

Created receiver for "video/H264" subsession (client ports 43534-43535)
Ignoring "audio/PCMU" subsession, because we've asked to receive a single
video session only
Sending request: SETUP rtsp://192.168.16.31:65534/videoMain/track1 RTSP/1.0
CSeq: 5
Authorization: Digest username="cam", realm="LIVE555 Streaming Media",
nonce="a620b479ced20fa51d971cca1c6702f8", uri="rtsp://
192.168.16.31:65534/videoMain/", response="95bdf51c465616b26ff93b1bde08a5e4"
User-Agent: /mnt/stuff/home/martijn/src/live/testProgs/openRTSP (LIVE555
Streaming Media v2014.03.18)
Transport: RTP/AVP;unicast;client_port=43534-43535


Received 205 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Mon, Mar 24 2014 09:26:45 GMT
Transport:
RTP/AVP;unicast;destination=192.168.16.22;source=192.168.16.31;client_port=43534-43535;server_port=6970-6971
Session: 1017CD45


Setup "video/H264" subsession (client ports 43534-43535)
Outputting to the file: "output-00000-00010.mp4"
Sending request: PLAY rtsp://192.168.16.31:65534/videoMain/ RTSP/1.0
CSeq: 6
Authorization: Digest username="cam", realm="LIVE555 Streaming Media",
nonce="a620b479ced20fa51d971cca1c6702f8", uri="rtsp://
192.168.16.31:65534/videoMain/", response="8e2bfca1c423739d325c08057d511fc4"
User-Agent: /mnt/stuff/home/martijn/src/live/testProgs/openRTSP (LIVE555
Streaming Media v2014.03.18)
Session: 1017CD45
Range: npt=0.000-


Received 253 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Mon, Mar 24 2014 09:26:45 GMT
Range: npt=0.000-
Session: 1017CD45
RTP-Info: url=rtsp://
192.168.16.31:65534/videoMain/track1;seq=4855;rtptime=710532019,url=rtsp://192.168.16.31:65534/videoMain/track2;seq=0;rtptime=0


Started playing session
Receiving streamed data (signal with "kill -HUP 24716" or "kill -USR1
24716" to terminate)...

Program received signal SIGSEGV, Segmentation fault.
0x0000000000428f60 in FramedSource::stopGettingFrames() ()
(gdb) bt
#0  0x0000000000428f60 in FramedSource::stopGettingFrames() ()
#1  0x0000000000425024 in QuickTimeFileSink::~QuickTimeFileSink() ()
#2  0x00000000004250a9 in QuickTimeFileSink::~QuickTimeFileSink() ()
#3  0x0000000000403141 in closeMediaSinks() ()
#4  0x0000000000404a55 in periodicFileOutputTimerHandler(void*) ()
#5  0x0000000000449d2b in AlarmHandler::handleTimeout() ()
#6  0x0000000000447ec9 in BasicTaskScheduler::SingleStep(unsigned int) ()
#7  0x000000000044961c in BasicTaskScheduler0::doEventLoop(char*) ()
#8  0x0000000000402391 in main ()
(gdb)


-- 
Martijn van den Broek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140324/823c001a/attachment.html>


More information about the live-devel mailing list