[Mono-bugs] [Bug 74830][Nor] Changed - abort in debug mode

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 5 May 2005 16:20:47 -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 lupus@ximian.com.

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

--- shadow/74830	2005-05-05 13:12:53.000000000 -0400
+++ shadow/74830.tmp.31022	2005-05-05 16:20:47.000000000 -0400
@@ -3,14 +3,14 @@
 Version: 1.1
 OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
-Priority: Major
-Component: JIT
+Priority: Normal
+Component: debug
 AssignedTo: lupus@ximian.com                            
 ReportedBy: james@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Summary: abort in debug mode
@@ -1623,6 +1623,18 @@
 #70 0x00000000 in ?? ()
 #71 0xbfffda88 in ?? ()
 #72 0x08126227 in mono_jit_runtime_invoke (method=0x826afc0,
 obj=0xffffffff, params=0xffffffff, exc=0x0)
     at mini.c:9530
 
+
+------- Additional Comments From lupus@ximian.com  2005-05-05 16:20 -------
+Setting priority to normal, since you can just avoid adding the
+--debug option.
+This is a deadlock case because the loader and the debugger lock
+are not taken in the same order.
+You may try to see if adding mono_loader_lock() at the start of
+mono_debugger_lock() and mono_loader_unlock() at the start of
+mono_debugger_unlock() fixes the issue (this is a workaround, though:
+the debug code is a mess that should be rewritten in part to deal with
+this and other issues).
+