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 20040606 stops responding or quits  (Read 2665 times)

DennYo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
aMule CVS 20040606 stops responding or quits
« on: June 09, 2004, 06:30:24 PM »

Hello the aMule CVS 20040606 stops responding after a few hours or just quits. Even the 20040607 and 20040608 are doing so while the 20040607 and 20040608 are connecting with a lowID. With the 20040606 I get a highID. The original rc3 does the same exept the lowID.
here is the Debug Output:

Code: [Select]
Hashing thread timed out with no aditions - removing thread
[Thread 16386 (LWP 8074) exited]
Hashing thread ended
Read after safemem file!!!!
Read after safemem file!!!!
Read after safemem file!!!!
Read after safemem file!!!!
Read after safemem file!!!!
Read after safemem file!!!!
Read after safemem file!!!!
Read after safemem file!!!!

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 16384 (LWP 8069)]
0x0942a818 in ?? ()
(gdb) bt
#0  0x0942a818 in ?? ()
#1  0x080c89ff in CClientReqSocket::Safe_Delete (this=0x8e49e90)
    at ListenSocket.cpp:188
#2  0x080dd094 in CUpDownClient::TryToConnect (this=0x910e100,
    bIgnoreMaxCon=false) at BaseClient.cpp:1195
#3  0x08101b72 in CUpDownClient::AskForDownload (this=0x910e100)
    at DownloadClient.cpp:137
#4  0x081ba56f in CPartFile::Process (this=0x8be4870, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1699
#5  0x081157bd in CDownloadQueue::Process (this=0x8a5c7a0)
    at DownloadQueue.cpp:376
---Type to continue, or q to quit---
#6  0x08227240 in CamuleApp::OnCoreTimer (this=0x852a1f0) at amule.cpp:1684
#7  0x402e7667 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so.0
#8  0x402e7483 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk-2.4.so.0
#9  0x4038a997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x40297e6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#11 0x40654ec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#12 0x4065403d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#13 0x406544f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#14 0x40654724 in g_main_run () from /usr/lib/libglib-1.2.so.0
---Type to continue, or q to quit---
#15 0x4057ac3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#16 0x40246a79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x402a7a47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
#18 0x402471db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#19 0x082212c8 in main (argc=1, argv=0xbffffb54) at amule.cpp:152
(gdb) bt full
#0  0x0942a818 in ?? ()
No symbol table info available.
#1  0x080c89ff in CClientReqSocket::Safe_Delete (this=0x8e49e90)
    at ListenSocket.cpp:188
No locals.
#2  0x080dd094 in CUpDownClient::TryToConnect (this=0x910e100,
    bIgnoreMaxCon=false) at BaseClient.cpp:1195
No locals.
#3  0x08101b72 in CUpDownClient::AskForDownload (this=0x910e100)
    at DownloadClient.cpp:137
No locals.
---Type to continue, or q to quit---
#4  0x081ba56f in CPartFile::Process (this=0x8be4870, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1699
        download_state = 7 '\a'
        pos1 = 0x8e09688
        pos2 = 0x8d73fa8
        old_trans = 0
        cur_src = (CUpDownClient *) 0x910e100
        dwCurTick = 113295112
#5  0x081157bd in CDownloadQueue::Process (this=0x8a5c7a0)
    at DownloadQueue.cpp:376
        cur_file = (class CPartFile *) 0x8be4870
---Type to continue, or q to quit---
        i = 19
        size = 36
        downspeed = 0
#6  0x08227240 in CamuleApp::OnCoreTimer (this=0x852a1f0) at amule.cpp:1684
        msPrev1 = 10159602
        msPrev5 = 10159712
        msPrevSave = 10153632
        msCur = 10159952
#7  0x402e7667 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
---Type to continue, or q to quit---
#8  0x402e7483 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#9  0x4038a997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#10 0x40297e6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#11 0x40654ec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#12 0x4065403d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
---Type to continue, or q to quit---
#13 0x406544f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#14 0x40654724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#15 0x4057ac3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#16 0x40246a79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#17 0x402a7a47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#18 0x402471db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
---Type to continue, or q to quit---
No symbol table info available.
#19 0x082212c8 in main (argc=1, argv=0xbffffb54) at amule.cpp:152
No locals.

Hope that helps. I'll try to install the cvs-20040609 today.
By the way, how can I uninstall a cvs...I'm using Debian but it doesnt't work with apt-get remove...what a wonder ;-)
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: aMule CVS 20040606 stops responding or quits
« Reply #1 on: June 09, 2004, 06:58:38 PM »

