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 frequently crashes  (Read 2650 times)

shenk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
amule frequently crashes
« on: June 04, 2005, 04:40:40 PM »

Hello,
I use Slackware Current, I've compiled wxGTK 2.6.1 and  amule (./configure --enable-debug --disable-optimise ) becouse I had tryed some precompiled packages before and the result wos the same.
If I call amule from konsole this is the result, it chrashes after 5-15 minutes.

nicola@darkstar:/usr/local/bin$ ./amule
Initialising aMule
Checking if there is an instance already running...
Loading temp files from /home/nicola/.aMule/Temp.
Loading PartFile 11 of 11
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /home/nicola/.aMule/Temp/001.part.met to shares
Adding file /home/nicola/.aMule/Temp/004.part.met to shares
Adding file /home/nicola/.aMule/Temp/005.part.met to shares
Adding file /home/nicola/.aMule/Temp/006.part.met to shares
Adding file /home/nicola/.aMule/Temp/007.part.met to shares
Adding file /home/nicola/.aMule/Temp/013.part.met to shares
Adding file /home/nicola/.aMule/Temp/014.part.met to shares
Adding file /home/nicola/.aMule/Temp/015.part.met to shares
Adding file /home/nicola/.aMule/Temp/014.part.met to shares
Adding file /home/nicola/.aMule/Temp/013.part.met to shares
Adding file /home/nicola/.aMule/Temp/001.part.met to shares
Adding file /home/nicola/.aMule/Temp/004.part.met to shares
Adding file /home/nicola/.aMule/Temp/015.part.met to shares
Adding file /home/nicola/.aMule/Temp/007.part.met to shares
Adding file /home/nicola/.aMule/Temp/006.part.met to shares
Adding file /home/nicola/.aMule/Temp/005.part.met to shares
Aborted


Whow Can I do?
Logged

shenk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
RE: amule frequently crashes
« Reply #1 on: June 04, 2005, 05:04:23 PM »

this is the backtrace

Code: [Select]
Starting program: /usr/local/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 27149)]
Initialising aMule
Checking if there is an instance already running...
Loading temp files from /home/nicola/.aMule/Temp.
Loading PartFile 11 of 11
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /home/nicola/.aMule/Temp/001.part.met to shares
Adding file /home/nicola/.aMule/Temp/004.part.met to shares
Adding file /home/nicola/.aMule/Temp/005.part.met to shares
Adding file /home/nicola/.aMule/Temp/006.part.met to shares
Adding file /home/nicola/.aMule/Temp/007.part.met to shares
Adding file /home/nicola/.aMule/Temp/013.part.met to shares
Adding file /home/nicola/.aMule/Temp/014.part.met to shares
Adding file /home/nicola/.aMule/Temp/015.part.met to shares
[New Thread 32769 (LWP 27184)]
[New Thread 16386 (LWP 27185)]
[Thread 16386 (LWP 27185) exited]

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 27149)]
0x408e2d71 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x408e2d71 in kill () from /lib/libc.so.6
#1  0x40047681 in pthread_kill () from /lib/libpthread.so.0
#2  0x400479fb in raise () from /lib/libpthread.so.0
#3  0x408e2b04 in raise () from /lib/libc.so.6
#4  0x408e404d in abort () from /lib/libc.so.6
#5  0x40864684 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#6  0x408646c1 in std::terminate () from /usr/lib/libstdc++.so.5
#7  0x40864831 in __cxa_throw () from /usr/lib/libstdc++.so.5
#8  0x0824198d in CUpDownClient::ProcessExtendedInfo (this=0x8b234d8, data=0xbffff010,
    tempreqfile=0x863ce78) at UploadClient.cpp:405
#9  0x0813b758 in CClientReqSocket::ProcessPacket (this=0x8a85348,
    packet=0x8bf81e0 "GiÄØÒsô\213RÕ\223<&\214ôý\030", size=16, opcode=88 'X') at ListenSocket.cpp:482
#10 0x08145926 in CClientReqSocket::PacketReceived (this=0x8a85348, packet=0x8aee7c8)
    at ListenSocket.cpp:1840
#11 0x0810aa48 in CEMSocket::OnReceive (this=0x8a85348, nErrorCode=0) at EMSocket.cpp:265
#12 0x08144fcf in CClientReqSocket::OnReceive (this=0x8a85348, nErrorCode=0) at ListenSocket.cpp:1741
#13 0x08139d30 in CClientReqSocketHandler::ClientReqSocketHandler (this=0x854eac0, event=@0x8a62900)
    at ListenSocket.cpp:89
