[Mono-bugs] [Bug 76550][Cri] New - Unhandled InternalErrorException
during gmcs compilation
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Oct 25 11:11:07 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 peter at syncad.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76550
--- shadow/76550 2005-10-25 11:11:07.000000000 -0400
+++ shadow/76550.tmp.3570 2005-10-25 11:11:07.000000000 -0400
@@ -0,0 +1,64 @@
+Bug#: 76550
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details: but happens on linux too
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Critical
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: peter at syncad.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Unhandled InternalErrorException during gmcs compilation
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Mandrake linux versions (but happens with windows version too):
+ mono-1.1.9.1-1mdk
+ gmcs version 1.1.9.1
+
+Unhandled InternalErrorException of the compiler when
+ compiling the attached code.
+
+Steps to reproduce the problem:
+1. save the source in the additional information to a.cs
+2. run gmcs a.cs
+3. Unhandled InternalErrorException of the compiler will happen.
+
+Actual Results:
+crash
+
+Expected Results:
+the compiled program
+
+How often does this happen?
+always
+
+Additional Information:
+Here is the source:
+
+using System;
+using System.Collections.Generic;
+
+class Test
+{
+ static IEnumerable<int> FromTo(int from, int to) {
+ while (from <= to)
+ yield return from++;
+ }
+ static void Main() {
+ IEnumerable<int> e = FromTo(1, 5);
+ foreach (int x in e) {
+ foreach (int y in e) {
+ Console.Write("{0,3} ", x * y);
+ }
+ Console.WriteLine();
+ }
+ }
+}
More information about the mono-bugs
mailing list