aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20051119 (the fourth)  (Read 2509 times)

lupz

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 54
20051119 (the fourth)
« on: November 24, 2005, 11:28:00 PM »

Code: [Select]
(gdb) bt
#0  0x00bce402 in __kernel_vsyscall ()
#1  0x41046118 in raise () from /lib/libc.so.6
#2  0x41047888 in abort () from /lib/libc.so.6
#3  0x413dbd23 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
#4  0x081bc894 in __gnu_debug_def::list >::back (this=0xc00a130)
    at /usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/debug/list:199
#5  0x081b44f3 in Kademlia::CIndexed::SendValidKeywordResult (this=0xac3c700, keyID=@0xbff0c5a0, pSearchTerms=0x0, ip=22134817, port=4672) at kademlia/kademlia/Indexed.cpp:1050
#6  0x081c9e29 in Kademlia::CKademliaUDPListener::processSearchRequest (this=0xe35e720, packetData=0xbff0c916 "\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenPacket=17, ip=22134817, port=4672)
    at kademlia/net/KademliaUDPListener.cpp:709
#7  0x081cffe2 in Kademlia::CKademliaUDPListener::processPacket (this=0xe35e720, data=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenData=19, ip=22134817, port=4672)
    at kademlia/net/KademliaUDPListener.cpp:185
#8  0x0819a34c in Kademlia::CKademlia::processPacket (data=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenData=19, ip=22134817, port=4672) at kademlia/kademlia/Kademlia.cpp:316
#9  0x080c1bb4 in CClientUDPSocket::OnPacketReceived (this=0xc6d0dc8, addr=@0xbff0e91c, buffer=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", length=19) at ClientUDPSocket.cpp:91
#10 0x08141436 in CMuleUDPSocket::OnReceive (this=0xc6d0dc8, errorCode=0) at MuleUDPSocket.cpp:171
#11 0x080c0e49 in CClientUDPSocket::OnReceive (this=0xc6d0dc8, errorCode=0) at ClientUDPSocket.cpp:65
#12 0x0807ad2c in CamuleApp::UDPSocketHandler (this=0x98c59c0, event=@0xf54d3e8) at amule.cpp:1961
#13 0x4254361d in wxAppConsole::HandleEvent (this=0x98c59c0, handler=0x98c59c0, func={__pfn = 0x807ac68 , __delta = 0}, event=@0x0)
    at ./src/common/appbase.cpp:324
#14 0x425cd90f in wxEvtHandler::ProcessEventIfMatches (entry=@0x87565b0, handler=0x98c59c0, event=@0xf54d3e8) at ./src/common/event.cpp:1193
#15 0x425cdae0 in wxEventHashTable::HandleEvent (this=0x87566d0, event=@0xf54d3e8, self=0x98c59c0) at ./src/common/event.cpp:875
#16 0x425cdc91 in wxEvtHandler::ProcessEvent (this=0x98c59c0, event=@0xf54d3e8) at ./src/common/event.cpp:1255
#17 0x425ce28f in wxEvtHandler::ProcessPendingEvents (this=0x98c59c0) at ./src/common/event.cpp:1152
#18 0x425438ea in wxAppConsole::ProcessPendingEvents (this=0x98c59c0) at ./src/common/appbase.cpp:296
#19 0x429683f8 in wxapp_pending_callback () at ./src/gtk/app.cpp:214
#20 0x4712d910 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#21 0x4712b6ae in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x4712e6b6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#23 0x4712e9a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x47351b35 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x42981447 in wxEventLoop::Run (this=0xe38d850) at ./src/gtk/evtloop.cpp:80
#26 0x42a11e8a in wxAppBase::MainLoop (this=0x98c59c0) at ./src/common/appcmn.cpp:272
#27 0x42a11f6f in wxAppBase::OnRun (this=0x98c59c0) at ./src/common/appcmn.cpp:340
#28 0x42577874 in wxEntry (argc=@0x0, argv=0x0) at ./src/common/init.cpp:439
#29 0x4257792a in wxEntry (argc=@0xbff0ed20, argv=0x6) at ./src/common/init.cpp:451
#30 0x081d5f07 in main (argc=1, argv=0xbff0eda4) at amule-gui.cpp:150
(gdb) bt full
#0  0x00bce402 in __kernel_vsyscall ()
No symbol table info available.
#1  0x41046118 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x41047888 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x413dbd23 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0x081bc894 in __gnu_debug_def::list >::back (this=0xc00a130)
    at /usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/debug/list:199
