[Mono-devel-list] Segmentation Fault?
Paolo Molaro
lupus at ximian.com
Wed Mar 17 06:34:20 EST 2004
On 03/16/04 Griffin Caprio wrote:
> This is becoming a chronic problem. I am now getting this error
> NAnt:
> mcs -target:exe -define:MONO -debug -o bin/NAnt.exe
> -r:lib/mono/1.0/log4net.dll -recurse:src/NAnt.Console/*.cs
> src/CommonAssemblyInfo.cs
>
> Unhandled Exception: System.NullReferenceException: Segmentation fault
> #0: 0x00000 in System.String::get_Chars ([4100197] )
> #1: 0x00052 callvirt in System.String::LastIndexOf ([47] [4118807]
> [4118808] )
> #2: 0x00022 callvirt in System.String::LastIndexOf ([47] )
> #3: 0x00003 callvirt in Mono.CSharp.Driver::SplitPathAndPattern
> ([O:0x2df28] [M:0xf04009b0] [M:0xf04009b4] )
Somehow the code in SplitPathAndPattern() generates a very big string
(4118808 characters?) or the string is corrupted: see how it tries to
access the 4100197th char in the string.
> Anyone have any ideas?
Don't use make fullbuild and just use precompiled assemblies
or try to debug, maybe with the --trace option to mint.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list