aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMuleGUI SVN 20080912 winXP  (Read 4790 times)

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
aMuleGUI SVN 20080912 winXP
« on: September 12, 2008, 11:51:16 PM »

aMuleGUI crashed after the following:

- choose other category
- change the sort order of the progress bars
- click one of the downloads

Before this there were already some glitches in the progress bars - some didn't show. These glitches seem to appear after idling a while.

attached is a .dmp file for Visual Studio
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN 20080912 winXP
« Reply #1 on: September 13, 2008, 12:30:07 AM »

I'm afraid dmp files are useless for this pupose. AFAIK it only works if you build an exe, keep the exact build environment, then give someone the exe. If he returns the dmp to you, you can debug it. I can't, although I've tried to build the app from the same tarball.
Just run it out of the studio, and if it crashes, tell us about the place in the app where it does.

Also, there is a rewrite of the EC going on at the moment, and I don't know if it is currently stable (or even supposed to work at all). Try the MSVC solution from 20080912 and the rest from 20080910.
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

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN 20080912 winXP
« Reply #2 on: September 13, 2008, 01:51:11 AM »

Ahw that's too bad, so these dmp files are only useful for distributed executables right? Isn't there another way to generate a backtrace or something? Just telling at which place in the source it crashes seems a bit unreliable to me.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN 20080912 winXP
« Reply #3 on: September 13, 2008, 02:34:10 PM »

Why ? Usually, the important part of a stack trace are just the last 2-3 frames of the app. Select them so that the code shows, make sure the variables window is there, then make a screenshot for each of these frames. Much better than a backtrace.  ;D
Anyway, we can call that EC bug now confirmed, with 4-5 independent error messages.
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

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN 20080912 winXP
« Reply #4 on: September 17, 2008, 01:48:30 AM »

So, I should post it like this? Or do you need more information?

Btw. this crash was generated under the same circumstances, but with SVN20080916
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN 20080912 winXP
« Reply #5 on: September 17, 2008, 11:20:56 PM »

Yeah, that's almost fine. But you should point the call stack to the last call from aMule itself not wxWidgets.
Problem is, the crash is deep inside the libraries and gives no real clue (like most of the linux backtraces, alas).

Before this there were already some glitches in the progress bars - some didn't show. These glitches seem to appear after idling a while.

So you get the crash only after a while, and after graphics starts getting crappy ? Well, there is a known problem with high GDI resource usage on Windows which leads to all kind of misbehaviour. A fix is prepared and being carefully reviewed at the moment. I'll commit it as soon as I get the go and tell you.
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

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMuleGUI SVN 20080912 winXP
« Reply #6 on: September 29, 2008, 06:37:09 PM »

Hey I keep getting similar errors, and with 100+ downloads in the queue this is happening more and more often. So, any news on this, since it seemed to me that there was already a fix and that it was just being reviewed before comitting?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMuleGUI SVN 20080912 winXP
« Reply #7 on: September 29, 2008, 08:26:57 PM »

"Just" can also stand for "just a little longer than expected".  ;D
You can get the patch here, and it's also discussed here.
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