aMule Forum

English => en_Bugs => Topic started by: Palewolf on March 29, 2005, 06:36:53 PM

Title: aMule instantly crashes
Post by: Palewolf on March 29, 2005, 06:36:53 PM
Hi,
(sorry for my bad english)

i've been using aMule CVS for some time (CVS 2005-3-10). A few days ago, my computer started doing some strange things (something was eating ALL cpu) for about 5 minutes, then went to normal. Just in case, i decided to reboot some time before. aMule closed nicely.

However,  since that, aMule crashes just before i start it. I've done some research and it only happens when i active "Files -> Save 5 sources..." (it was previously activated without problems).

Backtrace:
(gdb) run
Starting program: /home/elric/aMuleCVS/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread -1221212480 (LWP 19732)]
Initialising aMule
Checking if there is an instance already running...
0
4
Userhash loaded: 023C8E42B30ED41CF24C8856AB336F17
Loading temp files from /mnt/D/Downloads/Incoming(EDonkey)/Temp.
        - 003.part.met: Success.
        - 004.part.met: Success.
        - 005.part.met: Success.
        - 006.part.met: Success.
        - 007.part.met: Success.
        - 009.part.met: Success.
        - 011.part.met: Success.
        - 012.part.met: Success.
        - 014.part.met: Success.
        - 015.part.met: Success.
        - 016.part.met: Success.
        - 021.part.met: Success.
        - 024.part.met: Success.
        - 025.part.met: Success.
        - 026.part.met: Success.
        - 027.part.met: Success.
        - 028.part.met: Success.
        - 029.part.met: Success.
        - 030.part.met: Success.
        - 032.part.met: Success.
        - 034.part.met: Success.
ListenSocket: Ok.
External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:24665
*** TCP socket (TCP) listening on 0.0.0.0:24662
*** Client UDP socket (extended eMule) at 0.0.0.0:24672
terminate called after throwing an instance of 'CInvalidPacket'
  what():  Read after end of CSafeFile

Program received signal SIGABRT, Aborted.
[Switching to Thread -1221212480 (LWP 19732)]
0xffffe410 in ?? ()
Current language:  auto; currently c
(gdb) bt
#0  0xffffe410 in ?? ()
#1  0xbfffe938 in ?? ()
#2  0x00000006 in ?? ()
#3  0xb74dd049 in abort () from /lib/tls/libc.so.6
#4  0xb76b1d67 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#5  0xb76af8f5 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.6
#6  0xb76af932 in std::terminate () from /usr/lib/libstdc++.so.6
#7  0xb76afab2 in __cxa_throw () from /usr/lib/libstdc++.so.6
#8  0x08299d1a in CSafeFile::Read (this=0xbfffeb10, pBuf=0x0, nCount=1)
    at SafeFile.cpp:255
#9  0x082996cb in CFileDataIO::ReadUInt8 (this=0x6) at SafeFile.cpp:46
#10 0x08276218 in CPartFile::LoadSourceSeeds (this=0x8d35768)
    at PartFile.cpp:1086
#11 0x081c6f88 in CDownloadQueue::LoadSourceSeeds (this=0x8c85908)
    at DownloadQueue.cpp:197
#12 0x082e3955 in CamuleApp::OnInit (this=0x861da68) at amule.cpp:828
#13 0x082e91e1 in CamuleGuiApp::OnInit (this=0x861da68) at amule-gui.cpp:330
#14 0xb7d36091 in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#15 0x082e8c5e in main (argc=0, argv=0x0) at amule-gui.cpp:142
(gdb) bt full
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbfffe938 in ?? ()
No symbol table info available.
#2  0x00000006 in ?? ()
No symbol table info available.
#3  0xb74dd049 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#4  0xb76b1d67 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0xb76af8f5 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0xb76af932 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0xb76afab2 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0x08299d1a in CSafeFile::Read (this=0xbfffeb10, pBuf=0x0, nCount=1)
    at SafeFile.cpp:255
No locals.
#9  0x082996cb in CFileDataIO::ReadUInt8 (this=0x6) at SafeFile.cpp:46
        nVal = 0 '\0'
---Type to continue, or q to quit---
#10 0x08276218 in CPartFile::LoadSourceSeeds (this=0x8d35768)
    at PartFile.cpp:1086
        file = { = {_vptr.CFile = 0x83616e8, m_fd = 32,
    m_error = false, fFilePath = }, = {
    _vptr.CFileDataIO = 0x8361738}, }
        sources_data = { = { = {_vptr.CFile = 0x83617c8,
      m_fd = -1, m_error = false, fFilePath = },
    m_GrowBytes = 512, m_position = 0, m_BufferSize = 0, m_FileSize = 0,
    m_delete = true, m_buffer = 0x0}, = {
    _vptr.CFileDataIO = 0x8361854}, }
        src_count = 0 '\0'
#11 0x081c6f88 in CDownloadQueue::LoadSourceSeeds (this=0x8c85908)
    at DownloadQueue.cpp:197
        i = 1
#12 0x082e3955 in CamuleApp::OnInit (this=0x861da68) at amule.cpp:828
        incomingdir =
        tempdir =
        entries = (mntent *) 0xb75dc1bc
#13 0x082e91e1 in CamuleGuiApp::OnInit (this=0x861da68) at amule-gui.cpp:330
No locals.
#14 0xb7d36091 in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
---Type to continue, or q to quit---
#15 0x082e8c5e in main (argc=0, argv=0x0) at amule-gui.cpp:142
No locals.
(gdb) quit

Now using aMule CVS 2005-3-25 on Mandrake 10.1. Compiled with aMule's page wxGTK and wxBase.