No locals.
#5  0x081b44f3 in Kademlia::CIndexed::SendValidKeywordResult (this=0xac3c700, keyID=@0xbff0c5a0, pSearchTerms=0x0, ip=22134817, port=4672) at kademlia/kademlia/Indexed.cpp:1050
        currName = (Kademlia::CEntry *) 0xc00a100
        currSource = (Source *) 0xbfd46f8
        itEntry = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xbfd4710, _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0xd8e9028}}
        packet = "\uffff8\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff2\000\uffff4\uffff\v\204\uffff\"\224\022\000!6\uffff\uffff\005\uffff\a\002\001\000\001\032\000Vasco Rossi - generale.mp3\003\001\000\002/iR\000\t\001\000\025\001\002\001\000\003\005\000Audio\002\001\000\004\003\000mp3\002\001\000\uffff\v\000Vasco Rossi\002\001\000\uffff\n\000Tracks cd1ns\uffff\vIp\224\026\uffff\n\000\211\uffff\u01b7]\003\002\001\000\001'\000Vasco Rossi - Cosa succede in citta.mp3\003\001\000"...
        maxResults = 300
        count = 238
        itSource = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xcc11c18, _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0xb6bf058}}
        ccount = 0
        bio = { = {_vptr.CDataIO = 0x8486c30}, m_bReadOnly = false, m_buffer = 0xbff0113c "p3\003\001", m_available = 45904, m_used = 5296}
        currKeyHash = (KeyHash *) 0xcc11bf0
        itKeyHash = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xac3c724, _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0xc68c898}}
#6  0x081c9e29 in Kademlia::CKademliaUDPListener::processSearchRequest (this=0xe35e720, packetData=0xbff0c916 "\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenPacket=17, ip=22134817, port=4672)
    at kademlia/net/KademliaUDPListener.cpp:709
        bio = { = {_vptr.CFileDataIO = 0x8472d08}, m_growthRate = 0, m_position = 17, m_BufferSize = 17, m_fileSize = 17, m_delete = false,
  m_buffer = 0xbff0c916 "\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff"}
        target = {m_data = {2659557609, 686945301, 3511463462, 4277356250}}
        restrictive = 0 '\0'
        __FUNCTION__ = "processSearchRequest"
#7  0x081cffe2 in Kademlia::CKademliaUDPListener::processPacket (this=0xe35e720, data=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenData=19, ip=22134817, port=4672)
    at kademlia/net/KademliaUDPListener.cpp:185
        curCon = true
        opcode = 48 '0'
        packetData = (const byte *) 0xbff0c916 "\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF
        lenPacket = 17
#8  0x0819a34c in Kademlia::CKademlia::processPacket (data=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenData=19, ip=22134817, port=4672) at kademlia/kademlia/Kademlia.cpp:316
No locals.
#9  0x080c1bb4 in CClientUDPSocket::OnPacketReceived (this=0xc6d0dc8, addr=@0xbff0e91c, buffer=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", length=19) at ClientUDPSocket.cpp:91
        protocol = 228 '
        opcode = 48 '0'
        ip = 566251777
        port = 4672
