I found that in ProxyServerMediaSubSession.cpp:339 for fClientMediaSubsession destructor has already been called, although further we call fClientMediaSubsession.rtcpInstance(), which return 0x00000000.<div class="gmail_extra">
<br><br><div class="gmail_quote">2012/11/29 óĹŇÇĹĘ âÁÓÔŇÁËĎ× <span dir="ltr"><<a href="mailto:shaman.lab.x11@gmail.com" target="_blank">shaman.lab.x11@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Now, when proxy have clients and I do Medium::close(rtspServer) (after doEventLoop() return of course) error occur in the same place as the first case, when proxy haven't clients. Call stacks are same.<br><div><div class="im">
<div>š š š š"live555proxyDLLNative.dll!RTCPInstance::setByeHandler(void (void *)* handlerTask, void * clientData, bool handleActiveParticipantsOnly) šLine 240 + 0x6 bytes<span style="white-space:pre-wrap">        </span>C++</div>

<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!ProxyServerMediaSubsession::~ProxyServerMediaSubsession() šLine 342<span style="white-space:pre-wrap">   </span>C++</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!ProxyServerMediaSubsession::`scalar deleting destructor'() š+ 0xf bytes<span style="white-space:pre-wrap">   </span>C++</div>

</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!MediaLookupTable::remove(const char * name) šLine 151 + 0x21 bytes<span style="white-space:pre-wrap">    </span>C++</div><div class="im"><div>
š<span style="white-space:pre-wrap">    </span>live555proxyDLLNative.dll!Medium::close(UsageEnvironment & env, const char * name) šLine 54<span style="white-space:pre-wrap"> </span>C++</div>
<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!Medium::close(Medium * medium) šLine 59 + 0x17 bytes<span style="white-space:pre-wrap">  </span>C++</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!ServerMediaSession::deleteAllSubsessions() šLine 195 + 0xc bytes<span style="white-space:pre-wrap">      </span>C++</div>

<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!ServerMediaSession::~ServerMediaSession() šLine 84<span style="white-space:pre-wrap">    </span>C++</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!ProxyServerMediaSession::~ProxyServerMediaSession() šLine 93 + 0xf bytes<span style="white-space:pre-wrap">      </span>C++</div>

<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!ProxyServerMediaSession::`scalar deleting destructor'() š+ 0xf bytes<span style="white-space:pre-wrap">      </span>C++</div></div><div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!MediaLookupTable::remove(const char * name) šLine 151 + 0x21 bytes<span style="white-space:pre-wrap">    </span>C++</div>
<div class="im">
<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!Medium::close(UsageEnvironment & env, const char * name) šLine 54<span style="white-space:pre-wrap"> </span>C++</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!Medium::close(Medium * medium) šLine 59 + 0x17 bytes<span style="white-space:pre-wrap">  </span>C++</div>

<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!RTSPServer::removeServerMediaSession(ServerMediaSession * serverMediaSession) šLine 74 + 0x9 bytes<span style="white-space:pre-wrap">    </span>C++</div>

<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!RTSPServer::~RTSPServer() šLine 260<span style="white-space:pre-wrap">   </span>C++</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!RTSPServer::`scalar deleting destructor'() š+ 0xf bytes<span style="white-space:pre-wrap">   </span>C++</div>

</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!MediaLookupTable::remove(const char * name) šLine 151 + 0x21 bytes<span style="white-space:pre-wrap">    </span>C++</div><div class="im"><div>
š<span style="white-space:pre-wrap">    </span>live555proxyDLLNative.dll!Medium::close(UsageEnvironment & env, const char * name) šLine 54<span style="white-space:pre-wrap"> </span>C++</div>
<div>š<span style="white-space:pre-wrap"> </span>live555proxyDLLNative.dll!Medium::close(Medium * medium) šLine 59 + 0x17 bytes<span style="white-space:pre-wrap">  </span>C++</div><div>š<span style="white-space:pre-wrap">     </span>live555proxyDLLNative.dll!DoLoop() šLine 50 + 0xc bytes<span style="white-space:pre-wrap"> </span>C++"</div>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/29 Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div style="word-wrap:break-word"><div><div><blockquote type="cite"><div style="word-wrap:break-word"><div><blockquote type="cite">But second stop still generates error.š</blockquote><br></div><div>If you're still seeing a crash, even with the latest version of the software, then please send us a stack trace.</div>

</div></blockquote><div><br></div></div></div>And also let us know what you are doing to cause the crash to happen.<div><br><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">Ross Finlayson<br>

Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></div></div><br></div></div><div class="im">_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>