[Mono-devel-list] Segmentation Fault?

Griffin Caprio griffincaprio at mac.com
Tue Mar 16 21:04:50 EST 2004


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] )
#4: 0x00005 call       in Mono.CSharp.Driver::CompileFiles ([O:0x2df28] 
[0] )
#5: 0x001ce call       in Mono.CSharp.Driver::MainDriver ([O:0x2fe38] )
#6: 0x00001 call       in Mono.CSharp.Driver::Main ([O:0x2fe38] )

make[3]: *** [linux-bootstrap-nant] Error 1
make[2]: *** [linux-bootstrap] Error 2
make[1]: *** [bootstrap] Error 2
make: *** [all] Error 2

I am getting this error when I try to compile mcs from the 0.30.2 
source package.

Anyone have any ideas?

-Griffin
On Mar 16, 2004, at 10:38 AM, Bernie Solomon wrote:

> This is stacktrace is from mint not mono - and I'm not quite sure
> which platform. What looked suspicious to me was the very large
> integers as args (the 430601). But why they are appearing
> I don't know. Things have been working for me (maybe it was
> just the timing of the cvs update?)
>
> Bernie Solomon
>
> ----- Original Message -----
> From: "Jörg Rosenkranz" <joergr at voelcker.com>
> To: "Griffin Caprio" <griffincaprio at mac.com>;
> <mono-devel-list at lists.ximian.com>
> Sent: Tuesday, March 16, 2004 3:11 AM
> Subject: AW: [Mono-devel-list] Segmentation Fault?
>
>
>> Hello Griffin,
>>
>> This problem sounds like following bug:
>> http://bugzilla.ximian.com/show_bug.cgi?id=55253
> <http://bugzilla.ximian.com/show_bug.cgi?id=55253>
>>
>> You can try the new config option described in this entry.
>> It didn't fix the segmentation fault in our case.
>>
>> Joerg.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: mono-devel-list-admin at lists.ximian.com im Auftrag von Griffin 
>> Caprio
>> Gesendet: Mo 15.03.2004 03:42
>> An: mono-devel-list at lists.ximian.com
>> Cc:
>> Betreff: [Mono-devel-list] Segmentation Fault?
>>
>>
>>
>> Hello all!
>>
>> I am trying to do a 'make fullbuild' using latest from CVS.  During 
>> the
>> mcs.exe compiliation stage, I am getting this error:
>>
>> Unhandled Exception: System.NullReferenceException: Segmentation fault
>> #0: 0x00000            in System.String::get_Chars ([430601] )
>> #1: 0x00052 callvirt   in System.String::LastIndexOf ([47] [774007]
>> [774008] )
>> #2: 0x0001d callvirt   in System.String::LastIndexOf ([47] )
>> #3: 0x00003 callvirt   in Mono.CSharp.Driver::SplitPathAndPattern
>> ([O:0x2dbe0] [M:0xf04009b0] [M:0xf04009b4] )
>> #4: 0x00005 call       in Mono.CSharp.Driver::CompileFiles 
>> ([O:0x2dbe0]
>> [0] )
>> #5: 0x001ce call       in Mono.CSharp.Driver::MainDriver ([O:0xb6e40] 
>> )
>> #6: 0x00001 call       in Mono.CSharp.Driver::Main ([O:0xb6e40] )
>>
>> Anybody have any ideas on what this is?  The String classes have to be
>> pretty stable, so I can't imagine a problem there.
>>
>> Thanks,
>>
>> -Griffin
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>> 2uޖXf)+-2uޖXXb&rXb&r+-wj'ׯzYb
>>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3718 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040316/6c1ca72d/attachment.bin 


More information about the Mono-devel-list mailing list