aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule CVS 20040602 Crash  (Read 2937 times)

b1ng0

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
aMule CVS 20040602 Crash
« on: June 03, 2004, 09:17:19 PM »

CTag::WriteTagToFile(CFile*); Ignored tag with unknown type=0x00
[above message repeated hundreds of times]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073875776 (LWP 19696)]
0x08067349 in CClientReqSocket::Safe_Delete() (this=0x8c15af8)
    at ListenSocket.cpp:185
185                     Close();
(gdb)
(gdb) bt
#0  0x08067349 in CClientReqSocket::Safe_Delete() (this=0x8c15af8)
    at ListenSocket.cpp:185
#1  0x0807b146 in CUpDownClient::TryToConnect(bool) (this=0x8954570,
    bIgnoreMaxCon=false) at BaseClient.cpp:1194
#2  0x0809f7d8 in CUpDownClient::AskForDownload() (this=0x8954570)
    at DownloadClient.cpp:137
#3  0x0814e239 in CPartFile::Process(unsigned, unsigned char) (this=0x88bd038,
    reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1718
#4  0x080b2900 in CDownloadQueue::Process() (this=0x8751048)
    at DownloadQueue.cpp:376
#5  0x081b7d5b in CamuleApp::OnCoreTimer(wxTimerEvent&) (this=0x85b2728)
    at amule.cpp:1645
#6  0x41f70fa2 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
#7  0x41f70dcf in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
#8  0x41ffc9a7 in wxTimerBase::Notify() () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x41f19aac in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x470043a5 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#11 0x4700335b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#12 0x47003846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#13 0x47003af4 in g_main_run () from /usr/lib/libglib-1.2.so.0
#14 0x41ba06af in gtk_main () from /usr/lib/libgtk-1.2.so.0
---Type to continue, or q to quit---
#15 0x41ed5b32 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
#16 0x41f27750 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x41ed620d in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
#18 0x081b1f8c in main (argc=1, argv=0xbffff904) at amule.cpp:152
Logged

b1ng0

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
RE: aMule CVS 20040602 Crash
« Reply #1 on: June 03, 2004, 09:45:21 PM »

It seems like aMule crashes routinely.. another one which crashed less than 5 minutes after starting it again from the previous crash:

CTag::WriteTagToFile(CFile*); Ignored tag with unknown type=0x00
Hashing thread timed out with no aditions - removing thread
Hashing thread ended
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073875776 (LWP 20539)]
0x08072dcc in CEMSocket::IsConnected() (this=0x7e) at EMSocket.h:57
57              bool    IsConnected() { return byConnected==ES_CONNECTED;};
(gdb) bt
#0  0x08072dcc in CEMSocket::IsConnected() (this=0x7e) at EMSocket.h:57
#1  0x0809f765 in CUpDownClient::AskForDownload() (this=0x89655c0)
    at DownloadClient.cpp:127
#2  0x0814e239 in CPartFile::Process(unsigned, unsigned char) (this=0x88bc920,
    reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1718

#3  0x080b2900 in CDownloadQueue::Process() (this=0x87517b0)
    at DownloadQueue.cpp:376
#4  0x081b7d5b in CamuleApp::OnCoreTimer(wxTimerEvent&) (this=0x85b2728)
    at amule.cpp:1645
#5  0x41f70fa2 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
#6  0x41f70dcf in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
#7  0x41ffc9a7 in wxTimerBase::Notify() () from /usr/lib/libwx_gtk-2.4.so.0
#8  0x41f19aac in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x470043a5 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#10 0x4700335b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#11 0x47003846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#12 0x47003af4 in g_main_run () from /usr/lib/libglib-1.2.so.0
#13 0x41ba06af in gtk_main () from /usr/lib/libgtk-1.2.so.0
#14 0x41ed5b32 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
#15 0x41f27750 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
#16 0x41ed620d in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
---Type to continue, or q to quit---
#17 0x081b1f8c in main (argc=1, argv=0xbffff904) at amule.cpp:152
Logged

