aMule Forum

English => Backtraces => Topic started by: Stu Redman on April 07, 2008, 04:47:50 PM

Title: Kad crash Windows 8349
Post by: Stu Redman on April 07, 2008, 04:47:50 PM
It keeps crashing after running for about 1h.

The version from 26.3. ran until yesterday and didn't crash once.

Code: [Select]
  $ ./configure --prefix=/home/Martin/amulebin --enable-amule-gui --enable-optimize --disable-upnp --disable-nls



Starting program: D:\aMule/amule.exe

Program received signal SIGSEGV, Segmentation fault.
0x009360d0 in __gnu_debug::_Safe_iterator_base::_M_attach ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
77      c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iost
ream: No such file or directory.
        in c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/i
ostream
Current language:  auto; currently c++
(gdb) bt
#0  0x009360d0 in __gnu_debug::_Safe_iterator_base::_M_attach ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#1  0x0098aee9 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator<CTag*>,
 __gnu_debug_def::list<CTag*, std::allocator<CTag*> > >::_Safe_iterator (
    this=0x22b048, __i=@0x22afe4, __seq=<incomplete type>)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/debug
/safe_iterator.h:111
#2  0x009ff8c0 in __gnu_debug_def::list<CTag*, std::allocator<CTag*> >::begin
    (this=<incomplete type>)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/debug
/list:118
#3  0x00a85391 in Kademlia::CEntry::~CEntry (this=0x95af178)
    at kademlia/kademlia/Entry.h:65
#4  0x004b165b in Kademlia::CIndexed::Clean (this=0x88ba0c8)
    at kademlia/kademlia/Indexed.cpp:469
#5  0x004b205a in Kademlia::CIndexed::SendValidSourceResult (this=0x88ba0c8,
    keyID=@0x22b618, ip=1008535699, port=33662)
    at kademlia/kademlia/Indexed.cpp:1026
#6  0x004ba5ac in Kademlia::CKademliaUDPListener::ProcessSearchRequest (
    this=0x92bc028,
    packetData=0x22b9ca "\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8
Q½9\n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", lenPacket=17, ip=1008535699,
    port=33662) at kademlia/net/KademliaUDPListener.cpp:646
#7  0x004c2a25 in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x92bc028,
    data=0x22b9c8 "õ0\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8Q½9\
n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", lenData=19, ip=1008535699,
    port=33662) at kademlia/net/KademliaUDPListener.cpp:152
#8  0x004a3e50 in Kademlia::CKademlia::ProcessPacket (
    data=0x22b9c8 "õ0\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8Q½9\
n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", lenData=19, ip=1008535699,
    port=33662) at kademlia/kademlia/Kademlia.cpp:313
#9  0x00437991 in CClientUDPSocket::OnPacketReceived (this=0x83b2978, ip=147,
    port=33662,
    buffer=0x22b9c8 "õ0\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8Q½
9\n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", length=19)
    at ClientUDPSocket.cpp:90
#10 0x004719ca in CMuleUDPSocket::OnReceive (this=0x83b2978, errorCode=0)
    at MuleUDPSocket.cpp:179
#11 0x00436419 in CClientUDPSocket::OnReceive (this=0x83b2978, errorCode=0)
    at ClientUDPSocket.cpp:66
#12 0x00829675 in wxEvtHandler::ProcessEventIfMatches ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#13 0x008299cc in wxEventHashTable::HandleEvent ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#14 0x0082a9c9 in wxEvtHandler::ProcessEvent ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#15 0x0082a7e9 in wxEvtHandler::ProcessPendingEvents ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#16 0x00828984 in wxAppConsole::ProcessPendingEvents ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#17 0x00a19645 in wxIdleWakeUpModule::MsgHookProc ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#18 0x7e36f84a in USER32!EnableMenuItem () from C:\WINDOWS\system32\user32.dll
#19 0x00000000 in ?? ()
(gdb)

(gdb) bt full 7
#0  0x009360d0 in __gnu_debug::_Safe_iterator_base::_M_attach ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
        std::__ioinit = {static _S_refcount = 111,
  static _S_synced_with_stdio = true}
        realpos = 1
        realpos = 1
        realpos = 1
        mod = 12173172
        mod = 12173172
        mod = 12173172
        pos = 12173172
        pos = 12173172
        pos = 12173172
        typeinfo name for wxEvtHandler = "12wxEvtHandler"
        CFileDetailListCtrl::sm_eventTableEntries = {
  {<wxEventTableEntryBase> = {m_id = 10057, m_lastId = -1, m_fn = {
        __pfn = 0x6a02a0, __delta = 0}, m_callbackUserData = 0x0},
    m_eventType = @0xec2f34}, {<wxEventTableEntryBase> = {m_id = 0,
      m_lastId = 0, m_fn = {__pfn = 0x0, __delta = 0},
      m_callbackUserData = 0x0}, m_eventType = @0xee650c}}
        typeinfo name for wxThreadHelperThread = "20wxThreadHelperThread"
        CFileDetailListCtrl::sm_eventTable = {baseTable = 0xc1bff0,
  entries = 0xec07d0}
        typeinfo for wxThread = <incomplete type>
        typeinfo name for CMuleListCtrl = "13CMuleListCtrl"
        typeinfo name for wxControlBase = "13wxControlBase"
        typeinfo name for wxControl = "9wxControl"
        typeinfo name for MuleExtern::wxGenericListCtrl = "N10MuleExtern17wxGene
