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 stops after 24 hours  (Read 4145 times)

vtoejy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
aMule stops after 24 hours
« on: August 13, 2011, 12:20:46 PM »

I'm using aMule for quite some time and I have a very big problem: aMule can't run for more than 24 hours. Older versions crashes, now I'm using one of the latest tarballs and it is a bit better, it doesn't crash, but all downloads stops exactly after 24 hours from launching (happened righ now, 24 hours exactly). Since it is so precise I'm assuming it is a bug or something, is there a solution ? A fix, a patch, whatever ? How can you use aMule if it stops working after 24 hours ?
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: aMule stops after 24 hours
« Reply #1 on: August 13, 2011, 04:42:21 PM »

I'm using aMule for quite some time and I have a very big problem: aMule can't run for more than 24 hours. Older versions crashes, now I'm using one of the latest tarballs and it is a bit better, it doesn't crash, but all downloads stops exactly after 24 hours from launching (happened righ now, 24 hours exactly). Since it is so precise I'm assuming it is a bug or something, is there a solution ? A fix, a patch, whatever ? How can you use aMule if it stops working after 24 hours ?

Please tell us more detail, including output of amule when crashing and wx, os, and xlib versions.

If you are not using wx 2.8.12, first update, then try to reproduce.
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: aMule stops after 24 hours
« Reply #2 on: August 13, 2011, 05:22:54 PM »

Maybe it happens when Kad reconnects after IP change?

Logged

vtoejy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule stops after 24 hours
« Reply #3 on: August 14, 2011, 10:52:39 AM »

Please tell us more detail, including output of amule when crashing and wx, os, and xlib versions.

Absolutely nothing. The program just exits, no outputs, no logs, nothing, just exits. The most recent versions (I'm running SVN r10561) doesn't exits but the downloads stops at exactly 24 hours from start, while uploads are still running.

If you are not using wx 2.8.12, first update, then try to reproduce.

wxWindows is 2.8.10, for some reasons I can't install 2.8.12, nothing works with that version, aMule drops almost all sources. Do you think that it is an issue with wxWindows ?
Logged

vtoejy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule stops after 24 hours
« Reply #4 on: August 14, 2011, 10:53:46 AM »

Maybe it happens when Kad reconnects after IP change?

No IP change, I checked, the IP is the same it was at the beginning.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: aMule stops after 24 hours
« Reply #5 on: August 14, 2011, 12:05:01 PM »

If you are using wx 2.8.10 then you need to update to 2.8.12 in order to fix this bug. Try updating and post about your problems, there's a good guide on the wiki.
Logged

vtoejy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule stops after 24 hours
« Reply #6 on: August 14, 2011, 07:28:41 PM »

If you are using wx 2.8.10 then you need to update to 2.8.12 in order to fix this bug. Try updating and post about your problems, there's a good guide on the wiki.

I did some tests today, first I should have mentioned that I'm running Fedora 10 that ships with wxWidgets 2.8.10. With that version aMule SVN 10561 works except for the 24hours time limit.

I have uninstalled wxWidgets completely, then compiled 2.8.12, installed it on /usr/local and compiled aMule SVN 10561. aMule doesn't work, it starts, loads the partfiles, but drops almost all sources after few minutes, make it all unusable. Just for clarity, say that at startup if finds 100 sources for a file, after few minutes, the sources drops to 5. I have 30 files to download and they have 1-5 sources each, that's absolutely wrong, with wxWidgets 2.8.10 all sources are kept, some files have 150-200 sources.

I have downloaded the latest development version wxWidgets 2.9.2 and recompiled aMule against it. It seems to work, the number of sources seems correct. Now will wait 24 hours to see what happens.
Logged

vtoejy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule stops after 24 hours
« Reply #7 on: August 14, 2011, 07:34:22 PM »

Talked too soon: UPNP doesn't work, it doesn't configure the router. Damn! With all due respect this wxWidgets thing is a real mess!
Logged

vtoejy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: aMule stops after 24 hours
« Reply #8 on: August 16, 2011, 08:31:11 PM »

Ok, I give up. Too unstable, it crashes and freezes like nothing seen before.

I'm back with wxWidgets 2.8.10, I can live with restarting aMule every 24 hours, if I when I have the time to fully update the system I'll try again.

Out of curiosity, do you know exactly what patch/update to wxWidgets is responsible for this 24 hours limit ? I can try to apply just that patch to the 2.8.10 sources.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: aMule stops after 24 hours
« Reply #9 on: August 16, 2011, 11:14:52 PM »

To be honest, I've never heard of such a thing before, without the IP change or a network disconnect/reconnect.
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule stops after 24 hours
« Reply #10 on: August 27, 2011, 07:16:00 PM »

aMule doesn't work, it starts, loads the partfiles, but drops almost all sources after few minutes, make it all unusable.
I have seen that with wx SVN in Windows, but never with wx 2.8.

I have uninstalled wxWidgets completely, then compiled 2.8.12, installed it on /usr/local and compiled aMule SVN 10561.
Don't. Build aMule SVN using --with-wxdir as described here.

I don't think this is related to wx at all. 2.8.12 fixes an out of memory problem, but no way downloads stop after precisely 24h. Some freak effect of your Linux installation probably.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon