aMule Forum
English => Backtraces => Topic started by: vdb on November 19, 2005, 02:12:56 PM
-
Well, title says it all, hit search and go to start, do not collect your files.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089727520 (LWP 22802)]
0x0816d9b9 in CECTag::GetTagLen() const (this=0x0) at ECPacket.cpp:579
579 uint32 length = m_dataLen;
(gdb) bt
#0 0x0816d9b9 in CECTag::GetTagLen() const (this=0x0) at ECPacket.cpp:579
#1 0x0816d9fd in CECTag::GetTagLen() const (this=0x82fa998)
at ECPacket.cpp:581
#2 0x0816d9fd in CECTag::GetTagLen() const (this=0xbfffe6e0)
at ECPacket.cpp:581
#3 0x08173cf9 in CECPacket::GetPacketLength() const (this=0xbfffe6e0)
at ECPacket.h:232
#4 0x08172dae in CECSocket::WritePacket(std::pair)
(this=0x82e1cb0, packet={first = 0xbfffe6e0, second = 0})
at ECSocket.cpp:1167
#5 0x08171a02 in CECSocket::DoSendPacket() (this=0x82e1cb0)
at ECSocket.cpp:686
#6 0x0816f0e1 in CECSocketHandler::SocketHandler(wxSocketEvent&) (
this=0x8281100, event=@0x85a0e40) at ECSocket.cpp:213
#7 0x4021d14d in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_gtk2-2.6.so.0
#8 0x402c3604 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_gtk2-2.6.so.0
#9 0x402c2aa9 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
from /usr/lib/libwx_gtk2-2.6.so.0
#10 0x402c3772 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_gtk2-2.6.so.0
#11 0x402c3555 in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib/libwx_gtk2-2.6.so.0
#12 0x4021d0c6 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib/libwx_gtk2-2.6.so.0
#13 0x402ed298 in wxApp::WakeUpIdle() () from /usr/lib/libwx_gtk2-2.6.so.0
#14 0x40d89110 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
#15 0x00000003 in ?? ()
#16 0x4086be5d in poll () from /lib/tls/libc.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb) bt full
#0 0x0816d9b9 in CECTag::GetTagLen() const (this=0x0) at ECPacket.cpp:579
length = 0
#1 0x0816d9fd in CECTag::GetTagLen() const (this=0x82fa998)
at ECPacket.cpp:581
i = 0
length = 2166720
#2 0x0816d9fd in CECTag::GetTagLen() const (this=0xbfffe6e0)
at ECPacket.cpp:581
i = 0
length = 1086430784
#3 0x08173cf9 in CECPacket::GetPacketLength() const (this=0xbfffe6e0)
at ECPacket.h:232
No locals.
#4 0x08172dae in CECSocket::WritePacket(std::pair)
(this=0x82e1cb0, packet={first = 0xbfffe6e0, second = 0})
at ECSocket.cpp:1167
flags = 32
#5 0x08171a02 in CECSocket::DoSendPacket() (this=0x82e1cb0)
at ECSocket.cpp:686
this_packet = {first = 0xbfffe6e0, second = 0}
#6 0x0816f0e1 in CECSocketHandler::SocketHandler(wxSocketEvent&) (
this=0x8281100, event=@0x85a0e40) at ECSocket.cpp:213
socket = (CECSocket *) 0x82e1cb0
#7 0x4021d14d in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#8 0x402c3604 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#9 0x402c2aa9 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#10 0x402c3772 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#11 0x402c3555 in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#12 0x4021d0c6 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#13 0x402ed298 in wxApp::WakeUpIdle() () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#14 0x40d89110 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00000003 in ?? ()
No symbol table info available.
#16 0x4086be5d in poll () from /lib/tls/libc.so.6
No symbol table info available.
(gdb) thread apply all bt
Thread 1 (Thread 1089727520 (LWP 22802)):
#0 0x0816d9b9 in CECTag::GetTagLen() const (this=0x0) at ECPacket.cpp:579
#1 0x0816d9fd in CECTag::GetTagLen() const (this=0x82fa998)
at ECPacket.cpp:581
#2 0x0816d9fd in CECTag::GetTagLen() const (this=0xbfffe6e0)
at ECPacket.cpp:581
#3 0x08173cf9 in CECPacket::GetPacketLength() const (this=0xbfffe6e0)
at ECPacket.h:232
#4 0x08172dae in CECSocket::WritePacket(std::pair)
(this=0x82e1cb0, packet={first = 0xbfffe6e0, second = 0})
at ECSocket.cpp:1167
#5 0x08171a02 in CECSocket::DoSendPacket() (this=0x82e1cb0)
at ECSocket.cpp:686
#6 0x0816f0e1 in CECSocketHandler::SocketHandler(wxSocketEvent&) (
this=0x8281100, event=@0x85a0e40) at ECSocket.cpp:213
#7 0x4021d14d in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_gtk2-2.6.so.0
#8 0x402c3604 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_gtk2-2.6.so.0
#9 0x402c2aa9 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
from /usr/lib/libwx_gtk2-2.6.so.0
#10 0x402c3772 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/libwx_gtk2-2.6.so.0
#11 0x402c3555 in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib/libwx_gtk2-2.6.so.0
#12 0x4021d0c6 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib/libwx_gtk2-2.6.so.0
#13 0x402ed298 in wxApp::WakeUpIdle() () from /usr/lib/libwx_gtk2-2.6.so.0
#14 0x40d89110 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
#15 0x00000003 in ?? ()
#16 0x4086be5d in poll () from /lib/tls/libc.so.6
Amuled seems unaffected by this, also search via webserver is no problem. Haven't tried the monolith yet, but will soon.
(PS. Can somebody please take a look at flushing the daemon logs when it is running detached, please, please, please?)
-
easy one
-
Fixed.
-
Yea, it's been a while since we get a NULL pointer in aMule code... Recent backtraces only show memory corruption. :(