aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 [3] 4 5

Author Topic: aMule is crashing since last Ubuntu update  (Read 15013 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: aMule is crashing since last Ubuntu update
« Reply #30 on: January 05, 2011, 07:55:16 PM »

Thank you for helping track down this nasty problem.  :)
Please try also to compile wxWidgets 2.8.11 yourself and use THAT to build aMule.
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

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: aMule is crashing since last Ubuntu update
« Reply #31 on: January 05, 2011, 08:02:05 PM »

Thank you for helping track down this nasty problem.  :)
Please try also to compile wxWidgets 2.8.11 yourself and use THAT to build aMule.
I did - I followed the guide in the Wiki and it said to compile wxWidgets first (wxGTK-2.8.11 to be precise) :)
Logged

guest

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 54
Re: aMule is crashing since last Ubuntu update
« Reply #32 on: January 05, 2011, 08:20:08 PM »

Logged

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: aMule is crashing since last Ubuntu update
« Reply #33 on: January 07, 2011, 05:42:33 PM »

My GNOME crashed yet again, so turning off Kad does not fix the problem. It does seem to make it happen less frequently, but I'm not 100% sure.

When I have a little more time I'll read up on using amuled with amuleGUI and I'll test that :)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: aMule is crashing since last Ubuntu update
« Reply #34 on: January 07, 2011, 09:40:55 PM »

Everybody please try this patch if it helps:
Code: [Select]
Index: EMSocket.cpp
===================================================================
--- EMSocket.cpp (revision 10426)
+++ EMSocket.cpp (working copy)
@@ -466,7 +466,7 @@
  //printf("* Disconnected socket %p\n", this);
         SocketSentBytes returnVal = { false, 0, 0 };
         return returnVal;
-    } else if (m_bBusy && onlyAllowedToSendControlPacket) {
+    } else if (m_bBusy) {
  //printf("* Busy socket %p\n", this);
         SocketSentBytes returnVal = { true, 0, 0 };
         return returnVal;
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

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: aMule is crashing since last Ubuntu update
« Reply #35 on: January 07, 2011, 10:30:04 PM »

You have to tell me how to use that thing  ;)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: aMule is crashing since last Ubuntu update
« Reply #36 on: January 07, 2011, 11:02:57 PM »

Edit src/EMSocket.cpp line 469 from old (-) to new (+) and compile it.
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

guest

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 54
Re: aMule is crashing since last Ubuntu update
« Reply #37 on: January 08, 2011, 04:57:16 AM »

soak testing it now
Logged

guest

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 54
Re: aMule is crashing since last Ubuntu update
« Reply #38 on: January 08, 2011, 06:05:32 AM »

backtrace posted in same thread as before
Logged

guest

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 54
Re: aMule is crashing since last Ubuntu update
« Reply #39 on: January 08, 2011, 10:16:11 AM »

Tried running valgrind on amule but after two hours amule hadn't come up. One of my cpus was pretty much maxed for the two hours so I'm guessing my comp might be a bit light on to run both. Might try it overnight tonight.
Logged

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: aMule is crashing since last Ubuntu update
« Reply #40 on: January 08, 2011, 12:08:11 PM »

Unfortunately, the patch didn't help - it only took my aMule about an hour to crash.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: aMule is crashing since last Ubuntu update
« Reply #41 on: January 10, 2011, 10:18:55 PM »

Umm, Olhado, may you try to disable speed limits and see if amule keeps crashing?
Logged

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: aMule is crashing since last Ubuntu update
« Reply #42 on: January 11, 2011, 03:11:35 PM »

I've disabled speed limits and aMule has been running for more than two hours now. Kad is enabled and there are large and popular files in the download queue. I probably won't be able to test it more thoroughly today since it makes browsing almost impossible, but it looks good so far :)
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: aMule is crashing since last Ubuntu update
« Reply #43 on: January 11, 2011, 03:47:37 PM »

Good to see, I've done quite a bit of testing and in 100% of cases the crashes and OOM were occuring only with limits enabled.

If you are in linux you may use something like wondershaper in order to run amule without limits. Other workaround is to pause enough downloads so your download speed is reasonable.

Note that I'm just having the problem with the download speed limit, I'm perfectly fine using an upload limit.
Logged

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: aMule is crashing since last Ubuntu update
« Reply #44 on: January 11, 2011, 05:18:43 PM »

My aMule has been running non-stop since the last time I've posted. That's quite a few hours and I'm pretty much certain that a crash should have occurred in that time. I've turned on the upload limit and we'll see what happens but it seems that you're right about the download limit causing the problem :)
Logged
Pages: 1 2 [3] 4 5