[Mono-bugs] [Bug 46650][Nor] Changed - Race condition in code compilation (with delegates).

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 20 Jul 2003 19:04:37 -0400 (EDT)


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 miguel@ximian.com.

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

--- shadow/46650	Sun Jul 20 18:52:19 2003
+++ shadow/46650.tmp.9541	Sun Jul 20 19:04:36 2003
@@ -370,6 +370,44 @@
 		} catch (Exception e) {
 			Console.WriteLine ("Exception: {0}", e);
 		}
 	}
 }
 
+
+------- Additional Comments From miguel@ximian.com  2003-07-20 19:04 -------
+So we identified above who owns the locks, here is our document:
+
+
+
+State of locks owned:
+
+Thread 8:
+	trying: metadata_section.
+
+Thread 7:
+	trying: domain lock
+	has: metadata_section (obtained in x86_magic_trampoline)
+
+Thread 6:
+
+Thread 5:
+	has: domain lock (obtained in mono_runtime_class_init)
+	tryig: metadata_section.
+
+Thread 4:
+	trying: metadata_section.
+
+Thread 3:
+	trying metadata_section
+
+
+Thread 2:
+	trying metadata section.
+
+
+Who uses the domain lock (in object.c alone):
+	mono_runtime_class_init
+	mono_class_vtable
+	str_lookup
+	mono_string_is_interned_lookup
+	mono_ldstr<