#14 0x40647721 in wxAppConsole::HandleEvent () from /usr/local/lib/libwx_base-2.6.so.0
#15 0x406f16df in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_base-2.6.so.0
#16 0x406f0a58 in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_base-2.6.so.0
#17 0x406f1884 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_base-2.6.so.0
#18 0x406f1620 in wxEvtHandler::ProcessPendingEvents () from /usr/local/lib/libwx_base-2.6.so.0
#19 0x40647693 in wxAppConsole::ProcessPendingEvents () from /usr/local/lib/libwx_base-2.6.so.0
#20 0x4037b857 in wxapp_pending_callback () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
#21 0x40ecdc23 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#22 0x40ecac22 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#23 0x40ecbca8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x40ecbfe0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type to continue, or q to quit---
#25 0x40ecc583 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#26 0x40bb6993 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x40395545 in wxEventLoop::Run () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
#28 0x40427869 in wxAppBase::MainLoop () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
#29 0x404279cb in wxAppBase::OnRun () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
#30 0x4068c1a9 in wxEntry () from /usr/local/lib/libwx_base-2.6.so.0
#31 0x08079c51 in main (argc=1, argv=0xbffff584) at amule-gui.cpp:147
(gdb) bt full
#0  0x408e2d71 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x40047681 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0x400479fb in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0x408e2b04 in raise () from /lib/libc.so.6
No symbol table info available.
#4  0x408e404d in abort () from /lib/libc.so.6
No symbol table info available.
#5  0x40864684 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
No symbol table info available.
#6  0x408646c1 in std::terminate () from /usr/lib/libstdc++.so.5
No symbol table info available.
#7  0x40864831 in __cxa_throw () from /usr/lib/libstdc++.so.5
No symbol table info available.
#8  0x0824198d in CUpDownClient::ProcessExtendedInfo (this=0x8b234d8, data=0xbffff010,
    tempreqfile=0x863ce78) at UploadClient.cpp:405
        nED2KUpPartCount = 2084
#9  0x0813b758 in CClientReqSocket::ProcessPacket (this=0x8a85348,
    packet=0x8bf81e0 "GiÄØÒsô\213RÕ\223<&\214ôý\030", size=16, opcode=88 'X') at ListenSocket.cpp:482
        packet = (class CPacket *) 0x40def0d4
        data_in = { = { = {_vptr.CFile = 0x82ce928, m_fd = -1, m_error = false,
      m_filePath = { = {static npos = 4294967295,
          m_pchData = 0x406fc180 ""}, }}, m_GrowBytes = 0, m_position = 16,
    m_BufferSize = 16, m_FileSize = 16, m_delete = false,
    m_buffer = 0x8bf81e0 "GiÄØÒsô\213RÕ\223<&\214ôý\030"}, = {
    _vptr.CFileDataIO = 0x82ce9b4}, }
        reqfilehash = {m_hash = "GiÄØÒsô\213RÕ\223<&\214ôý"}
---Type to continue, or q to quit---
        reqfile = (class CKnownFile *) 0x863ce78
        data_out = { = { = {_vptr.CFile = 0x40def0d4, m_fd = 22300, m_error = 248,
      m_filePath = { = {static npos = 4294967295,
          m_pchData = 0x40d8ae38 "\203Ä\034\211ð[^_]Ã\215´&"}, }},
    m_GrowBytes = 147302680, m_position = 107374182400, m_BufferSize = 637949635504680224,
    m_FileSize = 108462124256, m_delete = 212,
    m_buffer = 0x8849b70 "\200÷]@\001J·\b\037"}, = {
    _vptr.CFileDataIO = 0x0}, }
#10 0x08145926 in CClientReqSocket::PacketReceived (this=0x8a85348, packet=0x8aee7c8)
    at ListenSocket.cpp:1840
        bResult = 64
        uRawSize = 16
