[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
Tue Jul 17 07:38:31 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 joe at otee.dk.

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

--- shadow/77596	2007-07-03 05:49:35.000000000 -0400
+++ shadow/77596.tmp.7696	2007-07-17 07:38:31.000000000 -0400
@@ -67,6 +67,27 @@
 on actually freeing them (a proper free function should be registered
 with the hash table creation).
 
 ------- Additional Comments From atsushi at ximian.com  2007-07-02 23:08 -------
 r80012 caused Windows build breakage (win32 native error on building
 mcs/class/ByteFX.Data 2.0 profile) and keeps the build tree red.
+
+------- Additional Comments From joe at otee.dk  2007-07-17 07:38 -------
+The bug fix causes a rare crash when cleaning up mono.
+I have not been able to reproduce it and it seems a specific set of many unload/reload 
+domains is necessary to get it.
+
+This is the stacktrace i got:
+
+1  libmono.0.dylib                    0x012d57fd mono_metadata_type_hash + 138
+2  libmono.0.dylib                    0x012d570f mono_metadata_locate_token + 223
+3  libmono.0.dylib                    0x012d5820 mono_metadata_type_hash + 173
+4  libmono.0.dylib                    0x012d570f mono_metadata_locate_token + 223
+5  libglib-2.0.0.dylib                0x013fb6a5 g_hash_table_size + 123
+6  libglib-2.0.0.dylib                0x013fb7f3 g_hash_table_size + 457
+7  libmono.0.dylib                    0x012d303b mono_metadata_clean_for_image + 77
+8  libmono.0.dylib                    0x012a48b2 mono_image_close + 172
+9  libmono.0.dylib                    0x012da60e mono_debug_cleanup + 87
+10  libglib-2.0.0.dylib                0x013fb513 g_hash_table_destroy + 89
+11  libmono.0.dylib                    0x012da5da mono_debug_cleanup + 35
+12  libmono.0.dylib                    0x0120b2d8 mini_cleanup + 1113
+


More information about the mono-bugs mailing list