This code also hangs on Linux 2.4.25 without throwing any exceptions or
segfaults!

Best regards,
Vadim B. Guzev
http://u.pereslavl.ru/~vadim/MCSharp/

----- Original Message ----- 
From: "Stuart Ballard" <[EMAIL PROTECTED]>
To: "mono-list" <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 10:19 PM
Subject: [Mono-list] Mono 0.31 segfault


> Running mono 0.31 from debian packages. The following simple test 
> program crashes mono with a segmentation fault:
> 
> public class MainClass {
> public static void Main() {
> object o = null;
> Console.WriteLine(o.ToString());
> }
> }
> 
> I'd expect to get a NullReferenceException, of course.
> 
> One thing I noticed is this:
> [EMAIL PROTECTED]:~$ mono --version
> Mono JIT compiler version 0.31, (C) 2002-2004 Novell, Inc and 
> Contributors. www.go-mono.com
>          TLS:           NPTL
>          GC:            Included Boehm (with typed GC)
>          Globalization: none
> [EMAIL PROTECTED]:~$ uname -a
> Linux rainbow 2.2.17 #1 Thu Sep 14 13:18:09 EDT 2000 i686 GNU/Linux
> 
> The thing that stands out is the mention of NPTL. I think that on a 
> 2.2.17 kernel I'm a long way from having NPTL support, unless it has a 
> fallback mode for older kernels.
> 
> Any thoughts?
> 
> Thanks,
> Stuart (thinking about upgrading his kernel now...).
> 
> 
> 
> -- 
> Stuart Ballard, Senior Web Developer
> NetReach, Inc.
> (215) 283-2300, ext. 126
> http://www.netreach.com/
> 
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to