[Mono-bugs] [Bug 72508][Wis] New - Regression: Error creating A<int>[] in mono runtime

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 11 Feb 2005 15:55:36 -0500 (EST)


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 spigaz@gmail.com.

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

--- shadow/72508	2005-02-11 15:55:36.000000000 -0500
+++ shadow/72508.tmp.4695	2005-02-11 15:55:36.000000000 -0500
@@ -0,0 +1,61 @@
+Bug#: 72508
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: spigaz@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Regression: Error creating A<int>[] in mono runtime
+
+Description of Problem:
+Error creating an array of a generic type
+
+Steps to reproduce the problem:
+1. Insert into a file:
+namespace FLMID.Bugs.MonoDebugOne
+{
+	public class A<T>
+
+	{
+
+	}
+	public class Test
+	{
+		protected static A<uint>[] _states;
+		
+		public static void Main(string[] args)
+		{
+			_states = new A<uint>[3];
+
+		}
+	}
+}
+2. Compile it
+3. Run it
+
+Actual Results:
+** ERROR **: file mono-debug.c: line 592 (mono_debug_add_type): assertion
+failed: (token)
+aborting...
+
+
+Expected Results:
+Sucessfull execution
+
+How often does this happen? 
+Always
+
+Additional Information:
+It works fine on .Net 2.0, the assembly from .NET 2.0 also fails and it
+worked before.
+
+I mono tested it with a svn head version from 10/02/2005