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 at BaseClient.cpp:1930  (Read 1818 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 at BaseClient.cpp:1930
« on: October 09, 2005, 08:03:36 PM »

Well, whoever put this assertion, please do something.

Cheers!

Code: [Select]
Compatible client found with ET_COMPATIBLECLIENT of 0xf0
...
Compatible client found with ET_COMPATIBLECLIENT of 0xf0
Invalid Kad tag; type=0x8d name=0x00
Compatible client found with ET_COMPATIBLECLIENT of 0xf0
...
Compatible client found with ET_COMPATIBLECLIENT of 0xf0
[Debug] 12:20:42 AM: BaseClient.cpp(1930): assert "false" failed.

Call stack:
[05] wxStackWalker::Walk(unsigned int)
[06] 0x8e08a2
[07] 0x8e0a32
[08] wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)
[09] wxApp::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)
[10] CamuleApp::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)   /home/mroberto/programs/amule/cvswork/verb-svnu/src/amule.cpp:1373
[11] wxOnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)
[12] wxAssert(int, wchar_t const*, int, wchar_t const*, wchar_t const*)
[13] CUpDownClient::ProcessSignaturePacket(unsigned char const*, unsigned int)  /home/mroberto/programs/amule/cvswork/verb-svnu/src/BaseClient.cpp:1930
[14] CClientReqSocket::ProcessExtPacket(char const*, unsigned int, unsigned char)       /home/mroberto/programs/amule/cvswork/verb-svnu/src/ListenSocket.cpp:1331
[15] CClientReqSocket::PacketReceived(CPacket*) /home/mroberto/programs/amule/cvswork/verb-svnu/src/ListenSocket.cpp:1818
[16] CEMSocket::OnReceive(int)                  /home/mroberto/programs/amule/cvswork/verb-svnu/src/EMSocket.cpp:308
[17] CClientReqSocket::OnReceive(int)           /home/mroberto/programs/amule/cvswork/verb-svnu/src/ListenSocket.cpp:1730
[18] CClientReqSocketHandler::ClientReqSocketHandler(wxSocketEvent&)    /home/mroberto/programs/amule/cvswork/verb-svnu/src/ListenSocket.cpp:96
[19] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
[20] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[21] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[22] wxEvtHandler::ProcessEvent(wxEvent&)
[23] wxEvtHandler::ProcessPendingEvents()
[24] wxAppConsole::ProcessPendingEvents()
[25] 0xd3e7a1

(gdb) bt
#0  0x00772402 in __kernel_vsyscall ()
#1  0x004e228a in raise () from /lib/libpthread.so.0
#2  0x008e02af in wxTrap () at ./src/common/appbase.cpp:599
#3  0x00df06b5 in wxGUIAppTraitsBase::ShowAssertDialog (this=0x8d727f0, msg=@0xbf9fda7c)
    at ./src/common/appcmn.cpp:539
#4  0x008e0b26 in ShowAssertDialog (szFile=0x8412628, nLine=1930, szCond=0x8412c34, szMsg=0x0, traits=0x8d727f0)
    at ./src/common/appbase.cpp:836
#5  0x008e103c in wxAppConsole::OnAssert (this=0x8de59b0, file=0x8412628, line=1930, cond=0x8412c34, msg=0x0)
    at ./src/common/appbase.cpp:457
#6  0x00d3fb10 in wxApp::OnAssert (this=0x8de59b0, file=0x8412628, line=1930, cond=0x8412c34, msg=0x0)
    at ./src/gtk/app.cpp:724
#7  0x0807e29d in CamuleApp::OnAssert (this=0x8de59b0, file=0x8412628, line=1930, cond=0x8412c34, msg=0x0)
    at amule.cpp:1373
#8  0x008e0c21 in wxOnAssert (szFile=0x8412628, nLine=1930, szCond=0x8412c34, szMsg=0x0)
    at ./src/common/appbase.cpp:645
#9  0x008e0c5a in wxAssert (cond=0, szFile=0x8412628, nLine=1930, szCond=0x8412c34, szMsg=0x0)
    at ./src/common/appbase.cpp:612
#10 0x0809d085 in CUpDownClient::ProcessSignaturePacket (this=0xd173fa8,
    pachPacket=0xaec1c68 "\020\222VnÏ\004!æ±:ü\aJ\207Ö\203\034\bY:,¿ÍHÍp- ®Ã%v¼<\177Ä\026\f¹\\S²\233éÅ\023Ë­Æ",
    nSize=49) at BaseClient.cpp:1930