ricListCtrlE"
        typeinfo for wxWindow = <incomplete type>
        typeinfo for wxObject = <incomplete type>
        typeinfo for wxWindowBase = <incomplete type>
        typeinfo for CFileDetailListCtrl = <incomplete type>
        typeinfo for wxEvtHandler = <incomplete type>
        typeinfo name for wxThread = "8wxThread"
        typeinfo for MuleExtern::wxGenericListCtrl = <incomplete type>
        typeinfo name for CFileDetailListCtrl = "19CFileDetailListCtrl"
        typeinfo for wxControlBase = <incomplete type>
        typeinfo for CMuleListCtrl = <incomplete type>
        typeinfo for wxThreadHelperThread = <incomplete type>
        typeinfo name for wxWindow = "8wxWindow"
        CFileDetailListCtrl::sm_eventHashTable = {m_table = @0xc1c770,
  m_rebuildHash = true, m_size = 31, m_eventTypeTable = 0x3edc38,
  static sm_first = 0xcd2190, m_previous = 0xec0788, m_next = 0xec0860}
        typeinfo for wxControl = <incomplete type>
        typeinfo name for wxObject = "8wxObject"
        typeinfo name for wxWindowBase = "12wxWindowBase"
#1  0x0098aee9 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator<CTag*>,
 __gnu_debug_def::list<CTag*, std::allocator<CTag*> > >::_Safe_iterator (
    this=0x22b048, __i=@0x22afe4, __seq=<incomplete type>)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/debug
/safe_iterator.h:111
        this = (
    _Safe_iterator<__gnu_norm::_List_iterator<CTag*>,__gnu_debug_def::list<CTag*
, std::allocator<CTag*> > > * const) 0x22b048
        __i = (const _List_iterator<CTag*> &) @0x740065: {_M_node = 0x0}
#2  0x009ff8c0 in __gnu_debug_def::list<CTag*, std::allocator<CTag*> >::begin
    (this=<incomplete type>)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/debug
/list:118
        this = <incomplete type>
#3  0x00a85391 in Kademlia::CEntry::~CEntry (this=0x95af178)
    at kademlia/kademlia/Entry.h:65
        this = (CEntry * const) 0x95af178
        it = {<_Safe_iterator_base> = {_M_sequence = 0x0, _M_version = 0,
    _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0x0}}
        it = {<_Safe_iterator_base> = {_M_sequence = 0x0, _M_version = 0,
    _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0x0}}
        it = {<_Safe_iterator_base> = {_M_sequence = 0x0, _M_version = 0,
    _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0x0}}
        it = {<_Safe_iterator_base> = {_M_sequence = 0x0, _M_version = 0,
    _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0x0}}
#4  0x004b165b in Kademlia::CIndexed::Clean (this=0x88ba0c8)
    at kademlia/kademlia/Indexed.cpp:469
        currName = (CEntry *) 0x95af178
        currSource = (Source *) 0x938f180
        itEntry = {<_Safe_iterator_base> = {_M_sequence = 0x938f198,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x938f190}}
        curr_itSrcHash = {<_Safe_iterator_base> = {_M_sequence = 0x88ba110,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x22b268}, _M_current = {
    _M_node = 0x9439b60}}
        currSrcHash = (SrcHash *) 0x947fc60
        itSource = {<_Safe_iterator_base> = {_M_sequence = 0x947fc78,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x942eaa8}}
        this = (CIndexed * const) 0x88ba0c8
        k_Removed = 186
        s_Removed = 1
        s_Total = 10
        k_Total = 3890
        tNow = 1207565343
        itKeyHash = {<_Safe_iterator_base> = {_M_sequence = 0x88ba0ec,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x88ba0d8}}
        itSrcHash = {<_Safe_iterator_base> = {_M_sequence = 0x88ba110,
    _M_version = 1, _M_prior = 0x22b228, _M_next = 0x22b568}, _M_current = {
    _M_node = 0x8920620}}
        k_Removed = 186
        s_Removed = 1
        s_Total = 10
        k_Total = 3890
        tNow = 1207565343
        itKeyHash = {<_Safe_iterator_base> = {_M_sequence = 0x88ba0ec,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x88ba0d8}}
        itSrcHash = {<_Safe_iterator_base> = {_M_sequence = 0x88ba110,
    _M_version = 1, _M_prior = 0x22b228, _M_next = 0x22b568}, _M_current = {
    _M_node = 0x8920620}}
