aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Assertion on CAICHHashSet::CreatePartRecoveryData  (Read 1837 times)

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Assertion on CAICHHashSet::CreatePartRecoveryData
« on: January 22, 2007, 10:43:54 PM »

Code: [Select]
(gdb) bt
#0  0x0034b402 in __kernel_vsyscall ()
#1  0x004e234e in raise () from /lib/libpthread.so.0
#2  0x00b0a1ad in wxTrap () at ./src/common/appbase.cpp:672
#3  0x0066d033 in wxGUIAppTraits::ShowAssertDialog (this=0x9430a00, msg=@0xbf88361c) at ./src/gtk/utilsgtk.cpp:425
#4  0x00b0a7a1 in ShowAssertDialog (szFile=0x8506914, nLine=471, szFunc=0x14333e64, szCond=0x8506a28, szMsg=0x0, traits=0x9430a00)
    at ./src/common/appbase.cpp:839
#5  0x00b0ad77 in wxAppConsole::OnAssertFailure (this=0x9409f90, file=0x8506914, line=471, func=0x14333e64, cond=0x8506a28, msg=0x0)
    at ./src/common/appbase.cpp:443
#6  0x0063e3d1 in wxApp::OnAssertFailure (this=0x9409f90, file=0x8506914, line=471, func=0x14333e64, cond=0x8506a28, msg=0x0) at ./src/gtk/app.cpp:624
#7  0x00b0a8aa in wxOnAssert (szFile=0x8506914, nLine=471, szFunc=0x8508294 "CreatePartRecoveryData", szCond=0x8506a28, szMsg=0x0)
    at ./src/common/appbase.cpp:712
#8  0x08314f9e in CAICHHashSet::CreatePartRecoveryData (this=0x154eb088, nPartStartPos=155648000, fileDataOut=0xbf883804, bDbgDontLoad=false)
    at SHAHashSet.cpp:471
#9  0x080d369d in CUpDownClient::ProcessAICHRequest (this=0x169be158, packet=0x163dbb50 "æ=Ä\034ô\202W\b!q\2117¤÷ò\020", size=38)
    at DownloadClient.cpp:1627
#10 0x080c41dc in CClientTCPSocket::ProcessExtPacket (this=0x16f2fa08, buffer=0x163dbb50 "æ=Ä\034ô\202W\b!q\2117¤÷ò\020", size=38, opcode=155 '\233')
    at ClientTCPSocket.cpp:1593
#11 0x080cbf9a in CClientTCPSocket::PacketReceived (this=0x16f2fa08, packet=0x14fee3c0) at ClientTCPSocket.cpp:1953
#12 0x0811a818 in CEMSocket::OnReceive (this=0x16f2fa08, nErrorCode=0) at EMSocket.cpp:316
#13 0x080c007c in CClientTCPSocket::OnReceive (this=0x16f2fa08, nErrorCode=0) at ClientTCPSocket.cpp:1856
#14 0x080bfeac in CClientTCPSocketHandler::ClientTCPSocketHandler (this=0x862a1e0, event=@0x1138e1b0) at ClientTCPSocket.cpp:99
#15 0x00b099fe in wxAppConsole::HandleEvent (this=0x9409f90, handler=0x862a1e0, func=
      {__pfn = 0x80bfd7e , __delta = 0}, event=@0x1138e1b0)
    at ./src/common/appbase.cpp:320
#16 0x00bc8f1c in wxEvtHandler::ProcessEventIfMatches (entry=@0x862a180, handler=0x862a1e0, event=@0x1138e1b0) at ./src/common/event.cpp:1203
#17 0x00bc930a in wxEventHashTable::HandleEvent (this=0x862a1b0, event=@0x1138e1b0, self=0x862a1e0) at ./src/common/event.cpp:877
#18 0x00bca41b in wxEvtHandler::ProcessEvent (this=0x862a1e0, event=@0x1138e1b0) at ./src/common/event.cpp:1265
#19 0x00bca045 in wxEvtHandler::ProcessPendingEvents (this=0x862a1e0) at ./src/common/event.cpp:1161
#20 0x00b09942 in wxAppConsole::ProcessPendingEvents (this=0x9409f90) at ./src/common/appbase.cpp:292
#21 0x006f72d0 in wxAppBase::OnIdle (this=0x9409f90) at ./src/common/appcmn.cpp:488
#22 0x00b099fe in wxAppConsole::HandleEvent (this=0x9409f90, handler=0x9409f90, func={__pfn = 0x6f72aa , __delta = 0},
    event=@0xbf88413c) at ./src/common/appbase.cpp:320
