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.
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel