[MonoDevelop] monodocer fails on MonoDevelops assemblies
Matej Urbas
matej.urbas at gmail.com
Thu Jul 27 16:58:31 EDT 2006
Hi
I've been trying out monodocer and monodoc lately and I have
successfully documented some test assemblies with them.
I would also like to document the code I'm writing in MonoDevelop and I
tried to produce some documentation stubs with monodocer on some of
MonoDevelop's assemblies.
monodocer failed on every assembly I tried (from the
monodevelop/build/bin and AddIns directories).
Here is a sample sigsegv message:
[matej at localhost AddIns]$ monodocer -assembly:MonoDevelop.Projects.dll
-path:../../docs/api/
** (/usr/lib/monodoc/monodocer.exe:19608): WARNING **: Missing
method .ctor in
assembly /fc4/home/matej/prog/monodevelop/build/AddIns/MonoDevelop.Projects.dll, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
** ERROR **: Can't find custom attr constructor
image: /fc4/home/matej/prog/monodevelop/build/AddIns/MonoDevelop.Projects.dll mtoken: 0x0a000270
aborting...
=================================================================
Got a SIGABRT 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:
at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00004>
at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool)
<0xffffffff>
at System.MonoCustomAttrs.GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider,System.Type) <0x00025>
at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,bool) <0x00029>
at System.Reflection.Assembly.GetCustomAttributes (bool) <0x0000f>
at Stub.MakeAttributes
(System.Xml.XmlElement,System.Reflection.ICustomAttributeProvider,bool)
<0x00073>
at Stub.AddIndexAssembly
(System.Reflection.Assembly,System.Xml.XmlElement) <0x000d1>
at Stub.DoUpdateAssemblies (string,string) <0x00202>
at Stub.Main (string[]) <0x00488>
at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
/usr/bin/mono(mono_handle_native_sigsegv+0xe6) [0x8159656]
[0x2cf440]
[0x2cf402]
/lib/libc.so.6(gsignal+0x49) [0x140c39]
/lib/libc.so.6(abort+0x101) [0x142241]
/usr/lib/libglib-2.0.so.0(g_logv+0x4d2) [0x768c42]
/usr/lib/libglib-2.0.so.0(g_log+0x29) [0x768c79]
/usr/bin/mono(mono_custom_attrs_from_index+0x1f8) [0x80a3a18]
/usr/bin/mono(mono_custom_attrs_from_assembly+0x43) [0x80a3d23]
/usr/bin/mono(mono_reflection_get_custom_attrs_by_type+0x14)
[0x80b0b44]
[0xd51d06]
[0xd51c1e]
[0x267662]
[0x267620]
[0x267074]
[0xf5f402]
[0x262b73]
[0xd4b3c9]
[0xd4a7c3]
/usr/bin/mono(mono_runtime_exec_main+0x62) [0x809bdd2]
/usr/bin/mono(mono_runtime_run_main+0x1b9) [0x809c0b9]
/usr/bin/mono(mono_main+0xe46) [0x805d126]
/usr/bin/mono [0x805bdd2]
/lib/libc.so.6(__libc_start_main+0xdc) [0x12e214]
/usr/bin/mono [0x805bd21]
monodocer was installed with the package monodoc-1.1.16-1.fc5.src.rpm
from repositories for Fedora Core 5 - it is a development version.
Should I use the sources from SVN? Or am I doing something wrong?
Regards,
---
Matej
More information about the Monodevelop-list
mailing list