#23 0x00bc8f1c in wxEvtHandler::ProcessEventIfMatches (entry=@0x8e6c40, handler=0x9409f90, event=@0xbf88413c) at ./src/common/event.cpp:1203
#24 0x00bc930a in wxEventHashTable::HandleEvent (this=0x8812f48, event=@0xbf88413c, self=0x9409f90) at ./src/common/event.cpp:877
#25 0x00bca41b in wxEvtHandler::ProcessEvent (this=0x9409f90, event=@0xbf88413c) at ./src/common/event.cpp:1265
#26 0x006f70f2 in wxAppBase::ProcessIdle (this=0x9409f90) at ./src/common/appcmn.cpp:442
#27 0x0063d403 in wxapp_idle_callback () at ./src/gtk/app.cpp:231
#28 0x00c89730 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#29 0x00c874ce in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00c8a4d6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#31 0x00c8a7c3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#32 0x05562a46 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x0065d9b0 in wxEventLoop::Run (this=0xbe0ba50) at ./src/gtk/evtloop.cpp:76
#34 0x006f6d29 in wxAppBase::MainLoop (this=0x9409f90) at ./src/common/appcmn.cpp:308
#35 0x006f6eb3 in wxAppBase::OnRun (this=0x9409f90) at ./src/common/appcmn.cpp:363
#36 0x00b52265 in wxEntry (argc=@0xc60d8c, argv=0x93f9090) at ./src/common/init.cpp:449
#37 0x00b52340 in wxEntry (argc=@0xbf884430, argv=0xbf8844b4) at ./src/common/init.cpp:461
#38 0x082217f6 in main (argc=2, argv=0xbf8844b4) at amule-gui.cpp:95
(gdb) frame 8
#8  0x08314f9e in CAICHHashSet::CreatePartRecoveryData (this=0x154eb088, nPartStartPos=155648000, fileDataOut=0xbf883804, bDbgDontLoad=false)
    at SHAHashSet.cpp:471
471                     wxASSERT( false );
(gdb) l
466
467     bool CAICHHashSet::CreatePartRecoveryData(uint64 nPartStartPos, CFileDataIO* fileDataOut, bool bDbgDontLoad)
468     {
469             wxASSERT( m_pOwner );
470             if (m_pOwner->IsPartFile() || m_eStatus != AICH_HASHSETCOMPLETE) {
471                     wxASSERT( false );
472                     return false;
473             }
474             if (m_pHashTree.m_nDataSize <= EMBLOCKSIZE) {
475                     wxASSERT( false );
(gdb) p m_eStatus
$1 = AICH_HASHSETCOMPLETE
(gdb) p m_pOwner->IsPartFile()
$2 = true
(gdb) p *this
$3 = {m_pOwner = 0xba6fd00, m_eStatus = AICH_HASHSETCOMPLETE,
  m_aUntrustedHashs = {<__gnu_norm::deque >> = {<__gnu_norm::_Deque_base >> = {
        _M_impl = {> = {<__gnu_cxx::__mt_alloc >> = {<__gnu_cxx::__mt_alloc_base> = {}, }, }, _M_map = 0xd8a8f78,
          _M_map_size = 8, _M_start = {_M_cur = 0x164e37a8, _M_first = 0x164e37a8, _M_last = 0x164e39a0, _M_node = 0xd8a8f84}, _M_finish = {
            _M_cur = 0x164e37a8, _M_first = 0x164e37a8, _M_last = 0x164e39a0,
            _M_node = 0xd8a8f84}}}, }, <__gnu_debug::_Safe_sequence<__gnu_debug_def::deque > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, }, },
  static m_liRequestedData = {<__gnu_norm::list >> = {<__gnu_norm::_List_base >> = {
        _M_impl = { >> = {<__gnu_cxx::__mt_alloc<__gnu_norm::_List_node,__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >> = {<__gnu_cxx::__mt_alloc_base<__gnu_norm::_List_node >> = {}, }, }, _M_node = {_M_next = 0x8816464,
            _M_prev = 0x8816464}}}, }, <__gnu_debug::_Safe_sequence<__gnu_debug_def::list > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0, _M_version = 1}, }, },
  m_pHashTree = {m_Hash = {m_abyBuffer = "çÎ7\205ç$¥óÐÃ(㣩\204\224\004¬\231L"}, m_nDataSize = 729128960, m_nBaseSize = 9728000, m_bIsLeftBranch = true,
    m_bHashValid = true, m_pLeftTree = 0x0, m_pRightTree = 0x0}}
(gdb)
Logged