[Mono-bugs] [Bug 43284][Nor] New - Mono warns of bbsplit and then segfaults
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 19 May 2003 03:51:17 -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 mathpup@mylinuxisp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=43284
--- shadow/43284 Mon May 19 03:51:17 2003
+++ shadow/43284.tmp.21137 Mon May 19 03:51:17 2003
@@ -0,0 +1,66 @@
+Bug#: 43284
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mathpup@mylinuxisp.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono warns of bbsplit and then segfaults
+
+Description of Problem:
+
+The following code causes the Mono runtime to warn about a failed basic block split
+and then to segfault.
+
+.assembly Testing{}
+.class public Testing {
+.method public static int32 main() {
+.entrypoint
+.maxstack 8
+ ldc.i4 0
+L1:
+ brzero L2
+ ldc.i4 0
+ ret
+L2:
+ ldc.i4 1
+ br L1
+}
+}
+
+
+Steps to reproduce the problem:
+1. Assemble: ilasm bbsplit.il
+2. Run: mono bbsplit.exe
+
+
+Actual Results:
+
+Mono prints
+** (switch.exe:16684): WARNING **: bblock split failed in Testing::main
+
+Segmentation fault
+
+
+Expected Results:
+
+No output
+
+
+How often does this happen?
+
+Always
+
+
+Additional Information:
+
+Works with Rotor