to remove cvs `make uninstall` from the compilation directory.
That bug is the Safe_Delete bug, AKA RSB (Random Socket Bug). Very well known laready, but thanks anyway ;-)
Greetings!
Logged

DennYo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
aMule-cvs-20040609
« Reply #2 on: June 09, 2004, 08:33:34 PM »

Thanks Jacobo!!

So I installed the aMule-cvs-20040609 and what a surprise, same failure. Don't know if I have to Post it once again if the problem is known. Say stop if you don't want more.

But here's the debug of ...09

Code: [Select]
#0  0x080f1fe9 in std::_List_base >::__clear (this=0x916bc84) at list.tcc:76
#1  0x080f1f6d in ~_List_base (this=0x916bc84) at stl_list.h:312
#2  0x080f1703 in ~list (this=0x916bc84) at stl_list.h:513
#3  0x080e9ad4 in ~CUpDownClient (this=0x916bbe0) at BaseClient.cpp:301
#4  0x080ee166 in CUpDownClient::TryToConnect (this=0x916bbe0,
    bIgnoreMaxCon=false) at BaseClient.cpp:1224
#5  0x081152ba in CUpDownClient::AskForDownload (this=0x916bbe0)
    at DownloadClient.cpp:137
#6  0x081cd2e7 in CPartFile::Process (this=0x8c037c0, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1701
#7  0x08128739 in CDownloadQueue::Process (this=0x8a76738)
    at DownloadQueue.cpp:376
#8  0x0823d4cc in CamuleApp::OnCoreTimer (this=0x8543a30) at amule.cpp:1682
#9  0x402e7667 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so.0
#10 0x402e7483 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk-2.4.so.0
#11 0x4038a997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
#12 0x40297e6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#13 0x40654ec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
---Type to continue, or q to quit---
#14 0x4065403d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#15 0x406544f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#16 0x40654724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#17 0x4057ac3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#18 0x40246a79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
#19 0x402a7a47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
#20 0x402471db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#21 0x08237484 in main (argc=1, argv=0xbffffb54) at amule.cpp:152
(gdb)
(gdb) bt full
#0  0x080f1fe9 in std::_List_base >::__clear (this=0x916bc84) at list.tcc:76
        __tmp = (std::_List_node *) 0x0
        __cur = (std::_List_node *) 0x0
#1  0x080f1f6d in ~_List_base (this=0x916bc84) at stl_list.h:312
No locals.
#2  0x080f1703 in ~list (this=0x916bc84) at stl_list.h:513
No locals.
#3  0x080e9ad4 in ~CUpDownClient (this=0x916bbe0) at BaseClient.cpp:301
No locals.
#4  0x080ee166 in CUpDownClient::TryToConnect (this=0x916bbe0,
    bIgnoreMaxCon=false) at BaseClient.cpp:1224
No locals.
#5  0x081152ba in CUpDownClient::AskForDownload (this=0x916bbe0)
    at DownloadClient.cpp:137
No locals.
#6  0x081cd2e7 in CPartFile::Process (this=0x8c037c0, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1701
        download_state = 11 '\v'
        pos1 = 0x927ea08
        pos2 = 0x8e8ac30
---Type to continue, or q to quit---
        old_trans = 0
        cur_src = (CUpDownClient *) 0x916bbe0
        dwCurTick = 178860053
#7  0x08128739 in CDownloadQueue::Process (this=0x8a76738)
    at DownloadQueue.cpp:376
        cur_file = (class CPartFile *) 0x8c037c0
        i = 13
        size = 35
        downspeed = 0
#8  0x0823d4cc in CamuleApp::OnCoreTimer (this=0x8543a30) at amule.cpp:1682
        msPrev1 = 3157975
        msPrev5 = 3157207
        msPrevSave = 3123190
        msCur = 3158186
#9  0x402e7667 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#10 0x402e7483 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#11 0x4038a997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
---Type to continue, or q to quit---
No symbol table info available.
#12 0x40297e6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#13 0x40654ec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#14 0x4065403d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#15 0x406544f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#16 0x40654724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#17 0x4057ac3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#18 0x40246a79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#19 0x402a7a47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#20 0x402471db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#21 0x08237484 in main (argc=1, argv=0xbffffb54) at amule.cpp:152
No locals.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: aMule CVS 20040606 stops responding or quits
« Reply #3 on: June 09, 2004, 08:56:46 PM »

The Random Socket Bug is not fixed yet. It's been there since some releases ago and it's preference no1 in bug fixes. But hard to find. The problem is known, the way to reproduce it is also known, but the bug is unknown ;-)
An alternative function is being coded AFAIK. So expect that bug to dissapear some day not too fat from now.
Greetings!
Logged