aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 6 7 [8]

Author Topic: Re: upredictable memory leak  (Read 54456 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Re: upredictable memory leak
« Reply #105 on: February 18, 2011, 08:50:42 PM »

wx 2.8.12 is scheduled for the end of the month, so I'll try to squeeze the change in.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Re: upredictable memory leak
« Reply #106 on: February 19, 2011, 12:09:14 AM »

Logged
concordia cum veritate

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: upredictable memory leak
« Reply #107 on: February 24, 2011, 09:38:09 AM »

Finally - thanks to btkaos's script - here attached you find a full backtrace with downloadlimit set to 0 on a linux machine.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: upredictable memory leak
« Reply #108 on: February 24, 2011, 02:30:43 PM »

Finally - thanks to btkaos's script - here attached you find a full backtrace with downloadlimit set to 0 on a linux machine.
Hi ^marcell^, the backtrace looks similar to some of the one I got, but it is not informative as it doesn't show the allocation path.
Code: [Select]
No symbol table info available.
Would you mind to use debug versions of the libraries (in Debian those are the -dbg stuff and --with-wxdebug in amule's config)

Maybe next time you should press "c" and "Ctrl-C" in gdb to get the backtrace of the allocation path.

The bug was not exclusive of donwloadlimit, that just made it more likely to happen. Have you tried the wx patch? Did it help?

Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: upredictable memory leak
« Reply #109 on: February 25, 2011, 03:09:46 PM »

Would you mind to use debug versions of the libraries (in Debian those are the -dbg stuff and --with-wxdebug in amule's config)
Will do so.

Have you tried the wx patch? Did it help?
I am linking with wx svn and do not have a "gsockgtk.cpp" file. So the patch is of no use to me.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: upredictable memory leak
« Reply #110 on: February 25, 2011, 05:34:25 PM »

Have you tried the wx patch? Did it help?
I am linking with wx svn and do not have a "gsockgtk.cpp" file. So the patch is of no use to me.
Ok, sorry, I didn't realize this.

wx svn has a full socket rewrite and indeed needs a completely different patch.

Also in my own limited testing wx svn had some other issues that made it unusable with amule. I plan to try again once wx can be compiled with GTK 3.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Re: upredictable memory leak
« Reply #111 on: March 01, 2011, 09:07:13 PM »

wx 2.8.12 is scheduled for the end of the month, so I'll try to squeeze the change in.
What month?
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

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: upredictable memory leak
« Reply #112 on: March 02, 2011, 12:20:55 AM »

Just a note, it seems that high loads may keep causing problems [see RRM's thread], although Kry patchs helps a lot.

Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Re: upredictable memory leak
« Reply #113 on: March 19, 2011, 09:35:06 PM »

Fix commited for the imminent wxWidgets 2.8.12, see http://trac.wxwidgets.org/ticket/13055
Logged

chrisb

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: upredictable memory leak
« Reply #114 on: May 05, 2011, 07:12:10 AM »

I'm pretty sure I'm getting the exact same issue
amule runs fine then all of a sudden it start using memory quickly until it crashed
I'm using current stable Genoo to create this issue
I have experienced the same issue on 3 different machines

Your saying if I update to 2.8.12 it should solve this issue?
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: upredictable memory leak
« Reply #115 on: May 05, 2011, 01:34:57 PM »

Your saying if I update to 2.8.12 it should solve this issue?
Yes.

There is other related crash that is yet unsolved, but it is much harder to trigger.
Logged

chrisb

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: upredictable memory leak
« Reply #116 on: May 06, 2011, 08:32:24 AM »

I'm either extremely lucky or the wx update fixed the problem
Logged
Pages: 1 ... 6 7 [8]