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 ... 37

Author Topic: RRM's epic struggle for a better aMule on high-speed connections  (Read 46366 times)

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« on: February 11, 2009, 09:00:32 PM »

...
2 - in aMule: disable skins, disable tray icon and disable "minimize to icon"
I'm not sure which of the above does the trick...

I have Ubuntu installed. After just a few crashes initially, once I started downloading multiple files (and uploading 1.1 MBps), aMule started crashing every 2 or so hours.
I always had skins disabled, but after disabling "tray icon" and "minimize to icon", the problem seems to be solved...

THANK YOU for figuring it out, and for posting your advice here!!
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #1 on: February 12, 2009, 04:05:47 PM »

hmmm, I cheered too soon.  :-\
Though my system is more stable now, amule still crashes a few times a day...
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #2 on: February 12, 2009, 11:26:55 PM »

Though my system is more stable now, amule still crashes a few times a day...
This is no good, RRM. Could you get a good backtrace from your crashes?
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #3 on: February 13, 2009, 04:32:01 PM »

Quote
This is no good, RRM. Could you get a good backtrace from your crashes?

Thank you for your response. Unfortunately, I have no idea how to get a backtrace. I looked it up, but it seems too complicated for me.
In the meantime, I have disabled the "show progressindicator" (I had read that in another thread), and amule has not crashed since!  ;D (since last night)

Oh, I forgot to mention that in the first weeks of using ubuntu/amule (I switched from XP/emule), i was only uploading files (a very steady 1.1 MBps) experiencing only 2 crashes in total. Not until I started downloading as well, the amule-crash incidence significantly increased.
« Last Edit: February 13, 2009, 04:55:12 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #4 on: February 15, 2009, 12:26:41 PM »

Thank you for your response. Unfortunately, I have no idea how to get a backtrace. I looked it up, but it seems too complicated for me.
Getting a backtrace is really easy, just run amule from a terminal with

Code: [Select]
$ gdb amule
(gbd) run

Getting a good backtrace is another matter.

By the way RRM, you seem to be using a really old aMule version (the one included with Ubuntu). Could you try to install the latest SVN one?

Regards
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #5 on: February 16, 2009, 08:21:45 PM »

Thank you for your instructions and your patience.
This is what i got:

Code: [Select]
$ gdb amule
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/amule
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---

Quote
you seem to be using a really old aMule version (the one included with Ubuntu). Could you try to install the latest SVN one?

I had previously looked into that, but i actually dont know what to install (ive got Hardy Heron);
- amule SVN tarballs?
- aMule SVN ยป Distro-Specific packages?
- deb http://ppa.launchpad.net/simontol/ubuntu hardy main?

Regards,

Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #6 on: February 16, 2009, 09:11:08 PM »

Dear RRM,

I'd suggest you first try with the amule in

deb http://ppa.launchpad.net/simontol/ubuntu hardy main

Then you run gdb amule. Note this means gdb (a debugger) is "supervising" amule, so when it crashes you can actually know what happened.

So the procedure is to start gdb amule, and then wait until amule crashes, then the backtrace will be shown.

[By the way, you have to press enter to continue, read the message you posted]

Ok, so keep amule 2.2.3 running under gdb for a while, and when the first crash happens please post the last lines of the gdb output. Remember, gdb output is only interesting if your amule crashed.

This week I'm really busy so excuse me if I don't quickly answer some of your questions, but I'm really interested in fixing your multiple crashes.
Logged

xja

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
RRM's epic struggle for a better aMule on high-speed connections
« Reply #7 on: February 19, 2009, 05:30:59 PM »

Hi,
I've been told about this topic about this problem http://www.amule.org/amule/index.php?topic=16543.0 about a crash under Mac OS X.
Does the script reported by kau solve the problem?
GonoszTopi said there's an outdated command in it, how should it be?
I should run it in a Terminal window, or save it (what about the extension?) and execute it with a command line?

Thanks, bye bye!
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #8 on: February 21, 2009, 07:37:27 PM »

I'd suggest you first try with the amule in
deb http://ppa.launchpad.net/simontol/ubuntu hardy main

Ok, so at http://ppa.launchpad.net/simontol/ubuntu/pool/main/a/amule/
, there is amule for 3 different architectures? I guess its quite silly, but i dont know which one applies to my comp.
Code: [Select]
My system:
HP Pavilion a6370
Phenom 9500, 2.2GHz, socket AM2
GeForce 6150SE nForce 430
Asus M2N68-LA, HP Narra3-GL8E
3GB, PC2-5300 MB/sec, 240 pin, DDR2 SDRAM
AMD Live technologies