#5  0x004b205a in Kademlia::CIndexed::SendValidSourceResult (this=0x88ba0c8,
    keyID=@0x22b618, ip=1008535699, port=33662)
    at kademlia/kademlia/Indexed.cpp:1026
        packetdata = {<CFileDataIO> = {_vptr$CFileDataIO = 0xcba0c8},
  m_growthRate = 51200, m_position = 18, m_BufferSize = 51200,
  m_fileSize = 208, m_delete = true, m_readonly = false,
  m_buffer = 0x95e8fe8 "\233-\b\001\222FÀI÷T'.@\003²þ\003"}
        count = 3
        itSource = {<_Safe_iterator_base> = {_M_sequence = 0x9358958,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x9358950}}
        ccount = 3
        this = (CIndexed * const) 0x88ba0c8
        keyID = (const CUInt128 &) @0x22b618: {m_data = {17353371,
    1236747922, 774329590, 3892118336}}
        port = 33662
        currSrcHash = (SrcHash *) 0x9358940
        itSrcHash = {<_Safe_iterator_base> = {_M_sequence = 0x88ba110,
    _M_version = 1, _M_prior = 0x22b268, _M_next = 0x0}, _M_current = {
    _M_node = 0x93cfac0}}
        currSrcHash = (SrcHash *) 0x9358940
        itSrcHash = {<_Safe_iterator_base> = {_M_sequence = 0x88ba110,
    _M_version = 1, _M_prior = 0x22b268, _M_next = 0x0}, _M_current = {
    _M_node = 0x93cfac0}}
#6  0x004ba5ac in Kademlia::CKademliaUDPListener::ProcessSearchRequest (
    this=0x92bc028,
    packetData=0x22b9ca "\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8
Q½9\n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", lenPacket=17, ip=1008535699,
    port=33662) at kademlia/net/KademliaUDPListener.cpp:646
        bio = {<CFileDataIO> = {_vptr$CFileDataIO = 0xcba0c8},
  m_growthRate = 0, m_position = 17, m_BufferSize = 17, m_fileSize = 17,
  m_delete = false, m_readonly = true,
  m_buffer = 0x22b9ca "\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8Q½
9\n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^"}
        target = {m_data = {17353371, 1236747922, 774329590, 3892118336}}
        packetData = (
    const uint8_t *) 0x740065 " t\b\205÷\211+t\016\211\a\211­^[^_]+\211ÍÙÞ©    Ù
Ù\220\215Â"
        port = 33662
        __FUNCTION__ = "ProcessSearchRequest"
        __FUNCTION__ = "ProcessSearchRequest"
(More stack frames follow...)
(gdb)
(gdb) thread apply all bt

Thread 4 (thread 660.0xd48):
#0  0x7c91eb94 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c91e9c0 in ntdll!ZwWaitForSingleObject ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8025cb in WaitForSingleObjectEx ()
   from C:\WINDOWS\system32\kernel32.dll
#3  0x0000050c in ?? ()
#4  0x00000000 in ?? ()

Thread 3 (thread 660.0x420):
#0  0x7c91eb94 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c91d85c in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8023ed in SleepEx () from C:\WINDOWS\system32\kernel32.dll
#3  0x00000000 in ?? ()

Thread 2 (thread 660.0x608):
#0  0x7c91eb94 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c91e31b in ntdll!ZwRemoveIoCompletion ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x719bd609 in WSPStartup () from C:\WINDOWS\System32\mswsock.dll
#3  0x0000061c in ?? ()
#4  0x0866ffbc in ?? ()
#5  0x0866ffb0 in ?? ()
#6  0x0866ffa4 in ?? ()
#7  0x719bd650 in WSPStartup () from C:\WINDOWS\System32\mswsock.dll
#8  0x0022f558 in ?? ()
#9  0x7c91ee18 in strchr () from C:\WINDOWS\system32\ntdll.dll
#10 0x00262068 in ?? ()
#11 0xc0000120 in ?? ()
#12 0x00000000 in ?? ()

Thread 1 (thread 660.0x270):
#0  0x009360d0 in __gnu_debug::_Safe_iterator_base::_M_attach ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#1  0x0098aee9 in __gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator<CTag*>,
 __gnu_debug_def::list<CTag*, std::allocator<CTag*> > >::_Safe_iterator (
    this=0x22b048, __i=@0x22afe4, __seq=<incomplete type>)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/debug
/safe_iterator.h:111
#2  0x009ff8c0 in __gnu_debug_def::list<CTag*, std::allocator<CTag*> >::begin
    (this=<incomplete type>)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/debug
/list:118
#3  0x00a85391 in Kademlia::CEntry::~CEntry (this=0x95af178)
    at kademlia/kademlia/Entry.h:65
#4  0x004b165b in Kademlia::CIndexed::Clean (this=0x88ba0c8)
    at kademlia/kademlia/Indexed.cpp:469
#5  0x004b205a in Kademlia::CIndexed::SendValidSourceResult (this=0x88ba0c8,
    keyID=@0x22b618, ip=1008535699, port=33662)
    at kademlia/kademlia/Indexed.cpp:1026
