[Mono-bugs] [Bug 76002][Nor] New - Assertion failure in reflection.c : line 835 (method_encode_clauses) while running Boo compiler

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 6 19:59:44 EDT 2005

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 brion at pobox.com.


--- shadow/76002	2005-09-06 19:59:44.000000000 -0400
+++ shadow/76002.tmp.11877	2005-09-06 19:59:44.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 76002
+Product: Mono: Runtime
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: brion at pobox.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Assertion failure in reflection.c : line 835 (method_encode_clauses) while running Boo compiler
+Description of Problem:
+I've found that when compiling a certain code fragment with the Boo 
+compiler or interpreter, an internal assertion in the Mono runtime fails 
+and crashes the compiler. This can cause MonoDevelop to crash/hang if 
+compiling within the IDE.
+Steps to reproduce the problem:
+1. Fetch and untar the Boo 0.6 binary release:
+2. cd bin; mono booish.exe
+3. Type into the interpreter (second line should be indented, third blank; 
+chars at line start are the interpreter prompt):
+>>> try:
+...     print "foo"
+Actual Results:
+** ERROR **: file reflection.c: line 835 (method_encode_clauses): assertion 
+failed: (ex_info->handlers)
+Abort trap
+Expected Results:
+The runtime should not crash, and Boo should report a syntax error like 
+ERROR: Internal compiler error: Incorrect code generation for exception 
+How often does this happen? 
+Every time.
+Additional Information:
+Tested with Mono from current SVN on Ubuntu Linux (Hoary/x86) and the 1.1.8 
+packages on Mac OS X 10.4.2 and Windows XP SP2 with same results.
+.NET 1.1 runtime on Windows XP SP2 runs correctly.

More information about the mono-bugs mailing list