[Mono-bugs] [Bug 457574] New: JIT crash in mono_merge_basic_blocks

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 9 06:41:09 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=457574


           Summary: JIT crash in mono_merge_basic_blocks
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: sanxiyn at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Mono SVN r121085.

This is a regression. Mono 2.0.1 works fine.

Test.cs:

using System.Collections;

public class PythonFile : IEnumerable {
    public string readline() {
        return "";
    }
    IEnumerator IEnumerable.GetEnumerator() {
        for (;;) {
            string line = readline();
            if (line == "") yield break;
            yield return line;
        }
    }
}

$ gmcs -t:library Test.cs
$ /usr/bin/mono --compile-all Test.dll
$ /opt/mono/bin/mono --compile-all Test.dll
** ERROR:(../../../mono/mono/mini/branch-opts.c:953):mono_merge_basic_blocks:
assertion failed: (table->table [i] == bbn)

Blocks line-by-line iteration in IronPython 2.0.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list