#6  0x004ba5ac in Kademlia::CKademliaUDPListener::ProcessSearchRequest (
    this=0x92bc028,
    packetData=0x22b9ca "\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8
Q½9\n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", lenPacket=17, ip=1008535699,
    port=33662) at kademlia/net/KademliaUDPListener.cpp:646
#7  0x004c2a25 in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x92bc028,
    data=0x22b9c8 "õ0\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8Q½9\
n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", lenData=19, ip=1008535699,
    port=33662) at kademlia/net/KademliaUDPListener.cpp:152
#8  0x004a3e50 in Kademlia::CKademlia::ProcessPacket (
    data=0x22b9c8 "õ0\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8Q½9\
n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", lenData=19, ip=1008535699,
    port=33662) at kademlia/kademlia/Kademlia.cpp:313
#9  0x00437991 in CClientUDPSocket::OnPacketReceived (this=0x83b2978, ip=147,
    port=33662,
    buffer=0x22b9c8 "õ0\233-\b\001\222FÀI÷T'.@\003²þ\001K§­g¦TÑ\001¶²+_¸IH~ÐÚ8Q½
9\n|\001§{­gc(XUæ\t¦\200\201-AÊ´\226- ¦Ò^", length=19)
    at ClientUDPSocket.cpp:90
#10 0x004719ca in CMuleUDPSocket::OnReceive (this=0x83b2978, errorCode=0)
    at MuleUDPSocket.cpp:179
#11 0x00436419 in CClientUDPSocket::OnReceive (this=0x83b2978, errorCode=0)
    at ClientUDPSocket.cpp:66
#12 0x00829675 in wxEvtHandler::ProcessEventIfMatches ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#13 0x008299cc in wxEventHashTable::HandleEvent ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#14 0x0082a9c9 in wxEvtHandler::ProcessEvent ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#15 0x0082a7e9 in wxEvtHandler::ProcessPendingEvents ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#16 0x00828984 in wxAppConsole::ProcessPendingEvents ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#17 0x00a19645 in wxIdleWakeUpModule::MsgHookProc ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#18 0x7e36f84a in USER32!EnableMenuItem () from C:\WINDOWS\system32\user32.dll
#19 0x00000000 in ?? ()
(gdb)
Title: Re: Kad crash Windows 8349
Post by: Stu Redman on April 07, 2008, 04:51:36 PM
Second one.

Code: [Select]
(gdb) run
Starting program: D:\aMule/amule.exe

Program received signal SIGSEGV, Segmentation fault.
0x0095e998 in __gnu_norm::_List_const_iterator<CTag*>::operator++ (
    this=0x22b308)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_list.h:221
221     c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits
/stl_list.h: No such file or directory.
        in c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/b
its/stl_list.h
Current language:  auto; currently c++
(gdb) bt
#0  0x0095e998 in __gnu_norm::_List_const_iterator<CTag*>::operator++ (
    this=0x22b308)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_list.h:221
#1  0x00b672ac in std::__distance<__gnu_norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0xff77840f}, __last={_M_node = 0x9599d90})
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_iterator_base_funcs.h:83
#2  0x00b89098 in std::distance<__gnu_norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x720074}, __last={_M_node = 0x9599d90})
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_iterator_base_funcs.h:117
#3  0x00a9af2d in __gnu_norm::list<CTag*, std::allocator<CTag*> >::size (
    this=0x9599d90)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_list.h:676
#4  0x005944aa in CFileDataIO::WriteTagPtrList (this=0x22b528,
    tagList=@0x9599d90) at SafeFile.cpp:551
#5  0x004b2112 in Kademlia::CIndexed::SendValidSourceResult (this=0x88bd740,
    keyID=@0x22b618, ip=1989369471, port=31057)
    at kademlia/kademlia/Indexed.cpp:1007
#6  0x004ba5ac in Kademlia::CKademliaUDPListener::ProcessSearchRequest (
    this=0x94016a8,
    packetData=0x22b9ca "+\227\b\001ý\204¯\002\023¦À_V\177È+\001h+\b\001¾¬\214\0
