[Mono-bugs] [Bug 345434] New: [Regression] Locking doesn't work properly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 1 16:43:08 EST 2007


           Summary: [Regression] Locking doesn't work properly
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at ximian.com
          Found By: ---

Test case:
using System;

class Test {
  static object some_lock = new Object();

  static void Main(string[] args) {
    lock(some_lock) {
      lock(some_lock) {
        Console.WriteLine("This should never be reached!!!");

This should never be reached!!!

The test case should deadlock, without any output.
This has been broken probably for some time now. Otherwise commit r85090*
(results in nested lock for the same object) would have led to other problems


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

More information about the mono-bugs mailing list