aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: crashing when scrolling through upload queue  (Read 3864 times)

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
crashing when scrolling through upload queue
« on: May 13, 2007, 10:33:46 AM »

aMule svn-2007-05-02 on Debian GNU/Linux Etch i686

When scrolling through the upload queue (not the list of active uploads), aMule crashes constantliy.
Logged
Gentoo i686

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: crashing when scrolling through upload queue
« Reply #1 on: May 14, 2007, 06:27:25 AM »

I have seen this same issue, however it does not happen frequently, so I've been unable to get a good backtrace of this.

Regards.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: crashing when scrolling through upload queue
« Reply #2 on: May 14, 2007, 04:17:07 PM »

Could you please try to create a backtrace for this error? (Some help: http://www.amule.org/wiki/index.php/Backtraces)

If there's something about crypto++ in the error message, try recompiling with the embedded crypto++-library.
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: crashing when scrolling through upload queue
« Reply #3 on: May 15, 2007, 06:17:38 AM »

No wuischke, I did not see anything about crypto in the error (however I might be wrong, since I did not save the error, silly me :(). Unfortunately, under solaris the embedded crypto is not an option, since it will compile fine but the resulting aMule is useless (it's unable to create some files on first startup) so I have to use external cryptopp.

Regards.
Logged

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: crashing when scrolling through upload queue
« Reply #4 on: May 15, 2007, 03:54:08 PM »

Could you please try to create a backtrace for this error? (Some help: http://www.amule.org/wiki/index.php/Backtraces)

I will try.

I will update

http://www.amule.org/wiki/index.php/Backtraces#Create_a_backtrace

when it's unlocked because for aMule SVN one has to append "--even-if-ifroen-blah-blah" to the aMule command and one cannot do "gdb /usr/local/bin/amule --even-if-ifroen-blah-blah"

It is "gdb /usr/local/bin/amule"
and then "run --even-if-ifroen-blah-blah"

« Last Edit: May 15, 2007, 04:01:38 PM by Arichy »
Logged
Gentoo i686

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: crashing when scrolling through upload queue
« Reply #5 on: May 15, 2007, 03:56:52 PM »

Arichy:
You are correct, it is "run --even-if-lfroen-complains-this-will-stay". Thanks for your support.

Skolnick:
Please try running aMule in gdb and with debug support, I see no other way to get a grasp of the problem.

Too bad. Now I have to stop telling people to use the internal crypto++ (solved problems with Ubuntu feisty and possibly Debian) and maybe actually do something for compatibility. (Or a least a list of known incompatibilities.)

Anyway, now that I got a new hard drive for my Athlon Classic I may finally install OpenSolaris and start playing around. (Solaris Express crashed after loading the kernel on the notebook and the Nexenta partitioning manager is very incomprehensible and I couldn't risk loosing data...)
Logged

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: crashing when scrolling through upload queue
« Reply #6 on: May 15, 2007, 04:19:23 PM »

[...] try recompiling with the embedded crypto++-library.
I did compile with embedded crypto++-library.
Logged
Gentoo i686

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: crashing when scrolling through upload queue
« Reply #7 on: May 15, 2007, 07:40:46 PM »

Could you please try to create a backtrace for this error?

It's here:

http://forum.amule.org/index.php?topic=12635.0
Logged
Gentoo i686

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: crashing when scrolling through upload queue
« Reply #8 on: May 15, 2007, 08:42:33 PM »

Thanks a lot.

I couldn't find the actual cause, but I'm just a junior code monkey. ;)

Things I believe to know: It's an unknown client (clientImage = 19) with a strange IP value of '0'. I'm not exactly sure whether this is ok, but I see no reason to crash hard either.

I'll try to find out more or you are lucky and one of the more experiences developers knows the cause.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: crashing when scrolling through upload queue
« Reply #9 on: May 16, 2007, 08:01:24 PM »

OK, thanks to Kry who pointed out an actually pretty obvious error:

Quote
0x0826cc71 in CClientCredits::GetCurrentIdentState (this=0x2400, dwForIP=0)
    at ClientCredits.cpp:222

A pointer to 0x2400 should never happen. I have no clue what causes this, but I would recommend compiling wxgtk and not using a package.
Logged

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: crashing when scrolling through upload queue
« Reply #10 on: May 16, 2007, 10:38:17 PM »

[...] I would recommend compiling wxgtk and not using a package.
I did compile the wxgtk 2.8.3 sources with "./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise". I have no wxgtk or amule packages installed.
Logged
Gentoo i686

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: crashing when scrolling through upload queue
« Reply #11 on: May 17, 2007, 05:33:37 AM »

I can reproduce it here, but it is a memory corruption, as your bactrace has shown, so the backtrace is useless. I'll try to run aMule inside valgrind, but it gets really slow...
Logged