[Mono-bugs] [Bug 75007][Blo] Changed - Deadlock between loader and domain lock

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 22 15:27:24 EDT 2005


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 bmaurer at users.sf.net.

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

--- shadow/75007	2005-06-22 15:13:18.000000000 -0400
+++ shadow/75007.tmp.22537	2005-06-22 15:27:24.000000000 -0400
@@ -115,6 +115,47 @@
 I'm not sure, will attach stack traces.
 
 ------- Additional Comments From james at ximian.com  2005-06-22 15:13 -------
 Created an attachment (id=15359)
 stack traces
 
+
+------- Additional Comments From bmaurer at users.sf.net  2005-06-22 15:27 -------
+Thread 6 (Thread 1109838768 (LWP 25017)):
+
+#12 0x081124f2 in EnterCriticalSection (section=0x883f290) at
+critical-sections.c:151
+#13 0x081124f2 in EnterCriticalSection (section=0x883f28c) at
+critical-sections.c:151
+#14 0x080c8e92 in mono_loader_lock () at loader.c:1331
+#15 0x0809a903 in mono_class_from_name (image=0x8858350,
+    name_space=0x87ed831 "System.Reflection", name=0x61b9 <Address
+0x61b9 out of bounds>)
+    at class.c:3272
+#16 0x080f8077 in mono_method_get_object (domain=0x8896f00,
+method=0x41480120,
+    refclass=0x41471e60) at reflection.c:5430
+#17 0x080d1426 in ves_icall_Type_GetConstructors_internal (type=0x0,
+bflags=20,
+    reftype=0xfffffffc) at icall.c:2935
+
+Thread 4 (Thread 1112140720 (LWP 25045)):
+
+#12 0x081124f2 in EnterCriticalSection (section=0x8896f08) at
+critical-sections.c:151
+#13 0x081124f2 in EnterCriticalSection (section=0x8896f04) at
+critical-sections.c:151
+#14 0x080f7ec3 in mono_type_get_object (domain=0x8896f00, type=0x61d5)
+at reflection.c:5354
+---Type <return> to continue, or q <return> to quit---
+#15 0x080ef582 in reflection_methodbuilder_from_ctor_builder
+(rmb=0x4249dc70, mb=0x91b1880)
+    at reflection.c:1312
+#16 0x080fd857 in ctorbuilder_to_mono_method (klass=0x9373908,
+mb=0x91b1880)
+    at reflection.c:7944
+#17 0x080fefa3 in ensure_runtime_vtable (klass=0x9373908) at
+reflection.c:8495
+#18 0x080ff931 in mono_reflection_create_runtime_class (tb=0x8951d90)
+at reflection.c:8736
+
+These two are racing. the second one is doing domain then loader.


More information about the mono-bugs mailing list