[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Use of valgrinder on GNUstep
From: |
Fred Kiefer |
Subject: |
Use of valgrinder on GNUstep |
Date: |
Wed, 16 Jul 2003 13:30:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 |
I did run a few GNUstep applications under valgrind control and was
surprised how few memeory leaks showed up. I solved some of them and
some looked like valgrind has a bit of a problem with our object
handling, but there are a few other cases where I cannot make any
progress. Perhaps someone with a bit more understanding of libobjc could
have a look?.
==5172== 212 bytes in 1 blocks are definitely lost in loss record 50 of 90
==5172== at 0x40163B5B: calloc (vg_clientfuncs.c:245)
==5172== by 0x406A4D6B: objc_calloc (in /usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A6C00: __objc_register_instance_methods_to_class (in
/usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A4147: __objc_exec_class (in /usr/lib/libobjc.so.1.0.0)
==5172== by 0x4056056E: _GLOBAL__I_NSDistantObject.mdkLOjb (in
/usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.7.1)
==5172== by 0x4060BB54: (within
/usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.7.1)
==5172== by 0x404E523C: (within
/usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.7.1)
==5172== by 0x4000B4FD: call_init (in /lib/ld-2.3.2.so)
==5172== by 0x4000B63D: _dl_init_internal (in /lib/ld-2.3.2.so)
==5172== by 0x40000ABC: (within /lib/ld-2.3.2.so)
==5172==
==5172== 3381 bytes in 221 blocks are definitely lost in loss record 83
of 90
==5172== at 0x401636E3: malloc (vg_clientfuncs.c:103)
==5172== by 0x406A4BE4: objc_malloc (in /usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A73E9: __sel_register_typed_name (in
/usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A75EB: sel_register_typed_name (in
/usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A6BA2: register_selectors_from_list (in
/usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A6B57: __objc_register_selectors_from_class (in
/usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A4123: __objc_exec_class (in /usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A5E4F:
_GLOBAL__I__usr_src_packages_BUILD_gcc_3.3_hammer_20030226_libobjc_Object.mZC9wfb
(in /usr/lib/libobjc.so.1.0.0)
==5172== by 0x406A9B14: (within /usr/lib/libobjc.so.1.0.0)
==5172== by 0x4069CE5C: (within /usr/lib/libobjc.so.1.0.0)
==5172== by 0x4000B4FD: call_init (in /lib/ld-2.3.2.so)
==5172== by 0x4000B63D: _dl_init_internal (in /lib/ld-2.3.2.so)
==5172== by 0x40000ABC: (within /lib/ld-2.3.2.so)
- Use of valgrinder on GNUstep,
Fred Kiefer <=