b1ng0

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
RE: aMule CVS 20040602 Crash
« Reply #2 on: June 03, 2004, 11:27:13 PM »

I'm not sure if all of these crashes are related or not, but here is another backtrace from aMule crashing while just running in the background minimized. I hope the developers find my backtraces useful, as I truly want to make aMule a better program. Please let me know if you need any other information to help you.

#0  0x08067349 in CClientReqSocket::Safe_Delete() (this=0x893eb88)
    at ListenSocket.cpp:185
#1  0x0807b146 in CUpDownClient::TryToConnect(bool) (this=0x89cf998,
    bIgnoreMaxCon=false) at BaseClient.cpp:1194
#2  0x0809f7d8 in CUpDownClient::AskForDownload() (this=0x89cf998)
    at DownloadClient.cpp:137
#3  0x0814e239 in CPartFile::Process(unsigned, unsigned char) (this=0x88c5b00,
    reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1718
#4  0x080b2900 in CDownloadQueue::Process() (this=0x87517b8)
    at DownloadQueue.cpp:376
#5  0x081b7d5b in CamuleApp::OnCoreTimer(wxTimerEvent&) (this=0x85b2728)
    at amule.cpp:1645
#6  0x41f70fa2 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
#7  0x41f70dcf in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
#8  0x41ffc9a7 in wxTimerBase::Notify() () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x41f19aac in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x470043a5 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#11 0x4700335b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#12 0x47003846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#13 0x47003af4 in g_main_run () from /usr/lib/libglib-1.2.so.0
#14 0x41ba06af in gtk_main () from /usr/lib/libgtk-1.2.so.0
---Type to continue, or q to quit---
#15 0x41ed5b32 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
#16 0x41f27750 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x41ed620d in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
#18 0x081b1f8c in main (argc=1, argv=0xbffff904) at amule.cpp:152
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: aMule CVS 20040602 Crash
« Reply #3 on: June 04, 2004, 12:25:56 AM »

the #0 0x08067349 in CClientReqSocket::Safe_Delete() (this=0x893eb88) bug is a known bug ..
we are trying to fix it

thx ;)

b1ng0

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: aMule CVS 20040602 Crash
« Reply #4 on: June 04, 2004, 01:30:48 AM »

Ok how about this one?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073875776 (LWP 20921)]
0x080e5b61 in CUpDownClient::IsUpPartAvailable(unsigned short) (
    this=0x8930eb0, iPart=0) at updownclient.h:287
287             bool                    IsUpPartAvailable(uint16 iPart) {return ( (iPart >= m_nUpPartCount) || (!m_abyUpPartStatus) )? 0:m_abyUpPartStatus[iPart];}
(gdb)
(gdb)
(gdb)
(gdb) bt
#0  0x080e5b61 in CUpDownClient::IsUpPartAvailable(unsigned short) (
    this=0x8930eb0, iPart=0) at updownclient.h:287
#1  0x080e5390 in CKnownFile::UpdatePartsInfo() (this=0x865b6a0)
    at KnownFile.cpp:1082
#2  0x081a95cf in CUpDownClient::ProcessExtendedInfo(CSafeMemFile*, CKnownFile*) (this=0x8926600, data=0xbffff460, tempreqfile=0x865b6a0)
    at UploadClient.cpp:503
#3  0x0806c8ff in CClientReqSocket::ProcessExtPacket(char*, unsigned, unsigned char) (this=0x8d2dd90, packet=0x88b07d0 "' \024aÿuÿ5ÿ\203ÿlzÿÿfXJ", size=32,
    opcode=146 '\222') at ListenSocket.cpp:1204
#4  0x0806e6f6 in CClientReqSocket::PacketReceived(Packet*) (this=0x8d2dd90,
    packet=0x8bfedb0) at ListenSocket.cpp:1717
