aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20051029 Crash, but why?  (Read 1859 times)

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
20051029 Crash, but why?
« on: November 03, 2005, 02:58:16 PM »

Well, it seems that amuled crashes after a while with this CVS, but I can't see why. It seems that the amuled has used up all resources in approximately 48 hours, then then it crashes.

Perhaps the developers can get some insight from this backtrace.

Quote
(gdb) bt
#0  0x0808888e in _Bit_const_iterator (this=0xbfffefc0, __x=@0x4da5db3c) at stl_bvector.h:216
#1  0x080874cc in std::vector >::end() const (this=0x4da5db34)
    at stl_bvector.h:456
#2  0x08168ce7 in std::vector >::empty() const (this=0x4da5db34)
    at stl_bvector.h:472
#3  0x081685be in CKnownFile::UpdatePartsInfo() (this=0x8766390) at KnownFile.cpp:1190
#4  0x08100e01 in CUpDownClient::ProcessExtendedInfo(CMemFile const*, CKnownFile*) (this=0x8e91338,
    data=0xbffff290, tempreqfile=0x8766390) at UploadClient.cpp:481
#5  0x080c9c79 in CClientReqSocket::ProcessExtPacket(char const*, unsigned, unsigned char) (this=0x4bc44230,
    packet=0x4907b530 "3¯ûáýáJ°\b9\225\206L\200½\210XL", size=33, opcode=146 '\222') at ListenSocket.cpp:1126
#6  0x080cd9c8 in CClientReqSocket::PacketReceived(CPacket*) (this=0x4bc44230, packet=0x456a8e80)
    at ListenSocket.cpp:1810
#7  0x0809e633 in CEMSocket::OnReceive(int) (this=0x4bc44230, nErrorCode=0) at EMSocket.cpp:304
#8  0x080cd006 in CClientReqSocket::OnReceive(int) (this=0x4bc44230, nErrorCode=0) at ListenSocket.cpp:1722
#9  0x080c2f58 in CClientReqSocketHandler::ClientReqSocketHandler(wxSocketEvent&) (this=0x847cb20,
    event=@0x45742df0) at ListenSocket.cpp:90
#10 0x4020b14d in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
    () from /usr/lib/libwx_gtk2-2.6.so.0
#11 0x402b1604 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
    () from /usr/lib/libwx_gtk2-2.6.so.0
#12 0x402b0aa9 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_gtk2-2.6.so.0
#13 0x402b1772 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2-2.6.so.0
#14 0x402b1555 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_gtk2-2.6.so.0
#15 0x4020b0c6 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_gtk2-2.6.so.0
#16 0x08054223 in CamuleDaemonApp::OnRun() (this=0x8490e00) at amuled.cpp:400
#17 0x4024d436 in wxEntry(int&, char**) () from /usr/lib/libwx_gtk2-2.6.so.0
#18 0x080531d9 in main (argc=1, argv=0xbffff704) at amuled.cpp:124

(gdb) bt full
#0  0x0808888e in _Bit_const_iterator (this=0xbfffefc0, __x=@0x4da5db3c) at stl_bvector.h:216
No locals.
#1  0x080874cc in std::vector >::end() const (this=0x4da5db34)
    at stl_bvector.h:456
No locals.
#2  0x08168ce7 in std::vector >::empty() const (this=0x4da5db34)
    at stl_bvector.h:472
No locals.
#3  0x081685be in CKnownFile::UpdatePartsInfo() (this=0x8766390) at KnownFile.cpp:1190
        count = {<> = {}, }
        it = {<_Rb_tree_base_iterator> = {_M_node = 0x4d89ce20}, }
        n = 1300552800
        partcount = 76
        flag = true
#4  0x08100e01 in CUpDownClient::ProcessExtendedInfo(CMemFile const*, CKnownFile*) (this=0x8e91338,
    data=0xbffff290, tempreqfile=0x8766390) at UploadClient.cpp:481
        nCompleteCountLast = 0
        nCompleteCountNew = 115
        nED2KUpPartCount = 76
