[Mono-dev] Mono runtime segfault
David Carr
dc at dcarr.org
Tue Aug 23 02:04:12 EDT 2005
I'm getting an unexpected segfault running the code below: Forgive me
if its a silly mistake on my part.
Thanks for any help,
David Carr
david at Cadmium ~/Prog/c#/gcross $ mono Crash.exe
Segmentation fault
Listing for Crash.cs:
public class Crash
{
int var
{
get { return var; }
set { var = value; }
}
public Crash(int i)
{
var = i;
}
public static void Main()
{
Crash c = new Crash(10);
}
}
mono --version
Mono JIT compiler version 1.1.8.3, (C) 2002-2005 Novell, Inc and
Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV : normal
Globalization: normal
compiled from source with:
gcc --version
gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
More information about the Mono-devel-list
mailing list