[Live-devel] ProxyServerMediaSubsession Segmentation fault

Conchi Abasolo conchi.ap at vaelsys.com
Thu Jan 17 08:59:25 PST 2013


Hello

I'm connecting with a mpeg4 stream over TCP (because i can use UDP), 
using the example live555ProxyServer (using the -t option)
The connection is succesfully and i can see the video transmission, but 
when the backend sends a BYE, the live55ProxyServer crashed after trying 
to close the ProxyServerMediaSubsessions

I would like to know what's triggering this issue and the best solution 
to solve it
Just as a suggestion.... Is it possible that the program was trying to 
use a deleted object or something like?.


Here is the complete log:

./live555ProxyServer -V -t rtsp://usr:pswd@172.31.17.67:554/mpeg4/media.amp

    LIVE555 Proxy Server

    (LIVE555 Streaming Media library version 2013.01.15)

    Opening connection to 172.31.17.67, port 554...

    RTSP stream, proxying the stream
    "rtsp://usr:pswd@172.31.17.67:554/mpeg4/media.amp"

    Play this stream using the URL: rtsp://172.25.6.230:8555/proxyStream

    (We use port 8000 for optional RTSP-over-HTTP tunneling.)

    ...remote connection opened

    Sending request: DESCRIBE
    rtsp://usr:pswd@172.31.17.67:554/mpeg4/media.amp RTSP/1.0

    CSeq: 2

    User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.15)

    Accept: application/sdp

    Received 73 new bytes of response data.

    Received a complete DESCRIBE response:

    RTSP/1.0 401 Unauthorized

    CSeq: 2

    WWW-Authenticate: Basic realm="/"

    Resending...

    Sending request: DESCRIBE
    rtsp://usr:pswd@172.31.17.67:554/mpeg4/media.amp RTSP/1.0

    CSeq: 3

    Authorization: Basic cm9vdDp0aXM=

    User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.15)

    Accept: application/sdp

    Received 857 new bytes of response data.

    Received a complete DESCRIBE response:

    RTSP/1.0 200 OK

    CSeq: 3

    Content-Base: rtsp://172.31.17.67:554/mpeg4/media.amp/

    Content-Type: application/sdp

    Content-Length: 721

    v=0

    o=- 1358442587034508 1358442587034519 IN IP4 172.31.17.67

    s=Media Presentation

    e=NONE

    c=IN IP4 0.0.0.0

    b=AS:300

    t=0 0

    a=control:*

    a=range:npt=now-

    a=mpeg4-iod:
    "data:application/mpeg4-iod;base64,AoDUAE8BAf8DAQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBQkpQZ0FBU1Q0QVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="


    a=isma-compliance:1,1.0,1

    m=video 0 RTP/AVP 96

    b=AS:300

    a=framerate:10.0

    a=control:trackID=1

    a=rtpmap:96 MP4V-ES/90000

    a=fmtp:96 profile-level-id=3;
    config=000001B003000001B5891300000100000001200086C40FA28782168A21

    a=mpeg4-esid:201

    ProxyServerMediaSession["rtsp://172.31.17.67:554/mpeg4/media.amp/"]
    added new "ProxyServerMediaSubsession" for RTP/video/MP4V-ES track

    ProxyServerMediaSubsession["MP4V-ES"]::createNewStreamSource(session
    id 0)

    Initiated: ProxyServerMediaSubsession["MP4V-ES"]

    ProxyServerMediaSubsession["MP4V-ES"]::createNewRTPSink()

    ProxyServerMediaSubsession["MP4V-ES"]::closeStreamSource()

    ProxyServerMediaSubsession["MP4V-ES"]::createNewStreamSource(session
    id 564885010)

    Sending request: SETUP
    rtsp://172.31.17.67:554/mpeg4/media.amp/trackID=1 RTSP/1.0

    CSeq: 4

    Authorization: Basic cm9vdDp0aXM=

    User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.15)

    Transport: RTP/AVP/TCP;unicast;interleaved=0-1

    ProxyServerMediaSubsession["MP4V-ES"]::createNewRTPSink()

    Received 124 new bytes of response data.

    Received a complete SETUP response:

    RTSP/1.0 200 OK

    CSeq: 4

    Session: 0157492160;timeout=60

    Transport: RTP/AVP/TCP;unicast;interleaved=130-131;mode="PLAY"

    ProxyRTSPClient["rtsp://172.31.17.67:554/mpeg4/media.amp/"]::continueAfterSETUP():
    head codec: MP4V-ES; numSubsessions 1

    queue: MP4V-ES

    Sending request: PLAY rtsp://172.31.17.67:554/mpeg4/media.amp/ RTSP/1.0

    CSeq: 5

    Authorization: Basic cm9vdDp0aXM=

    User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.15)

    Session: 0157492160

    Received a complete PLAY response:

    RTSP/1.0 200 OK

    CSeq: 5

    Session: 0157492160

    Range: npt=now-

    RTP-Info: url=trackID=1;seq=29566;rtptime=2487697867

    Sending request: OPTIONS rtsp://172.31.17.67:554/mpeg4/media.amp/
    RTSP/1.0

    CSeq: 6

    Authorization: Basic cm9vdDp0aXM=

    User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.15)

    ProxyServerMediaSubsession["MP4V-ES"]: received RTCP "BYE"

    ProxyServerMediaSubsession["MP4V-ES"]::closeStreamSource()

    Sending request: PAUSE rtsp://172.31.17.67:554/mpeg4/media.amp/
    RTSP/1.0

    CSeq: 7

    Authorization: Basic cm9vdDp0aXM=

    User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.15)

    Session: 0157492160

    ProxyRTSPClient["rtsp://172.31.17.67:554/mpeg4/media.amp/"]: lost
    connection to server ('errno': 22). Resetting...

    ProxyServerMediaSubsession["Hz? -ES"]::closeStreamSource()

    Opening connection to 172.31.17.67, port 554...

    Segmentation fault


Many thanks

Conchi Abasolo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130117/9e93b2ce/attachment-0001.html>


More information about the live-devel mailing list