31ÊÏÝ\201\037u\224Ù\016\003\t\001", lenPacket=17, ip=1989369471, port=31057)
    at kademlia/net/KademliaUDPListener.cpp:646
#7  0x004c2a25 in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x94016a8,
    data=0x22b9c8 "õ0+\227\b\001ý\204¯\002\023¦À_V\177È+\001h+\b\001¾¬\214\031ÊÏ
Ý\201\037u\224Ù\016\003\t\001", lenData=19, ip=1989369471, port=31057)
    at kademlia/net/KademliaUDPListener.cpp:152
#8  0x004a3e50 in Kademlia::CKademlia::ProcessPacket (
    data=0x22b9c8 "õ0+\227\b\001ý\204¯\002\023¦À_V\177È+\001h+\b\001¾¬\214\031ÊÏ
Ý\201\037u\224Ù\016\003\t\001", lenData=19, ip=1989369471, port=31057)
    at kademlia/kademlia/Kademlia.cpp:313
#9  0x00437991 in CClientUDPSocket::OnPacketReceived (this=0x83b1468, ip=127,
    port=31057,
    buffer=0x22b9c8 "õ0+\227\b\001ý\204¯\002\023¦À_V\177È+\001h+\b\001¾¬\214\031
ÊÏÝ\201\037u\224Ù\016\003\t\001", length=19) at ClientUDPSocket.cpp:90
#10 0x004719ca in CMuleUDPSocket::OnReceive (this=0x83b1468, errorCode=0)
    at MuleUDPSocket.cpp:179
#11 0x00436419 in CClientUDPSocket::OnReceive (this=0x83b1468, errorCode=0)
    at ClientUDPSocket.cpp:66
#12 0x00829675 in wxEvtHandler::ProcessEventIfMatches ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#13 0x008299cc in wxEventHashTable::HandleEvent ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#14 0x0082a9c9 in wxEvtHandler::ProcessEvent ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#15 0x0082a7e9 in wxEvtHandler::ProcessPendingEvents ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#16 0x00828984 in wxAppConsole::ProcessPendingEvents ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#17 0x00a19645 in wxIdleWakeUpModule::MsgHookProc ()
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostr
eam:77
#18 0x7e36f84a in USER32!EnableMenuItem () from C:\WINDOWS\system32\user32.dll
#19 0x00000000 in ?? ()
(gdb)

(gdb) bt full 6
#0  0x0095e998 in __gnu_norm::_List_const_iterator<CTag*>::operator++ (
    this=0x22b308)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_list.h:221
        this = (_List_const_iterator<CTag*> * const) 0x22b308
#1  0x00b672ac in std::__distance<__gnu_norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0xff77840f}, __last={_M_node = 0x9599d90})
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_iterator_base_funcs.h:83
        __n = 2
#2  0x00b89098 in std::distance<__gnu_norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x720074}, __last={_M_node = 0x9599d90})
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_iterator_base_funcs.h:117
No locals.
#3  0x00a9af2d in __gnu_norm::list<CTag*, std::allocator<CTag*> >::size (
    this=0x9599d90)
    at c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/
stl_list.h:676
        this = (const list<CTag*,std::allocator<CTag*> > * const) 0x2
#4  0x005944aa in CFileDataIO::WriteTagPtrList (this=0x22b528,
    tagList=@0x9599d90) at SafeFile.cpp:551
        this = (CFileDataIO * const) 0x22b528
        tagList = (
    const TagPtrList &) @0x9599d90: {<list<CTag*,std::allocator<CTag*> >> = {<_L
ist_base<CTag*,std::allocator<CTag*> >> = {
      _M_impl = {<allocator<__gnu_norm::_List_node<CTag*> >> = {<new_allocator<_
_gnu_norm::_List_node<CTag*> >> = {<No data fields>}, <No data fields>},
        _M_node = {_M_next = 0x720074,
          _M_prev = 0x6d0065}}}, <No data fields>}, <_Safe_sequence<__gnu_debug_
def::list<CTag*, std::allocator<CTag*> > >> = {<_Safe_sequence_base> = {
      _M_iterators = 0x200065, _M_const_iterators = 0x2e0036,
      _M_version = 12255280}, <No data fields>}, <No data fields>}
        count = 2274056
        it = {<_Safe_iterator_base> = {_M_sequence = 0x22b528,
    _M_version = 2274316, _M_prior = 0x4, _M_next = 0x954a2b8}, _M_current = {
    _M_node = 0x22b4e8}}
