<div dir="ltr"><div>It's my fault, I forgot the class name, I checkout the code, class name is SocketDescriptor.<br><br></div>Bellow is my app call stack , I don't know why its' deconstruct function has been call twice.<br>
<div><br>#0  0x0000003c954328a5 in raise () from /lib64/libc.so.6<br>#1  0x0000003c95434085 in abort () from /lib64/libc.so.6<br>#2  0x000000000047a626 in OnSIGSEGV (signum=11, info=0x7f9a624bb770, ptr=0x7f9a624bb640) at /root/stream/src/../include/OnSegFault.h:107<br>
#3  <signal handler called><br>#4  0x00000000004d4651 in socketHashTable (env=..., createIfNotPresent=1 '\001') at /root/stream/3rd/live555/liveMedia/RTPInterface.cpp:41<br>#5  0x00000000004d4790 in removeSocketDescription (env=..., sockNum=30) at /root/stream/3rd/live555/liveMedia/RTPInterface.cpp:94<br>
#6  0x00000000004d5289 in SocketDescriptor::~SocketDescriptor (this=0x7f9a54004450, __in_chrg=<value optimized out>) at /root/stream/3rd/live555/liveMedia/RTPInterface.cpp:351<br>#7  0x00000000004d531c in SocketDescriptor::~SocketDescriptor (this=0x7f9a54004450, __in_chrg=<value optimized out>) at /root/stream/3rd/live555/liveMedia/RTPInterface.cpp:358<br>
#8  0x00000000004d5522 in SocketDescriptor::tcpReadHandler1 (this=0x7f9a54004450, mask=2) at /root/stream/3rd/live555/liveMedia/RTPInterface.cpp:419<br>#9  0x00000000004d54a8 in SocketDescriptor::tcpReadHandler (socketDescriptor=0x7f9a54004450, mask=2) at /root/stream/3rd/live555/liveMedia/RTPInterface.cpp:398<br>
#10 0x00000000005000a5 in BasicTaskScheduler::SingleStep (this=0x1c285b0, maxDelayTime=0) at /root/stream/3rd/live555/BasicUsageEnvironment/BasicTaskScheduler.cpp:162<br>#11 0x00000000004fea54 in BasicTaskScheduler0::doEventLoop (this=0x1c285b0, watchVariable=0x1c26ba8 "") at /root/stream/3rd/live555/BasicUsageEnvironment/BasicTaskScheduler0.cpp:80<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/20 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 style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div dir="ltr">Hmmm, I found that the class "TCPSocketDescribe" in RTPInterface.cpp had been double free sometimes</div></blockquote>
<div><br></div></div>That sounds good - except that our code doesn't have a class named "TCPSocketDescribe".</div><div><br></div><div>If you find a specific bug in our code, however (be sure to use the latest version!), please let us know.</div>
<div class="im"><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>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">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></blockquote></div><br><br clear="all"><br>-- <br>by:лÓÀ´ï
</div>