[Mono-bugs] [Bug 77886][Nor] New - "unknown type 0x13" on --aot compilation of generics

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Mar 23 10:42:49 EST 2006


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 pawel.sakowski at mind-breeze.com.

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

--- shadow/77886	2006-03-23 10:42:49.000000000 -0500
+++ shadow/77886.tmp.27852	2006-03-23 10:42:49.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 77886
+Product: Mono: Runtime
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: pawel.sakowski at mind-breeze.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: "unknown type 0x13" on --aot compilation of generics
+
+Description of Problem:
+mono --aot crashes on certain methods using generics.
+
+Steps to reproduce the problem:
+1. `gmcs /target:library foo.cs`, the contents being:
+
+class SimpleIterator<T>: System.Collections.IEnumerator
+{
+  T x;
+  public void Reset(){}
+  public bool MoveNext() {return false;}
+  public object Current {
+    get { return x; }
+  }
+}
+
+2. mono --aot foo.dll
+
+Actual Results:
+Mono Ahead of Time compiler - compiling assembly /tmp/foo.dll
+
+** ERROR **: unknown type 0x13 in type_to_ldind
+aborting...
+Aborted
+
+Expected Results:
+success
+
+How often does this happen? 
+100%
+
+Additional information:
+The behavior doesn't change if compiled into an .exe assembly with a dummy
+main method. Code that crashes AOT compilation can be executed JIT without
+a problem.


More information about the mono-bugs mailing list