Hi Ross;
I am sorry to take so long to reply. I was testing the my code in linux (ubuntu 32 bits) and this problem doesn't happen at all. As I said before, this may be something related to VS2013. I copied the call stack from VS and this is shown below. ******* > server.exe!MediaSubsession::codecName() Line 165 C++ server.exe!ProxyServerMediaSubsession::codecName() Line 37 C++ server.exe!operator<<(UsageEnvironment & env, const ProxyServerMediaSubsession & psmss) Line 416 C++ server.exe!ProxyServerMediaSubsession::~ProxyServerMediaSubsession() Line 421 C++ [External Code] server.exe!MediaLookupTable::remove(const char * name) Line 151 C++ server.exe!Medium::close(UsageEnvironment & env, const char * name) Line 54 C++ server.exe!Medium::close(Medium * medium) Line 59 C++ server.exe!ServerMediaSession::deleteAllSubsessions() Line 198 C++ server.exe!ServerMediaSession::~ServerMediaSession() Line 87 C++ server.exe!ProxyServerMediaSession::~ProxyServerMediaSession() Line 123 C++ [External Code] server.exe!MediaLookupTable::remove(const char * name) Line 151 C++ server.exe!Medium::close(UsageEnvironment & env, const char * name) Line 54 C++ server.exe!Medium::close(Medium * medium) Line 59 C++ server.exe!RTSPServer::removeServerMediaSession(ServerMediaSession * serverMediaSession) Line 78 C++ server.exe!RTSPServer::deleteServerMediaSession(ServerMediaSession * serverMediaSession) Line 111 C++ server.exe!RtspProxy::resetAllMediaSessions() Line 79 C++ ----> my Function ************ I hope this could help you. thanks again Sérgio Em 05.02.2015 18:45, Ross Finlayson escreveu: >> I tryed the new version, but the problem persists. >> >> Well, this is not a problem because it only happens when I use verbosityLevel(1 or 2). > No, it is still a problem, because if (as it appears) there's a bug in the code, it could be causing other problems. > >> Just to give you a little more information, I could see that in ProxyServerMediaSession.cpp line 416 the problem is with "psmss.codecName()" ( return env << "ProxyServerMediaSubsession["" << psmss.codecName() << ""]"; ). >> >> The debugger says tha the variable was not initialized and shows the value 0xfeeefeee. > > What appears to have happened is that "operator<<" is being called on a "ProxyServerMediaSubsession" object that has already been deleted. That's why I'd like to know about the *previous* call in the call stack - i.e., the place in the code where "operator<<" is being called. (It'll be somewhere in "ProxyServerMediaSession.cpp".) > > Ross Finlayson > Live Networks, Inc. > http://www.live555.com/ [2] > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel [1] Links: ------ [1] http://lists.live555.com/mailman/listinfo/live-devel [2] http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel