[ icewm-Bugs-561846 ] memory leak 1.2.0pre1
Brought to you by:
captnmark
From: <no...@so...> - 2002-06-05 16:31:33
|
Bugs item #561846, was opened at 2002-05-29 10:44 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100031&aid=561846&group_id=31 Category: icewm-1.2 Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Marko Macek (captnmark) Summary: memory leak 1.2.0pre1 Initial Comment: hi , i think that the memory leak is still there. Whenever i select a menu item (start menu) or a toolbar button iget the following message in my xcolsole: IceWM: Warning: file descriptor still open: 6. Please report a bug! i can see a slow grow in icewm occupied memory (abouot 1M for 2 days...) ---------------------------------------------------------------------- >Comment By: Marko Macek (captnmark) Date: 2002-06-05 18:31 Message: Logged In: YES user_id=1814 the warning should be fixed in latest cvs. for the memory leak, more investigation is needed (run malloc debugger?) ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-04 12:19 Message: Logged In: NO yer, it is /devices/pseudo/kstat@0:kstat ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-06-04 09:00 Message: Logged In: YES user_id=1814 It seems to be this, somewhere in /devices: crw-rw-rw- 1 root sys 90, 0 Oct 11 2001 kstat@0:kstat Probably kstat_open() doesn't set close-on-exec... ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-06-03 18:16 Message: Logged In: YES user_id=1814 try getting the inode of the file with 'ls -i' then try searching for that inode on all your file systems 'find / -inum INODE' It might give more clue. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-03 10:36 Message: Logged In: NO hi, i am working on solaris8, on that system i can't really see where the file descriptor point to. All i can see in icewm pid under proc is: c--------- 1 root sys 90, 0 Nov 5 2001 /proc/26942/fd/6 i don't think it's very informative, except the fact that it seem a very old (although the icewm is up only a week). i can see that reporting bug on file descriptors appears in 2 places in the code: wmapp.cc in runRestart function yapp.cc in YApplication::runProgram method since i get this message only when selecting a program from start menu or toolbar button - then it comes from there... ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-06-02 12:01 Message: Logged In: YES user_id=1814 Can you check (in /proc/$pid/fd/ what the file descriptor (6) points to)? ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-05-30 14:44 Message: Logged In: NO hi, The options were "prefix" and "with-imlib" ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-05-29 12:36 Message: Logged In: YES user_id=1814 What options did you give to 'configure' when compiling? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100031&aid=561846&group_id=31 |