#10 0x08141436 in CMuleUDPSocket::OnReceive (this=0xc6d0dc8, errorCode=0) at MuleUDPSocket.cpp:171
        buffer = "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff\000\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff?\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\210\n\uffff\uffffcGh\uffff\uffff\uffff\214\177_G\002\000\000\000\uffff\214w\017\uffff\uffff\uffff\uffff\u07b7_G\210\uffff\uffff\uffff\002\000\000\000\uffff\uffff\uffff\uffff\uffff\214w\017\000\000\000\000\000\000\000\000\224\uffff\uffff\uffffP\uffffcGx\uffff\uffff\uffff\200\uffff\210\nj\030\bAP\uffffcG\uffff\uffff\uffff\uffffX\uffff\uffff\uffff\uffff$\212\nA\uffff#\uffff\uffff\uffff\uffff\uffff\uffff\uffffv\017\uffff\001\000\000P\uffffcG\uffff\uffff\uffff\uffff\uffff\uffff_G\020\uffff\uffff\uffff\000\000\000\000\000\000\uffff?", '\0' , "\uffff?\000\000\000\000\000\000\uffff?", '\0' ...
        length = 19
        addr = { = { = { = { = {_vptr.wxObject = 0x8409fe8, static ms_classInfo = {m_className = 0x425ec8dc,
            m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x426376f4, static sm_classTable = 0x9850008},
          m_refData = 0x0}, static ms_classInfo = {m_className = 0x4265e5c8, m_objectSize = 12, m_objectConstructor = 0, m_baseInfo1 = 0x426376dc, m_baseInfo2 = 0x0,
          static sm_first = 0x0, m_next = 0x426682c0, static sm_classTable = 0x9850008}, m_address = 0xf305fc8}, static ms_classInfo = {m_className = 0x4265e600,
        m_objectSize = 12, m_objectConstructor = 0, m_baseInfo1 = 0x42668278, m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x42668278, static sm_classTable = 0x9850008}},
    static ms_classInfo = {m_className = 0x4265e630, m_objectSize = 16, m_objectConstructor = 0x42653b06 , m_baseInfo1 = 0x42668260,
      m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x42668260, static sm_classTable = 0x9850008}, m_origHostname = { = {static npos = 4294967295,
        m_pchData = 0x425ed4cc}, }}, }
        error = false
        lastError = 0
---Type to continue, or q to quit---
#11 0x080c0e49 in CClientUDPSocket::OnReceive (this=0xc6d0dc8, errorCode=0) at ClientUDPSocket.cpp:65
No locals.
#12 0x0807ad2c in CamuleApp::UDPSocketHandler (this=0x98c59c0, event=@0xf54d3e8) at amule.cpp:1961
        socket = (class CMuleUDPSocket *) 0xc6d0dc8
#13 0x4254361d in wxAppConsole::HandleEvent (this=0x98c59c0, handler=0x98c59c0, func={__pfn = 0x807ac68 , __delta = 0}, event=@0x0)
    at ./src/common/appbase.cpp:324
No locals.
#14 0x425cd90f in wxEvtHandler::ProcessEventIfMatches (entry=@0x87565b0, handler=0x98c59c0, event=@0xf54d3e8) at ./src/common/event.cpp:1193
        tableId1 = Variable "tableId1" is not available.
(gdb) thread apply all bt

Thread 2 (process 11921):
#0  0x00000293 in ?? ()
Cannot access memory at address 0x0

Thread 1 (process 11915):
#0  0x00bce402 in __kernel_vsyscall ()
#1  0x41046118 in raise () from /lib/libc.so.6
#2  0x41047888 in abort () from /lib/libc.so.6
#3  0x413dbd23 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
#4  0x081bc894 in __gnu_debug_def::list >::back (this=0xc00a130)
    at /usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/debug/list:199
#5  0x081b44f3 in Kademlia::CIndexed::SendValidKeywordResult (this=0xac3c700, keyID=@0xbff0c5a0, pSearchTerms=0x0, ip=22134817, port=4672) at kademlia/kademlia/Indexed.cpp:1050
#6  0x081c9e29 in Kademlia::CKademliaUDPListener::processSearchRequest (this=0xe35e720, packetData=0xbff0c916 "\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenPacket=17, ip=22134817, port=4672)
    at kademlia/net/KademliaUDPListener.cpp:709
#7  0x081cffe2 in Kademlia::CKademliaUDPListener::processPacket (this=0xe35e720, data=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenData=19, ip=22134817, port=4672)
    at kademlia/net/KademliaUDPListener.cpp:185