I tried to get more info on my hardware in the command line, but i can only read the last part of all the info in "lshw" or "lshal". When i try "$ less lshw" or $ less lshal", it says "no such file or directory"
When i simply choose to install amule for md64 or lpia, it says: "error: wrong architecture".
When i pick the one for i386, it says: "error: dependency is not satisfiable: amule-common"

Quote
Then you run gdb amule. Note this means gdb (a debugger) is "supervising" amule, so when it crashes you can actually know what happened.
So the procedure is to start gdb amule, and then wait until amule crashes, then the backtrace will be shown.

Ok, I get that. I just didnt get that far yet...

Quote
By the way, you have to press enter to continue, read the message you posted

Yes, i did that, but i just got more of exactly the same, so i thought that posting that was just wasting webspace.

Quote
This week I'm really busy so excuse me if I don't quickly answer some of your questions, but I'm really interested in fixing your multiple crashes.

Please take your time. Im really grateful for the support that you give me, whenever you can find some time to do so.
Currently, amule crashes 6 times a day on average.
Regards,
« Last Edit: February 21, 2009, 07:58:30 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #9 on: February 22, 2009, 01:31:41 AM »

Ok, so at http://ppa.launchpad.net/simontol/ubuntu/pool/main/a/amule/
, there is amule for 3 different architectures? I guess its quite silly, but i dont know which one applies to my comp.
Just fire up synaptic and select Settings -> Repositories. Then go to the "Third party software" section and click the add button. Insert this line

Code: [Select]
deb http://ppa.launchpad.net/simontol/ubuntu hardy main

Then reload and upgrade aMule. architecture selection and dependency management will be done automatically for you.

Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #10 on: February 22, 2009, 06:51:56 PM »

Thank you btkaos, that was very helpful.
Amule 2.2.3 has now been installed, and I just ran gdb amule from a terminal window.
On starting up it reported error 2 in amule/config, but maybe that doesnt mean anything?:

Code: [Select]
Initialising aMule 2.2.3 using wxGTK2 v2.8.7
Checking if there is an instance already running...
No other instances are running.
[New Thread 0xb660ab90 (LWP 8500)]
HTTP download thread started
(no debugging symbols found)
ListenSocket: Ok.
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
[New Thread 0xb576eb90 (LWP 8503)]
Loading temp files from /home/rrm/.aMule/Temp.
Loading PartFile 3 of 3
All PartFiles Loaded.
Adding file /home/rrm/.aMule/Temp/001.part.met to shares
Adding file /home/rrm/.aMule/Temp/005.part.met to shares
Adding file /home/rrm/.aMule/Temp/006.part.met to shares
execvp(amuleweb, --amule-config-file=/home/rrm/.aMule/amule.conf) failed with error 2!
[New Thread 0xb4f6db90 (LWP 8505)]
[New Thread 0xb476cb90 (LWP 8506)]
[Thread 0xb4f6db90 (LWP 8505) exited]
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
[Thread 0xb660ab90 (LWP 8500) exited]

Ok, and now lets wait for the next crash...
« Last Edit: February 22, 2009, 06:53:29 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #11 on: February 22, 2009, 08:04:38 PM »

Ok...
Amule crashed after 45 minutes...

Code: [Select]
Terminated after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
* Could not get symbol names for backtrace
backtrace:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb69886c0 (LWP 8495)]
0xb7f72410 in __kernel_vsyscall ()
(gdb)

Is this backtrace any good?
Maybe not, so I will keep trying to get a better one.
« Last Edit: February 22, 2009, 08:28:36 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #12 on: February 22, 2009, 08:39:28 PM »

Thank you btkaos, that was very helpful.
Amule 2.2.3 has now been installed, and I just ran gdb amule from a terminal window.
Perfect! Just wait for the next crash, then a backtrace will appear. When amule is running ok no output goes to the terminal window.

Quote
On starting up it reported error 2 in amule/config, but maybe that doesnt mean anything?:
This means amuleweb is not installed. What is the output of
Code: [Select]
$ which amuleweb
Otherwise install the amule-daemon package.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #13 on: February 22, 2009, 08:41:15 PM »

Amule crashed after 45 minutes...
This looks no good :(

Quote
Code: [Select]
(gdb)

Is this backtrace any good?
once the program crashes, you have to type "bt" in the prompt to get a backtrace. "bt full" is also useful. Please see the wiki.

So try to get a crash and then type "bt full" and "bt". Good luck
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3830
  • Engines screaming
RRM's epic struggle for a better aMule on high-speed connections
« Reply #14 on: February 22, 2009, 09:02:17 PM »

Code: [Select]
Terminated after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
* Could not get symbol names for backtrace
The bt won't be useful probably, since aMule is compiled without debug info appearantly.
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
Pages: [1] 2 3 ... 37