[Live-devel] Facing SEG FAULT in live555
Hardik Sangani
hardik.sangani at vvdntech.com
Sun Oct 11 09:12:56 PDT 2015
Hi,
I am facing SEGFAULT in live555 at one stage.
As per below logs i understand when setup received from the client, at the
same time if connection gets reset for that same connection before
processing SETUP request, then segfault is arises.
*parseRTSPRequestString() succeeded, returning cmdName "SETUP",
urlPreSuffix "sb_123_2gdoy/device_457", urlSuffix "track1", CSeq "3",
Content-Length 0, with 0 bytes following the
message.ProxyServerMediaSubsession["H264"]::createNewStreamSource(session
id
3544434108)ProxyRTSPClient["rtsp://192.168.4.11:8552/sb_123_2gdoy/device_457/
<http://192.168.4.11:8552/sb_123_2gdoy/device_457/>"]: lost connection to
server ('errno': 22).
Resetting...ProxyServerMediaSubsession["H264"]::~ProxyServerMediaSubsession()ProxyServerMediaSubsession["PCMU"]::~ProxyServerMediaSubsession()*
fault raises in *OnDemandServerMediaSubsession::getStreamParameters *function
as per the backtrace, can you please have a look at the function and what
possibly could be the reason? this function does not seems to be failsafe
at some places.
following are the backtrace from gdb if that is helpful
#0 0x0000000000000000 in ?? ()
#1 0x000000000042fae0 in
OnDemandServerMediaSubsession::getStreamParameters(unsigned int, unsigned
int, Port const&, Port const&, int, unsigned char, unsigned char, unsigned
int&, unsigned char&, unsigned char&, Port&, Port&, void*&) ()
#2 0x0000000000408ece in
RTSPServer::RTSPClientSession::handleCmd_SETUP(RTSPServer::RTSPClientConnection*,
char const*, char const*, char const*) ()
#3 0x000000000040652f in
RTSPServer::RTSPClientConnection::handleRequestBytes(int) ()
#4 0x0000000000404517 in
GenericMediaServer::ClientConnection::incomingRequestHandler() ()
#5 0x000000000043bad5 in BasicTaskScheduler::SingleStep(unsigned int) ()
#6 0x000000000043ce6c in BasicTaskScheduler0::doEventLoop(char volatile*)
()
#7 0x0000000000403457 in main ()
Thanks
*With Warm Regards,*
Hardik Sangani
VVDN Technologies Pvt Ltd
*Cell : *+91 9176120633* | Skype : hardikjsangani*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20151011/0cd210de/attachment.html>
More information about the live-devel
mailing list