aMule Forum
English => Backtraces => Topic started by: nachbarnebenan on July 30, 2005, 11:05:48 PM
-
Nothing special, no specific reason for crashing. Well, I guess this will tell you more:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087180320 (LWP 6469)]
0x082cc4d1 in key_compare::operator() (this=0x4169daa0, k1=@0xbfffd620, k2=@0x9082510) at Indexed.h:62
62 int result = (((uint32*)k1.m_key)[0] - ((uint32*)k2.m_key)[0]);
(gdb) bt
#0 0x082cc4d1 in key_compare::operator() (this=0x4169daa0, k1=@0xbfffd620, k2=@0x9082510) at Indexed.h:62
#1 0x082ce976 in std::_Rb_tree, std::_Select1st >, key_compare, std::allocator > >::insert_unique (this=0x4169da98, __position={ = {_M_node = 0x9082500}, }, __v=@0xbfffd620)
at stl_tree.h:1066
#2 0x082ce909 in std::map > >::insert (this=0x4169da98, position=Cannot access memory at address 0x1
) at stl_map.h:364
#3 0x082cc0ac in std::map > >::operator[] (this=0x4169da98, __k=@0xbfffd6e0)
at stl_map.h:319
#4 0x082c825d in Kademlia::CIndexed::AddSources (this=0x4169da80, keyID=Internal: global symbol `CUInt128' found in kademlia/utils/UInt128.cpp psymtab but not in symtab.
CUInt128 may be an inlined function, or may be a template function
(if a template, try specifying an instantiation: CUInt128).
) at Indexed.cpp:589
#5 0x082e5f0d in Kademlia::CKademliaUDPListener::processPublishRequest (this=0x4169cb70, packetData=0xbfffdaa2 "3~ývN\032ý212\017_\024ýýýg\001", lenPacket=98,
ip=3542027127, port=4672) at KademliaUDPListener.cpp:859
#6 0x082e1be6 in Kademlia::CKademliaUDPListener::processPacket (this=0x4169cb70, data=0xbfffdaa0 "ý3~ývN\032ý212\017_\024ýýýg\001", lenData=100, ip=3542027127,
port=4672) at KademliaUDPListener.cpp:188
#7 0x082d15bf in Kademlia::CKademlia::processPacket (data=0xbfffdaa0 "ý3~ývN\032ý212\017_\024ýýýg\001", lenData=100, ip=3542027127, port=4672)
at Kademlia.cpp:360
#8 0x080c0b79 in CClientUDPSocket::OnReceive (this=0x8ffc250) at ClientUDPSocket.cpp:124
#9 0x0807886f in CamuleApp::ClientUDPSocketHandler (this=0x85b02d0, event=@0x41bfe430) at amule.cpp:2105
#10 0x405bbb0d in wxAppConsole::HandleEvent () from /home/amule/lib/libwx_base-2.6.so.0
#11 0x4065e584 in wxEvtHandler::ProcessEventIfMatches () from /home/amule/lib/libwx_base-2.6.so.0
#12 0x4065fbba in wxEventHashTable::HandleEvent () from /home/amule/lib/libwx_base-2.6.so.0
#13 0x4065fc92 in wxEvtHandler::ProcessEvent () from /home/amule/lib/libwx_base-2.6.so.0
#14 0x4065ec05 in wxEvtHandler::ProcessPendingEvents () from /home/amule/lib/libwx_base-2.6.so.0
#15 0x405bc1d1 in wxAppConsole::ProcessPendingEvents () from /home/amule/lib/libwx_base-2.6.so.0
#16 0x40313258 in wxapp_pending_callback () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#17 0x40be17af in g_idle_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#18 0x40be1e28 in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#19 0x40be2744 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#20 0x40be285f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#21 0x40ae4abf in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#22 0x4032a353 in wxEventLoop::Run () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#23 0x403ad1f9 in wxAppBase::MainLoop () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#24 0x403acfc3 in wxAppBase::OnRun () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#25 0x405feed6 in wxEntry () from /home/amule/lib/libwx_base-2.6.so.0
#26 0x0807b8c4 in main (argc=1, argv=0xbffff2f4) at amule-gui.cpp:150
(gdb) bt full
#0 0x082cc4d1 in key_compare::operator() (this=0x4169daa0, k1=@0xbfffd620, k2=@0x9082510) at Indexed.h:62
result = 1096810512
#1 0x082ce976 in std::_Rb_tree, std::_Select1st >, key_compare, std::allocator > >::insert_unique (this=0x4169da98, __position={ = {_M_node = 0x9082500}, }, __v=@0xbfffd620)
at stl_tree.h:1066
No locals.
#2 0x082ce909 in std::map > >::insert (this=0x4169da98, position=Cannot access memory at address 0x1
) at stl_map.h:364
No locals.
#3 0x082cc0ac in std::map > >::operator[] (this=0x4169da98, __k=@0xbfffd6e0)
at stl_map.h:319
__i = { = {_M_node = 0x9082500}, }
#4 0x082c825d in Kademlia::CIndexed::AddSources (this=0x4169da80, keyID=@0xbfffd860, sourceID=@0xbfffd820, entry=0x41606358, load=@0xbfffd83c) at Indexed.cpp:589
currSource = (Source *) 0x4195f1f0
currSrcHash = (SrcHash *) 0x41917b50
itSrcHash = { = {_M_node = 0x9082500}, }
#5 0x082e5f0d in Kademlia::CKademliaUDPListener::processPublishRequest (this=0x4169cb70, packetData=0xbfffdaa2 "3~ývN\032ý212\017_\024ýýýg\001", lenPacket=98,
ip=3542027127, port=4672) at KademliaUDPListener.cpp:859
target =
entry = (Kademlia::CEntry *) 0x41606358
indexed = (Kademlia::CIndexed *) 0x4169da80
bio = { = {_vptr.CDataIO = 0x8337cb0}, m_bReadOnly = true, m_buffer = 0xbfffdb04 ")D\\ýaýý[ý0319>@\0226\022", m_available = 0,
m_used = 98}
file =
distance =
strInfo = { = {static npos = 4294967295, m_pchData = 0x406694a0 ""}, }
count = 1
flag = false
load = 0 '\0'
#6 0x082e1be6 in Kademlia::CKademliaUDPListener::processPacket (this=0x4169cb70, data=0xbfffdaa0 "ý3~ývN\032ý212\017_\024ýýýg\001", lenData=100, ip=3542027127,
port=4672) at KademliaUDPListener.cpp:188
curCon = true
opcode = 64 '@'
packetData = (const byte *) 0xbfffdaa2 "3~ývN\032ý212\017_\024ýýýg\001"
lenPacket = 98
#7 0x082d15bf in Kademlia::CKademlia::processPacket (data=0xbfffdaa0 "ý3~ývN\032ý212\017_\024ýýýg\001", lenData=100, ip=3542027127, port=4672)
at Kademlia.cpp:360
No locals.
#8 0x080c0b79 in CClientUDPSocket::OnReceive (this=0x8ffc250) at ClientUDPSocket.cpp:124
addr = {<> = {}, }
buffer = "ý3~ývN\032ý212\017_\024ýýýg\001\000#ý\tý\016wý205eýý%\005\t\001\000ý\003\003\001\000ý&ýýb\001\000ý\022\002\001\000ý\00054EDCC42B44A105B029D1A533E66F3B3\b\001\000ý\022)D\\ýaýý[ý0319>@\0226\022\000ý\001\000\000\000ýýý\000\000\000\000\001\000\000\000\002\000\000\000\000ýýx\207@fý@q4\206@ ý\222@\000\000\000\000\024ý\b3ýýHýýýX\206@lýý\024ý\b\001\000\000\000\000\000\000\000ý\002\001"...
length = 100
#9 0x0807886f in CamuleApp::ClientUDPSocketHandler (this=0x85b02d0, event=@0x41bfe430) at amule.cpp:2105
socket = (class CClientUDPSocket *) 0x8ffc250
#10 0x405bbb0d in wxAppConsole::HandleEvent () from /home/amule/lib/libwx_base-2.6.so.0
No symbol table info available.
#11 0x4065e584 in wxEvtHandler::ProcessEventIfMatches () from /home/amule/lib/libwx_base-2.6.so.0
No symbol table info available.
#12 0x4065fbba in wxEventHashTable::HandleEvent () from /home/amule/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x4065fc92 in wxEvtHandler::ProcessEvent () from /home/amule/lib/libwx_base-2.6.so.0
No symbol table info available.
#14 0x4065ec05 in wxEvtHandler::ProcessPendingEvents () from /home/amule/lib/libwx_base-2.6.so.0
No symbol table info available.
#15 0x405bc1d1 in wxAppConsole::ProcessPendingEvents () from /home/amule/lib/libwx_base-2.6.so.0
No symbol table info available.
#16 0x40313258 in wxapp_pending_callback () from /home/amule/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#17 0x40be17af in g_idle_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#18 0x40be1e28 in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#19 0x40be2744 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#20 0x40be285f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#21 0x40ae4abf in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
No symbol table info available.
#22 0x4032a353 in wxEventLoop::Run () from /home/amule/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#23 0x403ad1f9 in wxAppBase::MainLoop () from /home/amule/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#24 0x403acfc3 in wxAppBase::OnRun () from /home/amule/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#25 0x405feed6 in wxEntry () from /home/amule/lib/libwx_base-2.6.so.0
No symbol table info available.
#26 0x0807b8c4 in main (argc=1, argv=0xbffff2f4) at amule-gui.cpp:150
No locals.
(gdb) thread apply all bt
Thread 3 (Thread 1093934000 (LWP 6476)):
#0 0xffffe410 in ?? ()
#1 0x413417f8 in ?? ()
#2 0x406927e8 in ?? () from /home/amule/lib/libwx_base-2.6.so.0
#3 0x00000000 in ?? ()
#4 0x4002e786 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#5 0x4066549a in wxMicroSleep () from /home/amule/lib/libwx_base-2.6.so.0
#6 0x406654d8 in wxMilliSleep () from /home/amule/lib/libwx_base-2.6.so.0
#7 0x4065b31c in wxThread::Sleep () from /home/amule/lib/libwx_base-2.6.so.0
#8 0x0826b1a3 in UploadBandwidthThrottler::Entry (this=0x8fbafb0) at UploadBandwidthThrottler.cpp:367
#9 0x4065cdd4 in wxThreadInternal::PthreadStart () from /home/amule/lib/libwx_base-2.6.so.0
#10 0x4065ce4c in wxPthreadStart () from /home/amule/lib/libwx_base-2.6.so.0
#11 0x400297f3 in start_thread () from /lib/tls/libpthread.so.0
#12 0x408e262a in clone () from /lib/tls/libc.so.6
Thread 1 (Thread 1087180320 (LWP 6469)):
#0 0x082cc4d1 in key_compare::operator() (this=0x4169daa0, k1=@0xbfffd620, k2=@0x9082510) at Indexed.h:62
#1 0x082ce976 in std::_Rb_tree, std::_Select1st >, key_compare, std::allocator > >::insert_unique (this=0x4169da98, __position={ = {_M_node = 0x9082500}, }, __v=@0xbfffd620)
at stl_tree.h:1066
#2 0x082ce909 in std::map > >::insert (this=0x4169da98, position=Cannot access memory at address 0x1
) at stl_map.h:364
#3 0x082cc0ac in std::map > >::operator[] (this=0x4169da98, __k=@0xbfffd6e0)
at stl_map.h:319
#4 0x082c825d in Kademlia::CIndexed::AddSources (this=0x4169da80, keyID=@0xbfffd860, sourceID=@0xbfffd820, entry=0x41606358, load=@0xbfffd83c) at Indexed.cpp:589
#5 0x082e5f0d in Kademlia::CKademliaUDPListener::processPublishRequest (this=0x4169cb70, packetData=0xbfffdaa2 "3~ývN\032ý212\017_\024ýýýg\001", lenPacket=98,
ip=3542027127, port=4672) at KademliaUDPListener.cpp:859
#6 0x082e1be6 in Kademlia::CKademliaUDPListener::processPacket (this=0x4169cb70, data=0xbfffdaa0 "ý3~ývN\032ý212\017_\024ýýýg\001", lenData=100, ip=3542027127,
port=4672) at KademliaUDPListener.cpp:188
#7 0x082d15bf in Kademlia::CKademlia::processPacket (data=0xbfffdaa0 "ý3~ývN\032ý212\017_\024ýýýg\001", lenData=100, ip=3542027127, port=4672)
at Kademlia.cpp:360
#8 0x080c0b79 in CClientUDPSocket::OnReceive (this=0x8ffc250) at ClientUDPSocket.cpp:124
#9 0x0807886f in CamuleApp::ClientUDPSocketHandler (this=0x85b02d0, event=@0x41bfe430) at amule.cpp:2105
#10 0x405bbb0d in wxAppConsole::HandleEvent () from /home/amule/lib/libwx_base-2.6.so.0
#11 0x4065e584 in wxEvtHandler::ProcessEventIfMatches () from /home/amule/lib/libwx_base-2.6.so.0
#12 0x4065fbba in wxEventHashTable::HandleEvent () from /home/amule/lib/libwx_base-2.6.so.0
#13 0x4065fc92 in wxEvtHandler::ProcessEvent () from /home/amule/lib/libwx_base-2.6.so.0
#14 0x4065ec05 in wxEvtHandler::ProcessPendingEvents () from /home/amule/lib/libwx_base-2.6.so.0
#15 0x405bc1d1 in wxAppConsole::ProcessPendingEvents () from /home/amule/lib/libwx_base-2.6.so.0
#16 0x40313258 in wxapp_pending_callback () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#17 0x40be17af in g_idle_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#18 0x40be1e28 in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#19 0x40be2744 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#20 0x40be285f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#21 0x40ae4abf in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#22 0x4032a353 in wxEventLoop::Run () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#23 0x403ad1f9 in wxAppBase::MainLoop () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#24 0x403acfc3 in wxAppBase::OnRun () from /home/amule/lib/libwx_gtk_core-2.6.so.0
#25 0x405feed6 in wxEntry () from /home/amule/lib/libwx_base-2.6.so.0
#26 0x0807b8c4 in main (argc=1, argv=0xbffff2f4) at amule-gui.cpp:150
(gdb)
-
Kry, CCKey is pretty broken. I don't think it's suitable for use in the standard container classes (or anywhere, really).
-
you say that like I coded it. I didn't. I said it will be changed once stuff works. Might be the moment.
-
I know you didn't. But you seemed somewhat reluctant for anybody to attempt to fix/change it. So I was prodding you to do it. :P
-
*At that moment* :P