#5  0x080c9c79 in CClientReqSocket::ProcessExtPacket(char const*, unsigned, unsigned char) (this=0x4bc44230,
    packet=0x4907b530 "3¯ûáýáJ°\b9\225\206L\200½\210XL", size=33, opcode=146 '\222') at ListenSocket.cpp:1126
        opcode_in = 88 'X'
        data_in = { = {_vptr.CFileDataIO = 0x821d0c8}, m_GrowBytes = 0, m_position = 31,
  m_BufferSize = 33, m_FileSize = 33, m_delete = false,
  m_buffer = 0x4907b530 "3¯ûáýáJ°\b9\225\206L\200½\210XL"}
        reqfilehash = {m_hash = "3¯ûáýáJ°\b9\225\206L\200½\210"}
        reqfile = (class CKnownFile *) 0x8766390
        data_out = { = {_vptr.CFileDataIO = 0x821d0c8}, m_GrowBytes = 128, m_position = 16,
  m_BufferSize = 128, m_FileSize = 16, m_delete = true,
  m_buffer = 0x4d98bb18 "3¯ûáýáJ°\b9\225\206L\200½\210"}
#6  0x080cd9c8 in CClientReqSocket::PacketReceived(CPacket*) (this=0x4bc44230, packet=0x456a8e80)
    at ListenSocket.cpp:1810
        bResult = false
        uRawSize = 33
        exception = { = {static npos = 4294967295,
    m_pchData = 0x405619c0 ""}, }
#7  0x0809e633 in CEMSocket::OnReceive(int) (this=0x4bc44230, nErrorCode=0) at EMSocket.cpp:304
        bPacketResult = 191
        toCopy = 33
        GlobalReadBuffer = "Å\"\000\000\000\2223¯ûáýáJ°\b9\225\206L\200½\210XL\000\004  \210@\200@\020\001\rs\
000O\236ËÉ5îI\215U\220Í@í\030ê+\235P\207½C#\232¨ê_ã\026z\224¼ÿ\205+\t)×p\223\235»~.Ã\030´Ío\213³\035Ã<³á9)ý\00
3\226\032\\\202a\037?\216³9áE0¿\000O\026ðµ\002z\r\t\206þ3æk'N¦ðmA¢T°ës \tÇùÔ§\227Ý\vò\032ÆÖÁH\215äÏÍÑ\020î\221
æé´KVÙî¿\216*¹|I*u\223\230'Xå\212YþYi ÉZt\207\232\f'_\222S\226\a.®\026g"...
        readMax = 2000000
        ret = 39
        rptr = 0x82944e7 "ËÉ5îI\215U\220Í@í\030ê+\235P\207½C#\232¨ê_ã\026z\224¼ÿ\205+\t)×p\223\235»~.Ã\030´Ío\
213³\035Ã<³á9)ý\003\226\032\\\202a\037?\216³9áE0¿"
        rend = 0x82944e7 "ËÉ5îI\215U\220Í@í\030ê+\235P\207½C#\232¨ê_ã\026z\224¼ÿ\205+\t)×p\223\235»~.Ã\030´Ío\
213³\035Ã<³á9)ý\003\226\032\\\202a\037?\216³9áE0¿"
#8  0x080cd006 in CClientReqSocket::OnReceive(int) (this=0x4bc44230, nErrorCode=0) at ListenSocket.cpp:1722
No locals.
#9  0x080c2f58 in CClientReqSocketHandler::ClientReqSocketHandler(wxSocketEvent&) (this=0x847cb20,
    event=@0x45742df0) at ListenSocket.cpp:90
        socket = (CClientReqSocket *) 0x4bc44230
#10 0x4020b14d in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
    () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#11 0x402b1604 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
    () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#12 0x402b0aa9 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#13 0x402b1772 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#14 0x402b1555 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#15 0x4020b0c6 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#16 0x08054223 in CamuleDaemonApp::OnRun() (this=0x8490e00) at amuled.cpp:400
No locals.
#17 0x4024d436 in wxEntry(int&, char**) () from /usr/lib/libwx_gtk2-2.6.so.0
No symbol table info available.
#18 0x080531d9 in main (argc=1, argv=0xbffff704) at amuled.cpp:124
No locals.

(gdb) thread apply all bt

Thread 5 (Thread 1141459888 (LWP 23535)):
#0  0xffffe410 in ?? ()
#1  0x44094978 in ?? ()
#2  0x406795f8 in ?? () from /usr/lib/libwx_gtk2-2.6.so.0