#11 0x0810aa48 in CEMSocket::OnReceive (this=0x8a85348, nErrorCode=0) at EMSocket.cpp:265
        bPacketResult = 8
        toCopy = 16
        GlobalReadBuffer = "ã\021\000\000\000XGiÄØÒsô\213RÕ\223<&\214ôý3\030Axí\231¥ù®ra \212²\f\006¦\027\230G\224ó\207n\\?^ñÔ>Ö`ÑÕÌô©Â\231ÐùÑ\215\236!\022ò¡\023ö\234`\225u\017\000«OÝÅqÁo)Ë'Hs\vÞ^ÇÈ\rØ/à\204Æ\002\033\033F\002DKß<\215Üqí9)\024\231\202\2118Fxk@\035I3d\220÷w\b¦W÷\230\\Y Wu6*Q\202JU\037\030D¶Èò³\235¢ùØ6þe·lQhgï\212\215\237$\213é\005\213äi\tx¨Nvàºó\177\006\207¥ûUÃR ³~ï\033"...
        readMax = 2000000
        ret = 22
        rptr = 0x8365ef6 "3\030Axí\231¥ù®ra \212²\f\006¦\027\230G\224ó\207n\\?^ñÔ>Ö`ÑÕÌô©Â\231ÐùÑ\215\236!\022ò¡\023ö\234`\225u\017"
        rend = 0x8365ef6 "3\030Axí\231¥ù®ra \212²\f\006¦\027\230G\224ó\207n\\?^ñÔ>Ö`ÑÕÌô©Â\231ÐùÑ\215\236!\022ò¡\023ö\234`\225u\017"
#12 0x08144fcf in CClientReqSocket::OnReceive (this=0x8a85348, nErrorCode=0) at ListenSocket.cpp:1741
No locals.
#13 0x08139d30 in CClientReqSocketHandler::ClientReqSocketHandler (this=0x854eac0, event=@0x8a62900)
    at ListenSocket.cpp:89
---Type to continue, or q to quit---
        socket = (CClientReqSocket *) 0x8a85348
#14 0x40647721 in wxAppConsole::HandleEvent () from /usr/local/lib/libwx_base-2.6.so.0
No symbol table info available.
#15 0x406f16df in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_base-2.6.so.0
No symbol table info available.
#16 0x406f0a58 in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_base-2.6.so.0
No symbol table info available.
#17 0x406f1884 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_base-2.6.so.0
No symbol table info available.
#18 0x406f1620 in wxEvtHandler::ProcessPendingEvents () from /usr/local/lib/libwx_base-2.6.so.0
No symbol table info available.
#19 0x40647693 in wxAppConsole::ProcessPendingEvents () from /usr/local/lib/libwx_base-2.6.so.0
No symbol table info available.
#20 0x4037b857 in wxapp_pending_callback () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#21 0x40ecdc23 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#22 0x40ecac22 in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x40ecbca8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x40ecbfe0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x40ecc583 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0x40bb6993 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x40395545 in wxEventLoop::Run () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#28 0x40427869 in wxAppBase::MainLoop () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#29 0x404279cb in wxAppBase::OnRun () from /usr/local/lib/libwx_gtk2_core-2.6.so.0
No symbol table info available.
#30 0x4068c1a9 in wxEntry () from /usr/local/lib/libwx_base-2.6.so.0
No symbol table info available.
#31 0x08079c51 in main (argc=1, argv=0xbffff584) at amule-gui.cpp:147
No locals.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: amule frequently crashes
« Reply #2 on: June 05, 2005, 12:37:31 AM »

Quote
Program received signal SIGABRT, Aborted.
find out who or what process has sent the abort signal to aMule. Does not seem to be aMule's fault.

Cheers!
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: amule frequently crashes
« Reply #3 on: June 05, 2005, 08:42:09 AM »

Quote
Originally posted by phoenix
Quote
Program received signal SIGABRT, Aborted.
find out who or what process has sent the abort signal to aMule. Does not seem to be aMule's fault.
Actually, I think it is.  First, notice that aMule is in the kill() function, which means it's sending a signal to a process, probably SIGABRT to itself.

Second, notice std::terminate() on the stack.  The C++ language specifies that this is the function called when you throw an exception (and don't catch it) while another exception is already being processed.  It also specifies that the default behavior of std::terminate() is to abort the program.

[EDITED]volpol kindly pointed out that you had specified your version as 2.0.1  :][/EDITED]
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule frequently crashes
« Reply #4 on: June 05, 2005, 10:16:11 AM »

and Kry said to me this was fixed in 2.0.2 ...so maybe try it :)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."