#5  0x004b2112 in Kademlia::CIndexed::SendValidSourceResult (this=0x88bd740,
    keyID=@0x22b618, ip=1989369471, port=31057)
    at kademlia/kademlia/Indexed.cpp:1007
        currName = (CEntry *) 0x9599d60
        packetdata = {<CFileDataIO> = {_vptr$CFileDataIO = 0xcba0c8},
  m_growthRate = 51200, m_position = 191, m_BufferSize = 51200,
  m_fileSize = 191, m_delete = true, m_readonly = false,
  m_buffer = 0x98a4028 "+\227\b\001ý\204¯\002\023¦À_V\177È+2"}
        count = 3
        itSource = {<_Safe_iterator_base> = {_M_sequence = 0x954a2c0,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x947bf08}}
        ccount = 9
        this = (CIndexed * const) 0x88bd740
        keyID = (const CUInt128 &) @0x22b618: {m_data = {17340366, 48202988,
    1605880851, 3386146646}}
        port = 31057
        currSrcHash = (SrcHash *) 0x954a2a8
        itSrcHash = {<_Safe_iterator_base> = {_M_sequence = 0x88bd788,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x96549b0}}
        currSrcHash = (SrcHash *) 0x954a2a8
        itSrcHash = {<_Safe_iterator_base> = {_M_sequence = 0x88bd788,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x96549b0}}
(More stack frames follow...)
(gdb)
Title: Re: Kad crash Windows 8349
Post by: Gerd78 on April 07, 2008, 08:26:30 PM
Does not seem to be Windows specific, I am getting that one on Linux as well:
Code: [Select]
(gdb) run
Starting program: /home/user/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0xb6cb86d0 (LWP 9499)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
ListenSocket: Ok.
[New Thread 0xb35cdb90 (LWP 9507)]
Loading temp files from /home/user/.aMule/Temp.
Loading PartFile 20 of 20
All PartFiles Loaded.
Adding file /home/user/.aMule/Temp/064.part.met to shares
Adding file /home/user/.aMule/Temp/024.part.met to shares
Adding file /home/user/.aMule/Temp/023.part.met to shares
Adding file /home/user/.aMule/Temp/020.part.met to shares
Adding file /home/user/.aMule/Temp/013.part.met to shares
Adding file /home/user/.aMule/Temp/012.part.met to shares
Adding file /home/user/.aMule/Temp/010.part.met to shares
Adding file /home/user/.aMule/Temp/006.part.met to shares
Adding file /home/user/.aMule/Temp/005.part.met to shares
Adding file /home/user/.aMule/Temp/003.part.met to shares
[New Thread 0xb2dccb90 (LWP 9508)]
[New Thread 0xb25cbb90 (LWP 9509)]
[Thread 0xb2dccb90 (LWP 9508) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6cb86d0 (LWP 9499)]
0x00000029 in ?? ()
(gdb) bt
#0  0x00000029 in ?? ()
#1  0x08206814 in Kademlia::CIndexed::AddSources (this=0x8fb7d68,
    keyID=@0xbfdd4bec, sourceID=@0xbfdd4bc4, entry=0x92acc28, load=@0xbfdd4bd7)
    at kademlia/kademlia/Indexed.cpp:597
#2  0x0821b713 in Kademlia::CKademliaUDPListener::ProcessPublishRequest (
    this=0x8facdb8,
    packetData=0xbfdd515e "\0010�\0048y�@\200\027�\026|*3�\001",
    lenPacket=105, ip=3658879030, port=7585)
    at kademlia/net/KademliaUDPListener.cpp:828
#3  0x08220e3b in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x8facdb8, data=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001",
    lenData=107, ip=3658879030, port=7585)
    at kademlia/net/KademliaUDPListener.cpp:160
#4  0x081ea543 in Kademlia::CKademlia::ProcessPacket (
    data=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001", lenData=107,
    ip=3658879030, port=7585) at kademlia/kademlia/Kademlia.cpp:313
#5  0x080de2b8 in CClientUDPSocket::OnPacketReceived (this=0x8ccf8c8,
    ip=907024090, port=7585,
    buffer=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001", length=107)
    at ClientUDPSocket.cpp:90
#6  0x081797bb in CMuleUDPSocket::OnReceive (this=0x8ccf8c8, errorCode=0)
    at MuleUDPSocket.cpp:179
#7  0x080deb22 in CClientUDPSocket::OnReceive (this=0x8ccf8c8, errorCode=0)
    at ClientUDPSocket.cpp:66
#8  0x080747c3 in CamuleApp::UDPSocketHandler (this=0x8964b58,
    event=@0x9036610) at amule.cpp:2109
