[Mono-bugs] [Bug 77596][Nor] Changed - get rid of global generics caches in metadata.c

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 19 14:28:07 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joncham at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77596

--- shadow/77596	2007-07-19 10:42:06.000000000 -0400
+++ shadow/77596.tmp.2508	2007-07-19 14:28:07.000000000 -0400
@@ -198,6 +198,17 @@
 0x2300b0:       0xd86aad2e      0xd20   0x46    0xd68
 0x2300c0:       0x304   0x10    0x4     0xd4
 0x2300d0:       0x2     0x1     0x114   0xf8c
 0x2300e0:       0x1     0x2     0x10a0  0x32c
 0x2300f0:       0x1     0x4     0x13cc  0x1050
 
+
+------- Additional Comments From joncham at gmail.com  2007-07-19 14:28 -------
+Tracked the problem down. A generic type in System.Xml seems to be
+specialized by a generic type in System.dll. Upon shutdown, the System
+image is cleaned before the System.Xml image. Since the System generic
+type was allocated from the System image mempool, it is destroyed when
+the System image is cleaned. When System.Xml tries to access that type
+during it's cleanup, the type is garbage.
+
+I verified the type becomes garbage after the call to
+mono_mempool_destroy in mono_image_close for the system image.


More information about the mono-bugs mailing list