[Mono-bugs] [Bug 74818][Cri] New - Code generation locks at startup with multiple threads

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 3 May 2005 19:21:22 -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 gonzalo@ximian.com.

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

--- shadow/74818	2005-05-03 19:21:22.000000000 -0400
+++ shadow/74818.tmp.6051	2005-05-03 19:21:22.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 74818
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Code generation locks at startup with multiple threads
+
+Sometimes when starting up a program and launching multiple threads running
+the same code, the mono runtime hangs.
+
+Steps to reproduce:
+1. Compile the attached test.cs as:
+mcs -r:System.Web.Services.dll test.cs
+
+2. Copy TestService.asmx from xsp/test/1.1/webservice/TestService.asmx to
+an empty directory
+
+3. Run 'xsp' with no arguments in that directory.
+
+4. From another terminal run 'mono test.exe'.
+
+You might need to run the test several times to hit the bug. It helps if
+you set 'maxconnections' in machine.config to 1 instead of the default 2.