[Live-devel] Pipelined request Seg Fault

Geoff Cleary gcleary at sightlogix.com
Mon Sep 17 12:27:07 PDT 2007


> This problem caused the sever to seg fault.
> 
> This is the first time you've mentioned a seg fault.  If that
> happens, then there's definitely a bug in the server code.
> 
> Please add
> 	#define DEBUG 1
> to the start of "RTSPServer.cpp", and recompile.  This will generate
> debugging output.  Then try to reproduce the problem that's causing
> the crash, then please send us the debugging output.
> --
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

Ross

Attached is the command line log as you requested.

The client sends two Describes on the same rtsp connection:
DESCRIBE rtsp://192.168.50.123:554/mpeg4/1/media.amp/trackID=1 RTSP/1.0
CSeq: 1
Authorization: Basic c2lnaHRsb2dpeDpwdXNoMmVkZw==

DESCRIBE rtsp://192.168.50.123:554/mpeg4/2/media.amp/trackID=1 RTSP/1.0
CSeq: 2
Authorization: Basic c2lnaHRsb2dpeDpwdXNoMmVkZw==

The Response is:
RTSP/1.0 200 OK
CSeq: 1
Date: Mon, Sep 17 2007 18:58:20 GMT
Content-Base: rtsp://192.168.50.123/mpeg4/1/media.amp/
Content-Type: application/sdp
Content-Length: 532

v=0
o=- 1190055486773173 1 IN IP4 192.168.50.123
s=Video Stream 1
i=SightLogix Intelligent Surveillance Camera
t=0 0
a=tool:LIVE555 Streaming Media v2006.12.31
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Video Stream 1
a=x-qt-text-inf:SightLogix Intelligent Surveillance Camera
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96
profile-level-id=245;config=000001B0F5000001B50D4F000001000000012008C4F80815
8BA98514041E1498000001B2656D347620342E352E302E3300C6FF
a=control:track1

And the client sends:
SETUP rtsp://192.168.50.123:554/mpeg4/1/media.amp/trackID=1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=15020-15021

The log shows that the second describe causes parseRTSPRequestString()to be
called with a pointer to the first DESCRIBE.

Thanks for looking at this,
Geoff
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SegFaultLog.txt
Url: http://lists.live555.com/pipermail/live-devel/attachments/20070917/10127e0c/attachment.txt 


More information about the live-devel mailing list