#11 0x081a9bbf in CClientReqSocket::ProcessExtPacket (this=0xcce2ae8,
    packet=0xaec1c68 "\020\222VnÏ\004!æ±:ü\aJ\207Ö\203\034\bY:,¿ÍHÍp- ®Ã%v¼<\177Ä\026\f¹\\S²\233éÅ\023Ë­Æ",
    size=49, opcode=134 '\206') at ListenSocket.cpp:1331
#12 0x081b27f9 in CClientReqSocket::PacketReceived (this=0xcce2ae8, packet=0xc8a61b0) at ListenSocket.cpp:1818
#13 0x08157c9c in CEMSocket::OnReceive (this=0xcce2ae8, nErrorCode=0) at EMSocket.cpp:308
#14 0x081a7845 in CClientReqSocket::OnReceive (this=0xcce2ae8, nErrorCode=0) at ListenSocket.cpp:1730
#15 0x081a777d in CClientReqSocketHandler::ClientReqSocketHandler (this=0x8769580, event=@0xd1d3e20)
    at ListenSocket.cpp:96
#16 0x008dfd0e in wxAppConsole::HandleEvent (this=0x8de59b0, handler=0x8769580, func=
      {__pfn = 0x81a7668 , __delta = 0},
    event=@0xd1d3e20) at ./src/common/appbase.cpp:324
#17 0x009846b8 in wxEvtHandler::ProcessEventIfMatches (entry=@0x8769520, handler=0x8769580, event=@0xd1d3e20)
    at ./src/common/event.cpp:1174
#18 0x00984aa6 in wxEventHashTable::HandleEvent (this=0x8769550, event=@0xd1d3e20, self=0x8769580)
    at ./src/common/event.cpp:856
#19 0x00985ad3 in wxEvtHandler::ProcessEvent (this=0x8769580, event=@0xd1d3e20) at ./src/common/event.cpp:1236
#20 0x0098575d in wxEvtHandler::ProcessPendingEvents (this=0x8769580) at ./src/common/event.cpp:1133
#21 0x008dfc7a in wxAppConsole::ProcessPendingEvents (this=0x8de59b0) at ./src/common/appbase.cpp:296
#22 0x00d3e7a1 in wxapp_pending_callback () at ./src/gtk/app.cpp:211
#23 0x006f7730 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#24 0x006f54ce in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x006f84d6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#26 0x006f87c3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0x04d01a46 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x00d5f07c in wxEventLoop::Run (this=0x9ef1390) at ./src/gtk/evtloop.cpp:76
#29 0x00deffdb in wxAppBase::MainLoop (this=0x8de59b0) at ./src/common/appcmn.cpp:268
#30 0x00df015f in wxAppBase::OnRun (this=0x8de59b0) at ./src/common/appcmn.cpp:336
#31 0x0091fa01 in wxEntry (argc=@0xbf9fe520, argv=0x8d71798) at ./src/common/init.cpp:439
#32 0x0091fada in wxEntry (argc=@0xbf9fe520, argv=0xbf9fe5a4) at ./src/common/init.cpp:451
#33 0x08087c33 in main (argc=1, argv=0xbf9fe5a4) at amule-gui.cpp:149
(gdb) frame 10
#10 0x0809d085 in CUpDownClient::ProcessSignaturePacket (this=0xd173fa8,
    pachPacket=0xaec1c68 "\020\222VnÏ\004!æ±:ü\aJ\207Ö\203\034\bY:,¿ÍHÍp- ®Ã%v¼<\177Ä\026\f¹\\S²\233éÅ\023Ë­Æ",
    nSize=49) at BaseClient.cpp:1930
1930                    wxASSERT ( false );
(gdb) l
1925            if (pachPacket[0] == nSize-1)
1926                    byChaIPKind = 0;
1927            else if (pachPacket[0] == nSize-2 && (m_bySupportSecIdent & 2) > 0) //v2
1928                    byChaIPKind = pachPacket[nSize-1];
1929            else{
1930                    wxASSERT ( false );
1931                    return;
1932            }
1933
1934            if (!theApp.clientcredits->CryptoAvailable())
Logged