[Live-devel] Infinite recusion on live555MediaServer
易先生
alphabeta_126 at sina.com
Sun Sep 29 19:54:44 PDT 2019
Hello, i'm working on a HP laptop and my OS is ubuntu 19.10, my live555 version is live.2019.09.18.tar.gz.
I found a infinite recursion when debugging RTSP DESCRIBE on live555MediaServer, and the call stack is:
Thread #1 [live555MediaSer] 12995 [core: 1] (Suspended : Breakpoint)
DynamicRTSPServer::lookupServerMediaSession() at DynamicRTSPServer.cpp:54 0x555555576ae4
GenericMediaServer::removeServerMediaSession() at GenericMediaServer.cpp:58 0x555555577f3f
GenericMediaServer::addServerMediaSession() at GenericMediaServer.cpp:35 0x555555577eba
DynamicRTSPServer::lookupServerMediaSession() at DynamicRTSPServer.cpp:76 0x555555576dc3
GenericMediaServer::removeServerMediaSession() at GenericMediaServer.cpp:58 0x555555577f3f
GenericMediaServer::addServerMediaSession() at GenericMediaServer.cpp:35 0x555555577eba
DynamicRTSPServer::lookupServerMediaSession() at DynamicRTSPServer.cpp:76 0x555555576dc3
RTSPServer::RTSPClientConnection::handleCmd_DESCRIBE() at RTSPServer.cpp:334 0x55555557b2ca
RTSPServer::RTSPClientConnection::handleRequestBytes() at RTSPServer.cpp:761 0x55555557a392
GenericMediaServer::ClientConnection::incomingRequestHandler() at GenericMediaServer.cpp:248 0x5555555785d7
<...more frames...>
-----------------------------------------------------------------------------
In function "DynamicRTSPServer::lookupServerMediaSession", it calls function "DynamicRTSPServer::addServerMediaSession" and in this function it call DynamicRTSPServer::lookupServerMeidaSession again............and the infinite recursion came.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190930/155892c1/attachment.htm>
More information about the live-devel
mailing list