Thread 3 (Thread 1112808368 (LWP 23532)):
#0  0xffffe410 in ?? ()
#1  0x42541828 in ?? ()
#2  0x00947000 in ?? ()
#3  0x4cea4008 in ?? ()
#4  0x40030c7b in __read_nocancel () from /lib/tls/libpthread.so.0
#5  0x0814bdd1 in CFile::doRead(void*, unsigned) const (this=0x425419f0, pBuf=0x4cea4008, nCount=9728000)
    at CFile.cpp:409
#6  0x08199b94 in CFileDataIO::Read(void*, unsigned) const (this=0x425419f0, pBuf=0x4cea4008, nCount=9728000)
    at SafeFile.cpp:70
#7  0x080595f0 in CAddFileThread::CreateNextPartHash(CFile*, CKnownFile*, bool) (file=0x425419f0,
    owner=0xa12c008, createAICH=true) at AddFileThread.cpp:417
#8  0x08058e64 in CAddFileThread::Entry() (this=0x953da40) at AddFileThread.cpp:310
#9  0x402ab8f4 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_gtk2-2.6.so.0
#10 0x402ab7dc in wxPthreadStart () from /usr/lib/libwx_gtk2-2.6.so.0
#11 0x4002b7d3 in start_thread () from /lib/tls/libpthread.so.0
#12 0x40875b4a in clone () from /lib/tls/libc.so.6

Thread 2 (Thread 1098324912 (LWP 23531)):
#0  0xffffe410 in ?? ()
#1  0x41771818 in ?? ()
#2  0x406795f8 in ?? () from /usr/lib/libwx_gtk2-2.6.so.0

Thread 1 (Thread 1089728032 (LWP 23526)):
#0  0x0808888e in _Bit_const_iterator (this=0xbfffefc0, __x=@0x4da5db3c) at stl_bvector.h:216
#1  0x080874cc in std::vector >::end() const (this=0x4da5db34)
    at stl_bvector.h:456
#2  0x08168ce7 in std::vector >::empty() const (this=0x4da5db34)
    at stl_bvector.h:472
#3  0x081685be in CKnownFile::UpdatePartsInfo() (this=0x8766390) at KnownFile.cpp:1190
#4  0x08100e01 in CUpDownClient::ProcessExtendedInfo(CMemFile const*, CKnownFile*) (this=0x8e91338,
    data=0xbffff290, tempreqfile=0x8766390) at UploadClient.cpp:481
#5  0x080c9c79 in CClientReqSocket::ProcessExtPacket(char const*, unsigned, unsigned char) (this=0x4bc44230,
    packet=0x4907b530 "3¯ûáýáJ°\b9\225\206L\200½\210XL", size=33, opcode=146 '\222') at ListenSocket.cpp:1126
#6  0x080cd9c8 in CClientReqSocket::PacketReceived(CPacket*) (this=0x4bc44230, packet=0x456a8e80)
    at ListenSocket.cpp:1810
#7  0x0809e633 in CEMSocket::OnReceive(int) (this=0x4bc44230, nErrorCode=0) at EMSocket.cpp:304
#8  0x080cd006 in CClientReqSocket::OnReceive(int) (this=0x4bc44230, nErrorCode=0) at ListenSocket.cpp:1722
#9  0x080c2f58 in CClientReqSocketHandler::ClientReqSocketHandler(wxSocketEvent&) (this=0x847cb20,
    event=@0x45742df0) at ListenSocket.cpp:90
#10 0x4020b14d in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
    () from /usr/lib/libwx_gtk2-2.6.so.0
#11 0x402b1604 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
    () from /usr/lib/libwx_gtk2-2.6.so.0
#12 0x402b0aa9 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_gtk2-2.6.so.0
#13 0x402b1772 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2-2.6.so.0
#14 0x402b1555 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_gtk2-2.6.so.0
#15 0x4020b0c6 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_gtk2-2.6.so.0
#16 0x08054223 in CamuleDaemonApp::OnRun() (this=0x8490e00) at amuled.cpp:400
#17 0x4024d436 in wxEntry(int&, char**) () from /usr/lib/libwx_gtk2-2.6.so.0
#18 0x080531d9 in main (argc=1, argv=0xbffff704) at amuled.cpp:124
« Last Edit: November 03, 2005, 02:59:20 PM by vdb »
Logged
A waste is a terrible thing to mind.