[Live-devel] sigsegv when closing RTSPServer whilst streaming
Piers Hawksley
piers.hawksley at panogenics.com
Tue Jul 9 07:21:26 PDT 2013
When running live.2013.07.03 I get a sigsegv when closing the RTSPServer
whilst streaming.
When running live 555 with debug turned on, if I get:
RTSPClientConnection[0x1c5c80]::handleRequestBytes() read -1 new bytes
(of 10000); terminating connection!
I then get the following and the program closes cleanly:
RTCPInstance[0x1cb318]::~RTCPInstance()
sending BYE
sending RTCP packet
80c80006 a4bb467b d5867269 ccbc382a 75e402cc 0000044a 00175eb0
81cb0001 a4bb467b
If I do not get the '::handleRequestBytes() read -1' debug line I get a
sigsegv as soon as:
rtspServer->close(rtspServer);
is called. For info, rtspServer is created with:
RTSPServer *rtspServer = RTSPServer::createNew(*env, rtspport,
AuthDB, 65);
This sigsegv also occurs with live.2013.06.18 and live.2013.04.05, but
not the previous version we were using (live.2012.04.04). Sorry there's
such a large gap between the versions we have tested. The RTSPServer
constructor / destructor now have fClientConnections and fClientSessions
members, does help locate the issue.
Should I be calling something to close streams prior to calling
rtspServer->close(rtspServer) ?
Best Regards,
Piers Hawksley
More information about the live-devel
mailing list