#5  0x080723e7 in CEMSocket::OnReceive(int) (this=0x8d2dd90, nErrorCode=0)
    at EMSocket.cpp:262
#6  0x0806e7ca in CClientReqSocket::OnReceive(int) (this=0x8d2dd90,
    nErrorCode=0) at ListenSocket.cpp:1735
#7  0x0806e8bb in CClientReqSocketHandler::ClientReqSocketHandler(wxSocketEvent&) (this=0x8a3aab8, event=@0x88f7658) at ListenSocket.cpp:1765
#8  0x41f70fa2 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
#9  0x41f70dcf in wxEvtHandler::ProcessEvent(wxEvent&) ()
 from /usr/lib/libwx_gtk-2.4.so.0
#10 0x41f70d0b in wxEvtHandler::ProcessPendingEvents() ()
---Type to continue, or q to quit---
   from /usr/lib/libwx_gtk-2.4.so.0
#11 0x41f27899 in wxAppBase::ProcessPendingEvents() ()
   from /usr/lib/libwx_gtk-2.4.so.0
#12 0x41ed51bb in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so.0
#13 0x470044ef in g_timeout_add () from /usr/lib/libglib-1.2.so.0
#14 0x4700335b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#15 0x47003846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#16 0x47003af4 in g_main_run () from /usr/lib/libglib-1.2.so.0
#17 0x41ba06af in gtk_main () from /usr/lib/libgtk-1.2.so.0
#18 0x41ed5b32 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
#19 0x41f27750 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
#20 0x41ed620d in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
#21 0x081b1f8c in main (argc=1, argv=0xbffff904) at amule.cpp:152
(gdb) bt full
#0  0x080e5b61 in CUpDownClient::IsUpPartAvailable(unsigned short) (
    this=0x8930eb0, iPart=0) at updownclient.h:287
No locals.
#1  0x080e5390 in CKnownFile::UpdatePartsInfo() (this=0x865b6a0)
    at KnownFile.cpp:1082
 i = 0
        cur_src = (CUpDownClient *) 0x8930eb0
        pos = 0x8af30d0
        partcount = 74
        flag = true
        count = {<> = {}, }
        k_test = 21
        event = {ID = 3221221904, byte_value = 237 'ÿ', long_value = 2,
  longlong_value = 319019904988, string_value = ,
  ptr_value = 0x20}
#2  0x081a95cf in CUpDownClient::ProcessExtendedInfo(CSafeMemFile*, CKnownFile*) (this=0x8926600, data=0xbffff460, tempreqfile=0x865b6a0)
    at UploadClient.cpp:503
        nCompleteCountLast = 0
        nCompleteCountNew = 52
        done = 74
        nED2KUpPartCount = 74
#3  0x0806c8ff in CClientReqSocket::ProcessExtPacket(char*, unsigned, unsigned c---Type to continue, or q to quit---
har) (this=0x8d2dd90, packet=0x88b07d0 "' \024aÿuÿ5ÿ\203ÿlzÿÿfXJ", size=32,
    opcode=146 '\222') at ListenSocket.cpp:1204
data_in = { = { = {_vptr.CFile = 0x82348e8,
      m_fd = -1, m_error = 128, fFilePath = },
    fBuffer = 0x88b07d0 "' \024aÿuÿ5ÿ\203ÿlzÿÿfXJ", fLength = 1187848801,
    fGrowBytes = 0, fPosition = 31, fBufferSize = 32, fFileSize = 32,
    deleteBuffer = 0}, }
        reqfilehash = "' \024aÿuÿ5ÿ\203ÿlzÿÿf"
        reqfile = (class CKnownFile *) 0x865b6a0
        opcode_in = 88 'X'
        data_out = { = { = {_vptr.CFile = 0x82348e8,
      m_fd = -1, m_error = 132, fFilePath = },
    fBuffer = 0x8b15000 "' \024aÿuÿ5ÿ\203ÿlzÿÿf", fLength = 0,
    fGrowBytes = 128, fPosition = 16, fBufferSize = 128, fFileSize = 16,
    deleteBuffer = 1}, }
