[Live-devel] windows winsock error 10038

谢永达 xieyongda at gmail.com
Thu Jun 20 04:58:53 PDT 2013


It's my fault, I forgot the class name, I checkout the code, class name is
SocketDescriptor.

Bellow is my app call stack , I don't know why its' deconstruct function
has been call twice.

#0  0x0000003c954328a5 in raise () from /lib64/libc.so.6
#1  0x0000003c95434085 in abort () from /lib64/libc.so.6
#2  0x000000000047a626 in OnSIGSEGV (signum=11, info=0x7f9a624bb770,
ptr=0x7f9a624bb640) at /root/stream/src/../include/OnSegFault.h:107
#3  <signal handler called>
#4  0x00000000004d4651 in socketHashTable (env=..., createIfNotPresent=1
'\001') at /root/stream/3rd/live555/liveMedia/RTPInterface.cpp:41
#5  0x00000000004d4790 in removeSocketDescription (env=..., sockNum=30) at
/root/stream/3rd/live555/liveMedia/RTPInterface.cpp:94
#6  0x00000000004d5289 in SocketDescriptor::~SocketDescriptor
(this=0x7f9a54004450, __in_chrg=<value optimized out>) at
/root/stream/3rd/live555/liveMedia/RTPInterface.cpp:351
#7  0x00000000004d531c in SocketDescriptor::~SocketDescriptor
(this=0x7f9a54004450, __in_chrg=<value optimized out>) at
/root/stream/3rd/live555/liveMedia/RTPInterface.cpp:358
#8  0x00000000004d5522 in SocketDescriptor::tcpReadHandler1
(this=0x7f9a54004450, mask=2) at
/root/stream/3rd/live555/liveMedia/RTPInterface.cpp:419
#9  0x00000000004d54a8 in SocketDescriptor::tcpReadHandler
(socketDescriptor=0x7f9a54004450, mask=2) at
/root/stream/3rd/live555/liveMedia/RTPInterface.cpp:398
#10 0x00000000005000a5 in BasicTaskScheduler::SingleStep (this=0x1c285b0,
maxDelayTime=0) at
/root/stream/3rd/live555/BasicUsageEnvironment/BasicTaskScheduler.cpp:162
#11 0x00000000004fea54 in BasicTaskScheduler0::doEventLoop (this=0x1c285b0,
watchVariable=0x1c26ba8 "") at
/root/stream/3rd/live555/BasicUsageEnvironment/BasicTaskScheduler0.cpp:80


2013/6/20 Ross Finlayson <finlayson at live555.com>

> Hmmm, I found that the class "TCPSocketDescribe" in RTPInterface.cpp had
> been double free sometimes
>
>
> That sounds good - except that our code doesn't have a class named
> "TCPSocketDescribe".
>
> If you find a specific bug in our code, however (be sure to use the latest
> version!), please let us know.
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>


-- 
by:谢永达
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130620/83b5db32/attachment.html>


More information about the live-devel mailing list