[Mono-bugs] [Bug 401755] New: [WIN32] mono_config_parse deadlock

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 19 10:01:11 EDT 2008


           Summary: [WIN32] mono_config_parse deadlock
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: robertj at gmx.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

mono_config_parse () is indirectly touching the loader lock through
mono_dllmap_insert, but this lock is only initialized after at least one
app domain was created. This could lead to a deadlock on Windows because
the critical section is uninitialized.

This doesn't work in my app:

mono_config_parse (NULL);
mono_jit_init ("foo");


mono_jit_init ("foo");
mono_config_parse (NULL);

is working correctly.

I believe that changing the documentation and the samples of the embedded API
is sufficient to "fix" the issue.

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