#4  0x0806e6f6 in CClientReqSocket::PacketReceived(Packet*) (this=0x8d2dd90,
    packet=0x8bfedb0) at ListenSocket.cpp:1717
  bResult = 66
        uRawSize = 32
#5  0x080723e7 in CEMSocket::OnReceive(int) (this=0x8d2dd90, nErrorCode=0)
    at EMSocket.cpp:262
        bPacketResult = true
        toCopy = 32
---Type to continue, or q to quit---
        GlobalReadBuffer = "L!ONetwork eMule v4.2\003\001\000\205\006\000\000\000\003\001\000\204\003\000\000\000ÿÿÿÿ5\022ÿ!\000\000\000\222' \024aÿuÿ5ÿ\203ÿlzÿÿfXJ\000AH\020\004\000\000\001\000\000\0024\000O\017 \bed\031Nÿ(ÿÿÿÿ<,\230:(ÿ\006ÿÿRÿÿÿ\177eÿ\002ÿ_:\230suh\fÿ7ÿ\202P\037'ÿÿÿÿÿ\223ÿÿZÿ\223\201\027h\224ÿ=\233zz\210ÿ@}Yÿï\201ÿÿÿ\\ÿ\203ÿrÿ%9)\025ÿQdÿYÿÿ\225>\205ÿf\213gttÿÿÿ\222\017\233\207ÿZÿkTÿÿ3"...
        readMax = 2000000
        ret = 81
rptr = 0x82f8f31 "\017 \bed\031Nÿ(ÿÿÿÿ<,\230:(ÿ\006ÿÿRÿÿÿ\177eÿ\002ÿ_:\230suh\fÿ7ÿ\202P\037'ÿÿÿÿÿ\223ÿÿZÿ\223\201\027h\224ÿ=\233zz\210ÿ@}Yÿï\201ÿÿÿ\\ÿ\203ÿrÿ%9)\025ÿQdÿYÿÿ\225>\205ÿf\213gttÿÿÿ\222\017\233\207ÿZÿkTÿÿ3\225iÿÿ,ÿÿÿÿÿÿX\005ÿ0\201\226ÿ\214X\212nÿÿ.ÿÿ\223&\205ÿ\004\233>ÿv[wuYFÿ5ÿ\217\017ÿÿÿ\212I\233wN[ÿÿÿÿ?L\204\024\026)ÿz@ÿ\203V\220\232ÿëÿ5ÿWY"...
        rend = 0x82f8f31 "\017 \bed\031Nÿ(ÿÿÿÿ<,\230:(ÿ\006ÿÿRÿÿÿ\177eÿ\002ÿ_:\230suh\fÿ7ÿ\202P\037'ÿÿÿÿÿ\223ÿÿZÿ\223\201\027h\224ÿ=\233zz\210ÿ@}Yÿï\201ÿÿÿ\\ÿ\203ÿrÿ%9)\025ÿQdÿYÿÿ\225>\205ÿf\213gttÿÿÿ\222\017\233\207ÿZÿkTÿÿ3\225iÿÿ,ÿÿÿÿÿÿX\005ÿ0\201\226ÿ\214X\212nÿÿ.ÿÿ\223&\205ÿ\004\233>ÿv[wuYFÿ5ÿ\217\017ÿÿÿ\212I\233wN[ÿÿÿÿ?L\204\024\026)ÿz@ÿ\203V\220\232ÿëÿ5ÿWY"...
#6  0x0806e7ca in CClientReqSocket::OnReceive(int) (this=0x8d2dd90,
    nErrorCode=0) at ListenSocket.cpp:1735
No locals.
#7  0x0806e8bb in CClientReqSocketHandler::ClientReqSocketHandler(wxSocketEvent&) (this=0x8a3aab8, event=@0x88f7658) at ListenSocket.cpp:1765
Logged