[Mono-dev] CLR SIGSEGV when compiling from SVN

Kaushik Srenevasan ksrenev at gmail.com
Sun Dec 11 09:35:31 EST 2005


Hi,

I get the following error when trying to build Mono from SVN...

make[8]: Entering directory `/mnt/mono/clr/mcs/class/System.XML'
MONO_PATH="../../class/lib/basic:$MONO_PATH" 
/mnt/mono/clr/mono/runtime/mono-wrapper  ../../class/lib/basic/mcs.exe 
/codepage:28591   -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug 
/noconfig -r:mscorlib.dll -r:System.dll -nowarn:0162,0618,0612,0642,1595 
-target:library -out:System.Xml.dll System.Xml.XPath/Parser.cs 
Mono.Xml.Xsl/PatternParser.cs Mono.Xml.Xsl/PatternTokenizer.cs 
@System.Xml.dll.sources
System.Xml/XmlTextReader.cs(1692,12): warning CS0168: The variable 
`dummyValue' is declared but never used
System.Xml/XmlReader.cs(1166,16): warning CS0169: The private method 
`System.Xml.XmlReader.CheckSupport()' is never used
Mono.Xml.Xsl/XslKey.cs(101,23): warning CS0169: The private field 
`Mono.Xml.Xsl.KeyIndexTable.ctx' is assigned but its value is never used
Mono.Xml.Xsl/XslTransformProcessor.cs(56,8): warning CS0169: The private 
field `Mono.Xml.Xsl.XslTransformProcessor.outputStylesheetXmlns' is 
assigned but its value is never used
System.Xml/DTDReader.cs(1440,15): warning CS0169: The private method 
`System.Xml.DTDReader.ReadCharacterReference()' is never used
System.Xml/DTDValidatingReader.cs(120,8): warning CS0169: The private 
field `Mono.Xml.DTDValidatingReader.dontResetTextType' is assigned but 
its value is never used
System.Xml/XmlNodeChangedEventArgs.cs(40,10): warning CS0169: The 
private field `System.Xml.XmlNodeChangedEventArgs._oldValue' is assigned 
but its value is never used
System.Xml/XmlNodeChangedEventArgs.cs(41,10): warning CS0169: The 
private field `System.Xml.XmlNodeChangedEventArgs._newValue' is assigned 
but its value is never used
System.Xml.XPath/XPathDocument.cs(100,16): warning CS0169: The private 
method `System.Xml.XPath.XPathDocument.Initialize(System.Xml.XmlReader, 
System.Xml.XmlSpace, bool)' is never used
System.Xml.Schema/XmlSchemaChoice.cs(201,16): warning CS0169: The 
private method 
`System.Xml.Schema.XmlSchemaChoice.ValidateParticleSection(ref int, 
System.Xml.Schema.XmlSchemaParticle, 
System.Xml.Schema.XmlSchemaParticle, 
System.Xml.Schema.ValidationEventHandler, System.Xml.Schema.XmlSchema, 
bool)' is never used
System.Xml.Schema/XmlSchemaSerializer.cs(118,8): warning CS0169: The 
private method 
`System.Xml.Schema.XmlSchemaSerializationWriter.WriteObject_XmlSchemaForm(System.Xml.Schema.XmlSchemaForm, 
string, string, bool, bool, bool)' is never used
System.Xml.Schema/XmlSchemaSerializer.cs(147,8): warning CS0169: The 
private method 
`System.Xml.Schema.XmlSchemaSerializationWriter.WriteObject_XmlSchemaDerivationMethod(System.Xml.Schema.XmlSchemaDerivationMethod, 
string, string, bool, bool, bool)' is never used
System.Xml.Schema/XmlSchemaSerializer.cs(1094,8): warning CS0169: The 
private method 
`System.Xml.Schema.XmlSchemaSerializationWriter.WriteObject_XmlSchemaUse(System.Xml.Schema.XmlSchemaUse, 
string, string, bool, bool, bool)' is never used
System.Xml.Schema/XmlSchemaSerializer.cs(2101,8): warning CS0169: The 
private method 
`System.Xml.Schema.XmlSchemaSerializationWriter.WriteObject_XmlSchemaContentProcessing(System.Xml.Schema.XmlSchemaContentProcessing, 
string, string, bool, bool, bool)' is never used
System.Xml.Serialization/MapCodeGenerator.cs(41,19): warning CS0169: The 
private field 
`System.Xml.Serialization.MapCodeGenerator.codeCompileUnit' is assigned 
but its value is never used
System.Xml.Serialization/MapCodeGenerator.cs(45,18): warning CS0169: The 
private field `System.Xml.Serialization.MapCodeGenerator.codeGen' is 
assigned but its value is never used
System.Xml.Serialization/SerializationSource.cs(151,8): warning CS0169: 
The private field 
`System.Xml.Serialization.MembersSerializationSource.writeAccessors' is 
assigned but its value is never used
System.Xml.Serialization/XmlElementAttribute.cs(49,15): warning CS0169: 
The private field `System.Xml.Serialization.XmlElementAttribute.order' 
is assigned but its value is never used

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

in <0x4> (wrapper managed-to-native) 
System.Reflection.Emit.TypeBuilder:create_runtime_class 
(System.Reflection.Emit.TypeBuilder)
in <0xfffffef5> (wrapper managed-to-native) 
System.Reflection.Emit.TypeBuilder:create_runtime_class 
(System.Reflection.Emit.TypeBuilder)
in <0x2bd> System.Reflection.Emit.TypeBuilder:CreateType ()
in <0x26> Mono.CSharp.DeclSpace:CloseType ()
in <0xc9> Mono.CSharp.RootContext:CloseTypes ()
in <0xaef> Mono.CSharp.Driver:MainDriver (string[])
in <0x41> Mono.CSharp.Driver:Main (string[])
in <0xc75d9a17> (wrapper runtime-invoke) 
System.Object:runtime_invoke_int_string[] (object,intptr,intptr,intptr)

Native stacktrace:

        
/mnt/mono/clr/mono/mono/mini/mono(mono_handle_native_sigsegv+0xc0) 
[0x813af70]
        /mnt/mono/clr/mono/mono/mini/mono [0x81273b6]
        [0xffffe440]
        /mnt/mono/clr/mono/mono/mini/mono [0x813e046]
        /mnt/mono/clr/mono/mono/mini/mono [0x813e0fb]
        /mnt/mono/clr/mono/mono/mini/mono [0x814e2a9]
        
/mnt/mono/clr/mono/mono/mini/mono(mono_reflection_create_runtime_class+0xc7) 
[0x814e767]
        [0x40d921f1]
        [0x40d920be]
        [0x40df5df7]
        [0x40df56d2]
        [0x40b540f0]
        [0x40b52b1a]
        [0x40b4d874]
        /mnt/mono/clr/mono/mono/mini/mono [0x8127260]
        /mnt/mono/clr/mono/mono/mini/mono(mono_runtime_invoke+0x27) 
[0x808e3c7]
        /mnt/mono/clr/mono/mono/mini/mono(mono_runtime_exec_main+0xaf) 
[0x808f15f]
        /mnt/mono/clr/mono/mono/mini/mono(mono_runtime_run_main+0x19f) 
[0x808ed9f]
        /mnt/mono/clr/mono/mono/mini/mono [0x805ce91]
        /mnt/mono/clr/mono/mono/mini/mono(mono_main+0x75c) [0x805d7ac]
        /mnt/mono/clr/mono/mono/mini/mono [0x805c21b]
        /lib/tls/libc.so.6(__libc_start_main+0xf4) [0x4010c974]
        /mnt/mono/clr/mono/mono/mini/mono [0x805c151]
make[8]: *** [../../class/lib/basic/System.Xml.dll] Aborted
make[8]: Leaving directory `/mnt/mono/clr/mcs/class/System.XML'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/mnt/mono/clr/mcs/class/System.XML'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/mnt/mono/clr/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/mnt/mono/clr/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/mnt/mono/clr/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/mnt/mono/clr/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/mnt/mono/clr/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/mono/clr/mono'
make: *** [all] Error 2

I run Debian Linux and am compiling it with the following commandline
make EXTERNAL_MCS=/opt/mono-1.1.10.1/bin/mcs 
EXTERNAL_RUNTIME=/opt/mono-1.1.10.1/bin/mono

please help.

Thanks,
Kaushik Srenevasan



More information about the Mono-devel-list mailing list