[Mono-bugs] [Bug 75000][Nor] New - mcs generates illegal IL instructions

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 19 23:02:39 EDT 2005


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 peter at novonyx.com.

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

--- shadow/75000	2005-05-19 23:02:39.000000000 -0400
+++ shadow/75000.tmp.10732	2005-05-19 23:02:39.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 75000
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: peter at novonyx.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs generates illegal IL instructions
+
+When building the samples in winforms/forms, FormsTest.exe is generated 
+with illegal IL instructions.
+
+When running with mono, the following error is shown:
+** ERROR **: Invalid IL code at IL0003 in 
+FormsTest.FormsTest:AddListBoxTest (System.Windows.Forms.Control): 
+IL_0003: nop       
+
+
+When running on Win32 with the MS runtime, it crashes with the following 
+error:
+Unhandled Exception: System.InvalidProgramException: Common Language 
+Runtime det
+ected an invalid program.
+   at FormsTest.FormsTest.AddListBoxTest(Control c)
+   at FormsTest.FormsTest..ctor()
+   at FormsTest.FormsTest.Main(String[] args)
+
+
+
+When compiling with csc (make-csc.bat), it runs fine on both the mono 
+runtime and the MS runtime.


More information about the mono-bugs mailing list