[Mono-list] Mono 0.31 segfault

Stuart Ballard sballard@netreach.com
Tue, 13 Apr 2004 14:19:17 -0400


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:
sballard@rainbow:~$ 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
sballard@rainbow:~$ 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/