#9  0xb79f0fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7a981c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7a98328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7a9848f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb7a989c0 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb79f195f in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#15 0xb7d0bd52 in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb79f0fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#17 0xb7a981c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7a98328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb7a9848f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#20 0xb7d0c01e in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7c50c91 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0xb71e5a31 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00000000 in ?? ()
(gdb) bt full
#0  0x00000029 in ?? ()
No symbol table info available.
#1  0x08206814 in Kademlia::CIndexed::AddSources (this=0x8fb7d68,
    keyID=@0xbfdd4bec, sourceID=@0xbfdd4bc4, entry=0x92acc28, load=@0xbfdd4bd7)
    at kademlia/kademlia/Indexed.cpp:597
        currName = (Kademlia::CEntry *) 0x94695e8
        currEntry = (Kademlia::CEntry *) 0x94695e8
        currSource = (Source *) 0x91db2d8
        size = 2
        itSource = {<__gnu_debug::_Safe_iterator_base> = {
    _M_sequence = 0x91db318, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0x9067768}}
        currSrcHash = (SrcHash *) 0x91db300
        itSrcHash = {<__gnu_debug::_Safe_iterator_base> = {
    _M_sequence = 0x8fb7db0, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0x9067778}}
#2  0x0821b713 in Kademlia::CKademliaUDPListener::ProcessPublishRequest (
    this=0x8facdb8,
    packetData=0xbfdd515e "\0010�\0048y�@\200\027�\026|*3�\001",
    lenPacket=105, ip=3658879030, port=7585)
    at kademlia/net/KademliaUDPListener.cpp:828
        target = {m_data = {632629773, 2886600823, 3758452194, 1217425235}}
        entry = (Kademlia::CEntry *) 0x92acc28
        tags = 0
        totaltags = 1
        indexed = (class Kademlia::CIndexed *) 0x8fb7d68
        bio = {<CFileDataIO> = {_vptr.CFileDataIO = 0x85e9a88},
  m_growthRate = 0, m_position = 105, m_BufferSize = 105, m_fileSize = 105,
  m_delete = false, m_readonly = true,
  m_buffer = 0xbfdd515e "\0010�\0048y�@\200\027�\026|*3�\001"}
        file = {m_data = {78524417, 1086421304, 385423232, 3811781244}}
        distance = {m_data = {19936, 2371547672, 1782710256, 1853361953}}
        strInfo = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb7ab9f98}, <No data fields>}
        count = 1
        totalcount = 1
        flag = false
        load = 0 '\0'
        __FUNCTION__ = "ProcessPublishRequest"
#3  0x08220e3b in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x8facdb8, data=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001",
    lenData=107, ip=3658879030, port=7585)
    at kademlia/net/KademliaUDPListener.cpp:160
        curCon = true
        opcode = 64 '@'
        packetData = (
    const unsigned char *) 0xbfdd515e "\0010�\0048y�@\200\027�\026|*3�\001"
        lenPacket = 105
#4  0x081ea543 in Kademlia::CKademlia::ProcessPacket (
    data=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001", lenData=107,
    ip=3658879030, port=7585) at kademlia/kademlia/Kademlia.cpp:313
No locals.
#5  0x080de2b8 in CClientUDPSocket::OnPacketReceived (this=0x8ccf8c8,
    ip=907024090, port=7585,
    buffer=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001", length=107)
    at ClientUDPSocket.cpp:90
        protocol = 228 '
        opcode = 64 '@'
#6  0x081797bb in CMuleUDPSocket::OnReceive (this=0x8ccf8c8, errorCode=0)
    at MuleUDPSocket.cpp:179
        buffer = "�@\0010�\0048y�@\200\027�\026|*3�\001\000\r*�%w\b\016��m\005�So\220H\006\t\001\000�\003\003\001\000�R\237\033�\b\001\000��\a\002\001\000� \000A67553E535573D7F56E9A05F90F24F42\003\001\000�����\t\001\000�\003", '\0' <repeats 4961 times>, "1\004��", '\0' <repeats 24 times>, "\033%", '\0' <repeats 22 times>, "�\237ֶ8t\227\b\234\027��\230eݿ1�ն\001", '\0' <repeats 11 times>, "�\237ֶHfݿ0\205\227\b\230eݿ�\237նDt\227\b�\237"...
        addr = <incomplete type>
        length = 107
        error = false
        lastError = 0
        ip = 907024090
        port = 7585
#7  0x080deb22 in CClientUDPSocket::OnReceive (this=0x8ccf8c8, errorCode=0)
    at ClientUDPSocket.cpp:66
No locals.
#8  0x080747c3 in CamuleApp::UDPSocketHandler (this=0x8964b58,
    event=@0x9036610) at amule.cpp:2109
        socket = (class CMuleUDPSocket *) 0x8ccf8c8
