[Mono-bugs] [Bug 55909][Wis] Changed - Deadlock in ReaderWriterLock.UpgradeToWriterLock()

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 8 Apr 2004 15:13:28 -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 mono-bug@jerryweb.info.

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

--- shadow/55909	2004-04-05 18:59:23.000000000 -0400
+++ shadow/55909.tmp.12549	2004-04-08 15:13:28.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 55909
 Product: Mono: Class Libraries
 Version: unspecified
 OS: GNU/Linux [Other]
 OS Details: Gentoo
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mono-bug@jerryweb.info               
 QAContact: mono-bugs@ximian.com
@@ -94,6 +94,30 @@
 2 - UpgradeToWriterLock, before
 ...???
 
 ------- Additional Comments From lluis@ximian.com  2004-04-05 18:59 -------
 Fixed in CVS. Thanks for the bug report!
 
+
+------- Additional Comments From mono-bug@jerryweb.info  2004-04-08 15:13 -------
+Actual Results:
+
+Mono (CVS, 2004-04-08), Gentoo Linux:
+2 - AcquireReaderLock, before
+2 - AcquireReaderLock, after
+1 - AcquireReaderLock, before
+1 - AcquireReaderLock, after
+1 - UpgradeToWriterLock, before
+2 - UpgradeToWriterLock, before
+2 - UpgradeToWriterLock, after
+1 - UpgradeToWriterLock, after
+1 - Release, before
+1 - End
+2 - Release, before
+
+Unhandled Exception: System.ApplicationException: The thread does not
+have any reader or writer locks.
+in <0x00117> System.Threading.ReaderWriterLock:ReleaseReaderLock ()
+in <0x000d4> Example.Class1:Thread2 ()
+in <0x00050> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+