<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi, Ross. Here's a new debug log
output:<br>
<br>
RTSPClientConnection[060F24E0]::RTSPClientConnection() socket 568<br>
SocketDescriptor[01377DD0]::SocketDescriptor() socket 568<br>
SocketDescriptor[01377DD0]::registerRTPInterface(channel 0):
socket 568<br>
SocketDescriptor[01377DD0]::tcpReadHandler1(): socket 568: read
error 1: -1<br>
SocketDescriptor[01377DD0]::~SocketDescriptor() 1: socket 568, alt
5007D5A0, reo<br>
1<br>
RTSPClientConnection[060F24E0]::handleAlternativeRequestByte1()
socket 568: 1<br>
RTSPClientConnection[060F24E0]::~RTSPClientConnection() socket
568: 1<br>
RTSPClientConnection[060F24E0]::~RTSPClientConnection() socket -1:
9<br>
SocketDescriptor[01377DD0]::~SocketDescriptor() 9: socket 568, alt
5007D5A0, reo<br>
1<br>
RTSPClientConnection[060F24E0]::RTSPClientConnection() socket 1144<br>
SocketDescriptor[01377DD0]::SocketDescriptor() socket 1144<br>
SocketDescriptor[01377DD0]::registerRTPInterface(channel 0):
socket 1144<br>
SocketDescriptor[01377EE8]::SocketDescriptor() socket 568<br>
SocketDescriptor[01377EE8]::registerRTPInterface(channel 1):
socket 568<br>
BasicTaskScheduler::SingleStep(): select() fails: No error<br>
socket numbers used in the select() call:<br>
<br>
And that's what will happen if the override function
internalError() that it did not cause abort():<br>
<br>
RTSPClientConnection[057E1788]::RTSPClientConnection() socket 524<br>
SocketDescriptor[00858CB0]::SocketDescriptor() socket 524<br>
SocketDescriptor[00858CB0]::registerRTPInterface(channel 0):
socket 524<br>
SocketDescriptor[00858CB0]::tcpReadHandler1(): socket 524: read
error 1: -1<br>
SocketDescriptor[00858CB0]::~SocketDescriptor() 1: socket 524, alt
5131D5A0, reo<br>
1<br>
RTSPClientConnection[057E1788]::handleAlternativeRequestByte1()
socket 524: 1<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket
524: 1<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket -1:
9<br>
SocketDescriptor[00858CB0]::~SocketDescriptor() 9: socket 524, alt
5131D5A0, reo<br>
1<br>
RTSPClientConnection[057E1788]::RTSPClientConnection() socket 1148<br>
SocketDescriptor[008588A0]::SocketDescriptor() socket 1148<br>
SocketDescriptor[008588A0]::registerRTPInterface(channel 0):
socket 1148<br>
SocketDescriptor[00858D28]::SocketDescriptor() socket 524<br>
SocketDescriptor[00858D28]::registerRTPInterface(channel 1):
socket 524<br>
BasicTaskScheduler::SingleStep(): select() fails: No error<br>
socket numbers used in the select() call: 288(r) 292(r) 524(re)
872(r) 1148(re)<br>
BasicTaskScheduler::SingleStep(): select() fails: No error<br>
socket numbers used in the select() call: 288(r) 292(r) 524(re)
872(r) 1148(re)<br>
BasicTaskScheduler::SingleStep(): select() fails: No error<br>
socket numbers used in the select() call: 288(r) 292(r) 524(re)
872(r) 1148(re)<br>
SocketDescriptor[00858D28]::tcpReadHandler1(): socket 524: read
error 1: -1<br>
SocketDescriptor[00858D28]::~SocketDescriptor() 1: socket 524, alt
00000000, reo<br>
1<br>
SocketDescriptor[00858D28]::~SocketDescriptor() 9: socket 524, alt
00000000, reo<br>
1<br>
SocketDescriptor[008588A0]::tcpReadHandler1(): socket 1148: read
error 1: -1<br>
SocketDescriptor[008588A0]::~SocketDescriptor() 1: socket 1148,
alt 5131D5A0, re<br>
o 1<br>
RTSPClientConnection[057E1788]::handleAlternativeRequestByte1()
socket 1148: 1<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket
1148: 1<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket -1:
9<br>
SocketDescriptor[008588A0]::~SocketDescriptor() 9: socket 1148,
alt 5131D5A0, re<br>
o 1<br>
RTSPClientConnection[057E1788]::RTSPClientConnection() socket 1148<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket
1148: 1<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket -1:
9<br>
RTSPClientConnection[057E1788]::RTSPClientConnection() socket 524<br>
SocketDescriptor[00858AD0]::SocketDescriptor() socket 524<br>
SocketDescriptor[00858CD8]::SocketDescriptor() socket 1148<br>
SocketDescriptor[00858CD8]::registerRTPInterface(channel 1):
socket 1148<br>
SocketDescriptor[00858AD0]::registerRTPInterface(channel 1):
socket 524<br>
BasicTaskScheduler::SingleStep(): select() fails: No error<br>
socket numbers used in the select() call: 288(r) 292(r) 524(re)
872(r) 1148(re)<br>
BasicTaskScheduler::SingleStep(): select() fails: No error<br>
socket numbers used in the select() call: 288(r) 292(r) 524(re)
872(r) 1148(re)<br>
BasicTaskScheduler::SingleStep(): select() fails: No error<br>
socket numbers used in the select() call: 288(r) 292(r) 524(re)
872(r) 1148(re)<br>
SocketDescriptor[00858CD8]::tcpReadHandler1(): socket 1148: read
error 1: -1<br>
SocketDescriptor[00858CD8]::~SocketDescriptor() 1: socket 1148,
alt 00000000, re<br>
o 1<br>
SocketDescriptor[00858CD8]::~SocketDescriptor() 9: socket 1148,
alt 00000000, re<br>
o 1<br>
SocketDescriptor[00858AD0]::tcpReadHandler1(): socket 524: read
error 1: -1<br>
SocketDescriptor[00858AD0]::~SocketDescriptor() 1: socket 524, alt
5131D5A0, reo<br>
1<br>
RTSPClientConnection[057E1788]::handleAlternativeRequestByte1()
socket 524: 1<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket
524: 1<br>
RTSPClientConnection[057E1788]::~RTSPClientConnection() socket -1:
9<br>
SocketDescriptor[00858AD0]::~SocketDescriptor() 9: socket 524, alt
5131D5A0, reo<br>
1<br>
<br>
<br>
27.06.2013 19:35, Ross Finlayson пишет:<br>
</div>
<blockquote
cite="mid:799A3869-3993-480D-9AAE-B51C0AED3F60@live555.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Andrey,
<div><br>
</div>
<div>Thanks for looking into this.</div>
<div><br>
</div>
<div>Your debugging output log seems to show what is going wrong:</div>
<div><br>
<div>
<blockquote type="cite">closeSocket fClientInputSocket num:
520<br>
create new socket from accept() socket num: 768<br>
createNewClientConnection socket num: 768<br>
assignHandler socket num: 768<br>
assignHandler socket num: 768<br>
clearHandler socket num: 1112<br>
assignHandler socket num: 1112<br>
assignHandler socket num: 520<br>
</blockquote>
<div><br>
</div>
I.e., The code was attempting to handle socket 520
("fClientInputSocket") after it had been closed. However, I
still don't understand how this can be occurring.</div>
<div><br>
</div>
<div>So please replace your "RTSPServer.cpp" and
"RTPInterface.cpp" with the attached versions, that add some
extra debugging output (but make no other changes). Then
please send us the new debugging output, the next time you see
the error.</div>
</div>
<br>
<br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; "><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">Ross Finlayson<br>
Live Networks, Inc.<br>
<a moz-do-not-send="true" href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
live-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a>
<a class="moz-txt-link-freetext" href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>