[Mono-bugs] [Bug 651546] Monitor.Enter leaves orphaned locks when threads are aborted

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 5 04:53:33 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=651546

https://bugzilla.novell.com/show_bug.cgi?id=651546#c2


--- Comment #2 from Rolf Bjarne Kvinge <rkvinge at novell.com> 2010-11-05 09:53:32 CET ---
The problem with that solution is that if the TAE is thrown just after entering
the TAE but before acquiring the lock (or whatever other exception that may
happen in Monitor.Enter), the finally block will release an unlocked lock.

Besides, csc compiled assemblies will still have the problem, as will (g)mcs
assemblies already compiled.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list