[Konspire-developer] segfault on network/linux/SocketLinux.cpp
Status: Beta
Brought to you by:
jcr13
|
From: Ricardo N. C. <nc...@te...> - 2003-06-15 00:10:45
|
Hi,
I just got this segfault while running kast. (now it repeats everytime i start kast). I'll try to reset my config to see if it goes away.
I don't know kast internals well enough to investigate why mNativeObjectPointer got that invalid address, so here goes the gdb output:
...
[New Thread 1212491 (LWP 18278)]
running at updated local address 200.165.227.223:6085
[New Thread 1228876 (LWP 18279)]
[New Thread 1245261 (LWP 18280)]
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 737326 (LWP 18110)]
0x401c4c32 in send () from /lib/libc.so.6
(gdb) bt
#0 0x401c4c32 in send () from /lib/libc.so.6
#1 0x4002fdea in send () from /lib/libpthread.so.0
#2 0x0805c9e2 in Socket::send (this=0x819b9b0, inBuffer=0x80d782f "<?xml version=\"1.0\"?>\n", inNumBytes=22)
at ../../minorGems/network/linux/SocketLinux.cpp:122
#3 0x080b2672 in SocketStream::write (this=0x81954e0, inBuffer=0x80d782f "<?xml version=\"1.0\"?>\n", inNumBytes=22)
at ../../minorGems/network/SocketStream.h:94
#4 0x080b230b in OutputStream::writeString (this=0x81954f4, inString=0x80d782f "<?xml version=\"1.0\"?>\n")
at ../../minorGems/io/OutputStream.h:126
#5 0x080a61db in OutboundChannel::run (this=0x817e208) at OutboundChannel.cpp:221
#6 0x0805da5b in linuxThreadFunction (inPtrToThread=0x817e208) at ../../minorGems/system/linux/ThreadLinux.cpp:133
#7 0x4002b100 in pthread_start_thread () from /lib/libpthread.so.0
#8 0x4002b202 in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb) frame 2
#2 0x0805c9e2 in Socket::send (this=0x819b9b0, inBuffer=0x80d782f "<?xml version=\"1.0\"?>\n", inNumBytes=22)
at ../../minorGems/network/linux/SocketLinux.cpp:122
122 ../../minorGems/network/linux/SocketLinux.cpp: No such file or directory.
in ../../minorGems/network/linux/SocketLinux.cpp
(gdb) p this
$1 = (Socket *) 0xffffffe0
(gdb) p this->mNativeObjectPointer
Cannot access memory at address 0xffffffe0
(gdb) p this->sInitialized
$2 = 1 '\001'
(gdb)
Best regards,
--
rnc <nieder|at|mail.ru>
|