[Mono-bugs] [Bug 74715][Min] New - Beta2 executables don't run on mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 24 Apr 2005 18:33:42 -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=74715

--- shadow/74715	2005-04-24 18:33:42.000000000 -0400
+++ shadow/74715.tmp.22505	2005-04-24 18:33:42.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 74715
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Beta2 executables don't run on mono
+
+Compile the following program (or any other) using csc from beta 2:
+-----------------
+using System;
+using System.Security.Cryptography;
+
+class C {
+        static void Main ()
+        {
+                Type t = typeof (DataProtectionScope);
+                Console.WriteLine (t);
+                Console.WriteLine (t.IsSerializable);
+        }
+}
+----------------
+
+Then try to run that exe with mono:
+
+gonzalo@lalo:/tmp $ mono enum.exe
+WARNING: The runtime version supported by this application is unavailable.
+Using default runtime: v1.1.4322
+
+** (enum.exe:11065): WARNING **: The class
+System.Security.Cryptography.DataProtectionScope could not be loaded, used
+in /tmp/enum.exe (token 0x01000003)
+
+** ERROR **: file class.c: line 1640 (mono_class_init): assertion failed:
+(class)
+aborting...
+Aborted