[Mono-bugs] [Bug 60878][Min] New - Compiler crashes - using System.Web in console app

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 29 Jun 2004 09:04:37 -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 register@mimetes.com.

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

--- shadow/60878	2004-06-29 09:04:37.000000000 -0400
+++ shadow/60878.tmp.446	2004-06-29 09:04:37.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 60878
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: Fedora Core 1
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Minor
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: register@mimetes.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compiler crashes - using System.Web in console app
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+compiler crashes during compilation - although it does initially report 
+success.
+
+Steps to reproduce the problem:
+1. Make a standard console "hello world" .cs 
+2. add "using System.Web" 
+3. compile
+
+Actual Results:
+[root@li4-62 testmono]# mcs TestMono.cs
+Compilation succeeded
+
+Unhandled Exception: System.NullReferenceException: Object reference not 
+set to an instance of an object
+
+** ERROR **: file critical-sections.c: line 89 (DeleteCriticalSection): 
+assertion failed: (ret == 0)
+aborting...
+Aborted
+
+Expected Results:
+error on line 2 , should you be adding a reference? or similiar
+
+How often does this happen? 
+every time
+
+Additional Information:
+This was not something I would normally be doing but thought you might 
+want to see the error.