Hmmm, I found that the class "TCPSocketDescribe" in RTPInterface.cpp had been double free sometimes, when it happen, the app crash.
2013/6/18 Andrey <ashvyr...@gosniias.ru> > 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. > ______________________________**_________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/**mailman/listinfo/live-devel<http://lists.live555.com/mailman/listinfo/live-devel> > -- by:谢永达
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel