[Mono-list] Bug in jit engine

Jörg Pommnitz jpo@joerg-pommnitz.de
Thu, 26 Dec 2002 18:03:16 +0100


Hi List,
it seems that an endless for-loop triggers a bug in the 0.17 mono-jitter.

The example:

using System;

struct Tester {
    public static void Main ()
    {
        for (int i = 0; true; i++)
            Console.Out.WriteLine (i);
    }
}

triggers the following assertion in mono:

[csharp]$ mono jitbug.exe

** ERROR **: file jit.c: line 545 (mono_cfg_add_successor): assertion 
failed: (cfg->bcinfo [target].is_block_start)
aborting...

The same exe works fine in mint...

Regards
    Joerg