Hi Ross, As per your suggestion i have compiled proxyserver in debugging mode, as per the backtrace SEGFAULT is occurring at following line
* rtpGroupsock = createGroupsock(dummyAddr, serverRTPPort);* following are the logs and backtrace from the gdb, parseRTSPRequestString() succeeded, returning cmdName "*SETUP*", urlPreSuffix "*sb_123_2gdoy/device_461*", urlSuffix "track1", CSeq "3", Content-Length 0, with 0 bytes following the message. ProxyServerMediaSubsession["H264"]::createNewStreamSource(session id 118584588) ProxyRTSPClient["rtsp://192.168.8.115:8552*/sb_123_2gdoy/device_461/*"]: lost connection to server ('errno': 22). Resetting... ProxyServerMediaSubsession["H264"]::~ProxyServerMediaSubsession() ProxyServerMediaSubsession["PCMU"]::~ProxyServerMediaSubsession() SIGPIPE is ignoring Opening connection to 192.168.8.115, port 8552... *Here i want to draw your attention to above condition. A SETUP request came from the client, but before it gets processed further connection is dropped somehow, and as per the default behavior proxyserver is resetting the connection. but here i came to know by debugging prints that still client handler is trying to process the same SETUP request. * following are the backtrace logs. Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) backtrace #0 0x0000000000000000 in ?? () #1 0x0000000000446811 in OnDemandServerMediaSubsession::getStreamParameters (this=0x690b00, clientSessionId=118584588, clientAddress=1914849974, clientRTPPort=..., clientRTCPPort=..., tcpSocketNum=-1, rtpChannelId=255 '\377', rtcpChannelId=255 '\377', destinationAddress=@0x7fffffffd320: 1914849974, isMulticast=@0x68cbc0: 0 '\000', serverRTPPort=..., serverRTCPPort=..., streamToken=@0x8a4d10: 0x0) at OnDemandServerMediaSubsession.cpp:153 #2 0x000000000040a76d in RTSPServer::RTSPClientSession::handleCmd_SETUP (this=0x68cb90, ourClientConnection=0x8db9b0, urlPreSuffix=0x7fffffffd640 "sb_123_2gdoy/device_461", urlSuffix=0x7fffffffd710 "track1", fullRequestStr=0x8db9d4 "SETUP rtsp:// 172.31.36.11:8554/sb_123_2gdoy/device_461/track1 RTSP/1.0\r\nTransport: RTP/AVP/UDP;unicast;client_port=12316-12317\r\nCSeq: 3\r\nUser-Agent: Lavf55.13.102\r\n\r\n") at RTSPServer.cpp:1682 #3 0x000000000040810e in RTSPServer::RTSPClientConnection::handleRequestBytes (this=0x8db9b0, newBytesRead=166) at RTSPServer.cpp:1004 #4 0x0000000000404c03 in GenericMediaServer::ClientConnection::incomingRequestHandler (this=0x8db9b0) at GenericMediaServer.cpp:244 #5 0x0000000000404b71 in GenericMediaServer::ClientConnection::incomingRequestHandler (instance=0x8db9b0) at GenericMediaServer.cpp:237 #6 0x000000000045710f in BasicTaskScheduler::SingleStep (this=0x689010, maxDelayTime=0) at BasicTaskScheduler.cpp:153 #7 0x0000000000459cf8 in BasicTaskScheduler0::doEventLoop (this=0x689010, watchVariable=0x0) at BasicTaskScheduler0.cpp:80 #8 0x00000000004037d0 in main (argc=1, argv=0x7fffffffe0a0) at live555ProxyServer.cpp:228 (gdb) Because of addition of debugging prints its showing line no 153, at the function i mentioned earlier in this mail. I hope this is enough information. Please let me know for any additional information. Thanks, *With Warm Regards,* Hardik Sangani VVDN Technologies Pvt Ltd *Cell : *+91 9176120633* | Skype : hardikjsangani* On Mon, Oct 12, 2015 at 12:49 AM, Ross Finlayson <finlay...@live555.com> wrote: > Unfortunately you’re going to have to be a *lot* more specific about where > the segfault is occurring, and why. > > To improve the detail of gdb’s stack traces, I suggest compiling your code > with “-g” (instead of “-O”). > > And, as always, I assume that you’re using the latest version of the > “LIVE555 Streaming Media” code, and have not modified it. > > > Ross Finlayson > Live Networks, Inc. > http://www.live555.com/ > > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel > >
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel