[Mono-list] loops segfault ?

Paolo Molaro lupus@ximian.com
Mon, 18 Feb 2002 15:15:39 +0100


On 02/18/02 Christophe VG wrote:
> I don't know if I should report this at this stage but I'm having
> problems compiling loops running mcs.exe on linux ...
> 
> -----
> using System;
> 
> class ForLoop {
>     public static void Main() {
> 	for (int i=0; i < 20;  i++) {
> 	    Console.WriteLine(i);
> 	}
>     }
> }
> -----
> 
> results in a
> 
> -----
> [ntt@taurus cs]$ mcs loops.cs 
> Message: WSAStartup: high version 0x2
> /usr/local/bin/mcs: line 2: 31905 Segmentation fault     
> /usr/local/bin/mint /usr/local/bin/mcs.exe $*

It works fine here. Since 0.8 there's been a lot of bugfixing, but
if you can use the latests mcs/corlib/runtime combo from cvs and confirm
it works for you, too, that would be nice.

Thanks!

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better