[Mono-list] mdcs2ecma SIGSEGV Problem.

Christopher Granade cgranade at gmail.com
Sat Dec 9 01:22:12 EST 2006


Does anyone know why mdcs2ecma might return a SIGSEGV in native code when 
trying to convert inline documentation to monodoc XML? Pursuant to the advice 
on the Wiki at (http://www.mono-project.com/Generating_Documentation), I ran 
the command and got the following output:

cgranade at lilith ~/projects/metashell/trunk/bin/Debug $ mdcs2ecma 
Metashell.Core.xml Metashell.Core.dll Metashell.Core.monodoc.xml 
MetashellCore

** (/usr/lib64/monodoc/cs2ecma.exe:17679): WARNING **: The class 
System.Collections.Generic.Dictionary`2 could not be loaded, used in 
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

=================================================================
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 (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType 
(System.Reflection.Module,string,bool,bool) <0xe>
in (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType 
(System.Reflection.Module,string,bool,bool) <0xffffffffffffffa7>
in System.Reflection.Assembly:GetType (string,bool,bool) <0x3f>
in System.Reflection.Assembly:GetType (string) <0x27>
in Mono.CSharp.EcmaDocumentGenerator:CollectTypesAndMembers 
(System.Xml.XmlDocument,System.Collections.Hashtable,System.Collections.ArrayList) 
<0x152>
in Mono.CSharp.EcmaDocumentGenerator:ProcessInput () <0x90>
in Mono.CSharp.EcmaDocumentGenerator:Run () <0x64>
in Mono.CSharp.EcmaDocumentGenerator:Generate 
(System.Xml.XmlReader,System.Reflection.Assembly,System.Xml.XmlWriter,string) 
<0x50>
in Mono.CSharp.Driver:Main (string[]) <0x1a6>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] 
(object,intptr,intptr,intptr) <0xffffffffc0438cfb>

Native stacktrace:

        /usr/bin/mono(mono_handle_native_sigsegv+0x8d) [0x4f813d]
        /usr/bin/mono [0x4c6798]
        /lib/libpthread.so.0 [0x2ba90db61d00]
        /usr/bin/mono(mono_class_from_mono_type+0xe) [0x49a09e]
        [0x7fff9d62e830]
Aborted


I'm trying to ship the Metashell project for both Windows and Linux, and so I 
want to include both styles of documentation if at all possible. If anyone 
could help me with this problem, I'd appreciate it. Thanks for your kind 
attention and time.

Sincerely,
Christopher Granade
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20061208/bf59f5d0/attachment-0001.bin 


More information about the Mono-list mailing list