#8  0x0819a34c in Kademlia::CKademlia::processPacket (data=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", lenData=19, ip=22134817, port=4672) at kademlia/kademlia/Kademlia.cpp:316
#9  0x080c1bb4 in CClientUDPSocket::OnPacketReceived (this=0xc6d0dc8, addr=@0xbff0e91c, buffer=0xbff0c914 "\uffff0\uffff\uffff\205\236\025\uffff\uffff(&\uffffL\uffff\uffffF\uffff\uffff", length=19) at ClientUDPSocket.cpp:91
#10 0x08141436 in CMuleUDPSocket::OnReceive (this=0xc6d0dc8, errorCode=0) at MuleUDPSocket.cpp:171
#11 0x080c0e49 in CClientUDPSocket::OnReceive (this=0xc6d0dc8, errorCode=0) at ClientUDPSocket.cpp:65
#12 0x0807ad2c in CamuleApp::UDPSocketHandler (this=0x98c59c0, event=@0xf54d3e8) at amule.cpp:1961
#13 0x4254361d in wxAppConsole::HandleEvent (this=0x98c59c0, handler=0x98c59c0, func={__pfn = 0x807ac68 , __delta = 0}, event=@0x0)
    at ./src/common/appbase.cpp:324
#14 0x425cd90f in wxEvtHandler::ProcessEventIfMatches (entry=@0x87565b0, handler=0x98c59c0, event=@0xf54d3e8) at ./src/common/event.cpp:1193
#15 0x425cdae0 in wxEventHashTable::HandleEvent (this=0x87566d0, event=@0xf54d3e8, self=0x98c59c0) at ./src/common/event.cpp:875
#16 0x425cdc91 in wxEvtHandler::ProcessEvent (this=0x98c59c0, event=@0xf54d3e8) at ./src/common/event.cpp:1255
#17 0x425ce28f in wxEvtHandler::ProcessPendingEvents (this=0x98c59c0) at ./src/common/event.cpp:1152
#18 0x425438ea in wxAppConsole::ProcessPendingEvents (this=0x98c59c0) at ./src/common/appbase.cpp:296
#19 0x429683f8 in wxapp_pending_callback () at ./src/gtk/app.cpp:214
#20 0x4712d910 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#21 0x4712b6ae in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x4712e6b6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#23 0x4712e9a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x47351b35 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x42981447 in wxEventLoop::Run (this=0xe38d850) at ./src/gtk/evtloop.cpp:80
#26 0x42a11e8a in wxAppBase::MainLoop (this=0x98c59c0) at ./src/common/appcmn.cpp:272
#27 0x42a11f6f in wxAppBase::OnRun (this=0x98c59c0) at ./src/common/appcmn.cpp:340
#28 0x42577874 in wxEntry (argc=@0x0, argv=0x0) at ./src/common/init.cpp:439
#29 0x4257792a in wxEntry (argc=@0xbff0ed20, argv=0x6) at ./src/common/init.cpp:451
#30 0x081d5f07 in main (argc=1, argv=0xbff0eda4) at amule-gui.cpp:150
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: 20051119 (the fourth)
« Reply #1 on: November 25, 2005, 12:07:26 AM »

Looking at the line-numbers I see that you are using patched sources. Please do not post such backtraces, unless you can reproduce the backtrace on a clean copy of the sources. I'd rather not have to attempt to debug problems that may be caused by changes I can't see ...

EDIT: Looks like you are calling back() on a empty list of CTag pointers ...
« Last Edit: November 25, 2005, 12:13:18 AM by Xaignar »
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: 20051119 (the fourth)
« Reply #2 on: November 25, 2005, 09:35:40 PM »

Also, the presence of this:

Code: [Select]
#3  0x413dbd23 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
in your backtrace means libstdc++ just printed some diagnostic information to the console before aborting the program.  However, you did not include what it printed in your copy-and-paste.  In the future, please do include that information with your backtraces.
Logged

lupz

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 54
Re: 20051119 (the fourth)
« Reply #3 on: November 26, 2005, 12:11:44 AM »

you were right, sorry :)
Logged