[Mono-bugs] [Bug 320771] memory leak in metadata.c

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 4 11:33:41 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=320771

User rkumpera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=320771#c2


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #2 from Rodrigo Kumpera <rkumpera at novell.com>  2008-06-04 09:33:41 MDT ---
The leak on Toshok's trace has been fixed, it had nothing to do with shutdown.

Fixed a few leaks on icall.c and SRE on reflection.c.

Most generics related leaks are fixed now, the only one left is due to generic
class inflate that it's not trivial to fix:

==17570== 392 bytes in 2 blocks are definitely lost in loss record 11 of 18
==17570==    at 0x4021B64: calloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==17570==    by 0x407AE5D: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1400.1)
==17570==    by 0x80FD5C8: mono_generic_class_get_class (class.c:4287)
==17570==    by 0x80FBE05: inflate_generic_type (class.c:523)
==17570==    by 0x80FD557: mono_class_inflate_generic_type (class.c:614)
==17570==    by 0x81919AB: mono_reflection_generic_class_initialize
(reflection.c:9392)
==17570==    by 0x803114C: ???
==17570==    by 0x80305F4: ???
==17570==    by 0x8036813: ???
==17570==    by 0x80366AF: ???
==17570==    by 0x802FD72: ???
==17570==    by 0x8037103: ???


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list