[Mono-bugs] [Bug 80186][Wis] New - ilasm2 produces wrong code on PPC
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Dec 8 07:30:11 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 anto.cuni at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80186
--- shadow/80186 2006-12-08 07:30:11.000000000 -0500
+++ shadow/80186.tmp.10619 2006-12-08 07:30:11.000000000 -0500
@@ -0,0 +1,63 @@
+Bug#: 80186
+Product: Mono: Compilers
+Version: 1.2
+OS: Mac OS X 10.3
+OS Details: Max OS X 10.4.8 on PPC
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: IL assembler
+AssignedTo: jankit at novell.com
+ReportedBy: anto.cuni at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: ilasm2 produces wrong code on PPC
+
+Description of Problem:
+
+If I try to assemble and execute the attached IL file, I get this output:
+
+** (main.exe:14835): CRITICAL **: mono_metadata_user_string: assertion
+`index < meta->heap_us.size' failed
+
+** (main.exe:14835): CRITICAL **: mono_metadata_user_string: assertion
+`index < meta->heap_us.size' failed
+
+** (main.exe:14835): CRITICAL **: mono_metadata_user_string: assertion
+`index < meta->heap_us.size' failed
+
+** (main.exe:14835): CRITICAL **: mono_metadata_user_string: assertion
+`index < meta->heap_us.size' failed
+
+** (main.exe:14835): CRITICAL **: mono_metadata_user_string: assertion
+`index < meta->heap_us.size' failed
+
+[1,2,][3,4,]
+
+I get the same output also executing the very same exe file on linux-x86.
+However, if I assemble the IL on linux, the exe runs well on both machine,
+producing the expected output:
+
+([1,2,], [3,4,], )
+
+Steps to reproduce the problem:
+1. put main.il and pypylib.dll in the same directory
+2. ilasm2 mail.il
+3. mono main.exe
+
+Actual Results:
+see above
+
+Expected Results:
+see above
+
+How often does this happen?
+always
+
+Additional Information:
+
+sorry for the not too small IL code, it's automatically generated by pypy.
+This is the smallest example I got.
More information about the mono-bugs
mailing list