#9  0xb79f0fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0xb7a981c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb7a98328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0xb7a9848f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0xb7a989c0 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#14 0xb79f195f in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0xb7d0bd52 in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0xb79f0fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#17 0xb7a981c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#18 0xb7a98328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0xb7a9848f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#20 0xb7d0c01e in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0xb7c50c91 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0xb71e5a31 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x00000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 0xb25cbb90 (LWP 9509)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f727ec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb7a956cc in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7a9572f in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7a963e5 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7a9646f in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08382b6c in CTimerThread::Entry (this=0x8fbe1e8) at Timer.cpp:64
#7  0xb7a96a38 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7a96aad in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7f6e192 in start_thread () from /lib/libpthread.so.0
#10 0xb77d502e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb35cdb90 (LWP 9507)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f75846 in nanosleep () from /lib/libpthread.so.0
#2  0xb7a9c218 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7a9c241 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7a94e2d in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x081cc119 in UploadBandwidthThrottler::Entry (this=0x8f27f00)
    at UploadBandwidthThrottler.cpp:324
#6  0xb7a96a38 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7a96aad in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7f6e192 in start_thread () from /lib/libpthread.so.0
#9  0xb77d502e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6cb86d0 (LWP 9499)):
#0  0x00000029 in ?? ()
#1  0x08206814 in Kademlia::CIndexed::AddSources (this=0x8fb7d68,
    keyID=@0xbfdd4bec, sourceID=@0xbfdd4bc4, entry=0x92acc28, load=@0xbfdd4bd7)
    at kademlia/kademlia/Indexed.cpp:597
#2  0x0821b713 in Kademlia::CKademliaUDPListener::ProcessPublishRequest (
    this=0x8facdb8,
    packetData=0xbfdd515e "\0010�\0048y�@\200\027�\026|*3�\001",
    lenPacket=105, ip=3658879030, port=7585)
    at kademlia/net/KademliaUDPListener.cpp:828
#3  0x08220e3b in Kademlia::CKademliaUDPListener::ProcessPacket (
    this=0x8facdb8, data=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001",
    lenData=107, ip=3658879030, port=7585)
    at kademlia/net/KademliaUDPListener.cpp:160
#4  0x081ea543 in Kademlia::CKademlia::ProcessPacket (
    data=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001", lenData=107,
    ip=3658879030, port=7585) at kademlia/kademlia/Kademlia.cpp:313
#5  0x080de2b8 in CClientUDPSocket::OnPacketReceived (this=0x8ccf8c8,
    ip=907024090, port=7585,
    buffer=0xbfdd515c "�@\0010�\0048y�@\200\027�\026|*3�\001", length=107)
    at ClientUDPSocket.cpp:90
#6  0x081797bb in CMuleUDPSocket::OnReceive (this=0x8ccf8c8, errorCode=0)
    at MuleUDPSocket.cpp:179
#7  0x080deb22 in CClientUDPSocket::OnReceive (this=0x8ccf8c8, errorCode=0)
    at ClientUDPSocket.cpp:66
#8  0x080747c3 in CamuleApp::UDPSocketHandler (this=0x8964b58,
    event=@0x9036610) at amule.cpp:2109
#9  0xb79f0fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7a981c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7a98328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7a9848f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb7a989c0 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb79f195f in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#15 0xb7d0bd52 in wxAppBase::OnIdle () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb79f0fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#17 0xb7a981c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7a98328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb7a9848f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#20 0xb7d0c01e in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7c50c91 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0xb71e5a31 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00000000 in ?? ()
These crashes occur randomly after running aMule for an hour or so. This is today's svn tarball compiled with gcc 4.3.0.
Title: Re: Kad crash Windows 8349
Post by: Kry on April 07, 2008, 10:16:52 PM
Which tarball started showing this?
Title: Re: Kad crash Windows 8349
Post by: Stu Redman on April 08, 2008, 12:58:40 AM
I reverted ony src/kademlia to 8255 (rest is 8349) and it's been running fine for almost 8 hours. So it is the kademlia path.
But that's cutting a bit too far behind probably, the 8256 change looks fine to me. Next is 8332 (3.4.), only 4 days ago.

I'd take a close look at 8340- Indexed.cpp . There was some juggling done with "return true/false" which deserves a review imho. Let's see...
The idea was to remove some return true  in the control structure (and an unreachable return false at the end), and let it all run on the new return true at the end.
But - returns in 595 and 602 were inside a for-loop and are now missing. That's definitely different behaviour. Same thing 669/676. (numbers from 8339)

Putting these four back in would be worth a try. But I'll leave that for tomorrow, for tomorrow is another day.  ;)
Title: Re: Kad crash Windows 8349
Post by: MalaPraxis on April 09, 2008, 10:38:22 PM
I reverted the return statements changes in case it was that. Please test!
Title: Re: Kad crash Windows 8349
Post by: Stu Redman on April 10, 2008, 08:18:11 PM
Running fine for 21 hours. Looks like you pulled the bad tooth out.  :D