Re: [Live-devel] RTSP proxy server crash on delete with -V option

2024-09-29 Thread Ross Finlayson
OK, thanks. I’ve just installed a new version (2024.09.29) of the code that fixes this. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/liv

Re: [Live-devel] RTSP proxy server crash on delete with -V option

2024-09-27 Thread Андрій Олексійович Радченко
Yes. Something like this: 1) ~ProxyServerMediaSession 2) ~ServerMediaSession //(at this point fProxyRTSPClient is already deleted) 3) deleteAllSubsessions() 4) Medium::close(fSubsessionsHead) ... 5) delete medium 6) ~ProxyServerMediaSubsession 7) envir() << *this << "::~ProxyServerMediaSubsession(

Re: [Live-devel] RTSP proxy server crash on delete with -V option

2024-09-27 Thread Ross Finlayson
Andrey, Thank you for the bug report. I agree that there is probably a bug here, but I don’t like your proposed solution. If a “ProxyServerMediaSession” has been deleted, then nobody should be calling “url()” on it. I.e., the problem is not that code is trying to access an already-deleted “P

[Live-devel] RTSP proxy server crash on delete with -V option

2024-09-27 Thread Андрій Олексійович Радченко
Hello. I tried live555ProxyServer.cpp example and found that if: 1) we start program with -V option 2) there are active proxy streams (not clients, but just get descriptions from rtsp streams); 3) we EXIT from event loop and delete server with *Medium::close()* then it will crash due to access to