<div dir="ltr">Hmmm, I found that the class "TCPSocketDescribe" in RTPInterface.cpp had been double free sometimes, when it happen, the app crash.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/6/18 Andrey <span dir="ltr"><<a href="mailto:ashvyrkin@gosniias.ru" target="_blank">ashvyrkin@gosniias.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for the quick reply. However, the error occurs even if the test code testOnDemandRTSPServer reuseFirstSource set to True. I have not changed anything in the code, except the reuseFirstSource. The error occurs on the socket fClientInputSocket of RTSPServer.cpp. Closing the socket occurs after the call closeSockets () in the destructor ~ RTSPClientConnection (), respectively, which is called when the session with the client. The functions of the closeSockets () before closing the socket is called disableBackgroundHandling (fClientInputSocket). The idea is all right, and select () function should not be to access a closed socket. However, after repeated reconnect the client to the server in the select () function generates an error. The problem arises only when the true meaning of reuseFirstSource and multiple client reconnects to the server. Perhaps the problem is disableBackgroundHandling, in any case, the error is random and can occur as a reconnection with the client, and more than a hundred.<br>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/live-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>by:лÓÀ´ï
</div>