[Mono-docs-list] monodoc crash (with file this time)

Alex Combas yummyfiddlehead@yahoo.com
Thu, 25 Mar 2004 23:10:38 -0800 (PST)


--0-925915566-1080285038=:15441
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

Thanks Joshua,
I fixed the xml based on the example you gave me.
I have attached the new copy.

Among other things I took out the members and just
left it an empty <member/> tag, but monodoc still
crashes if you follow the instructions that I gave in
my last email.

However I dont think this has anything to do with the
way my file is structured since I am following a good
example this time.

I should add that when I run monodoc from a shell and
click the link that makes it crash I get this for
output:

$ monodoc
node `debugger' is not defined on the documentation
map
free(): invalid pointer 0x41ce767c!
free(): invalid pointer 0x41ce6bdc!
Trying: T:Gtk.AccelMapForeach
free(): invalid pointer 0x41ce6af0!
Trying: T:Gtk.AccelMapForeach/*
 
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception
has been thrown by the target of an invocation. --->
System.NullReferenceException: A null value was found
where an object instance was required.
in [0x00174] (at
/home/alex/work/cvs/monodoc/browser/ecma-provider.cs:673)
Monodoc.EcmaHelpSource:RenderTypeLookup
(string,string,string,string,Monodoc.Node&)
in [0x00053] (at
/home/alex/work/cvs/monodoc/browser/provider.cs:905)
Monodoc.RootTree:TypeLookup (string,Monodoc.Node&)
in [0x0026d] (at
/home/alex/work/cvs/monodoc/browser/provider.cs:1061)
Monodoc.RootTree:RenderUrl (string,Monodoc.Node&)
in [0x000a1] (at
/home/alex/work/cvs/monodoc/browser/browser.cs:349)
Monodoc.Browser:LoadUrl (string)
in [0x00007] (at
/home/alex/work/cvs/monodoc/browser/browser.cs:321)
Monodoc.Browser:LinkClicked
(object,Gtk.LinkClickedArgs)
in (unmanaged) /usr/local/lib/libmono.so.0
[0x4004d433]
in (unmanaged)
/usr/local/lib/libmono.so.0(mono_runtime_invoke+0x35)
[0x400941b5]
in (unmanaged)
/usr/local/lib/libmono.so.0(mono_runtime_invoke_array+0x148)
[0x40095268]
in (unmanaged) /usr/local/lib/libmono.so.0
[0x4009c46f]
in [0x00033] (at
/home/alex/work/cvs/mcs/class/corlib/System.Reflection/MonoMethod.cs:98)
System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---
 
in [0x00052] (at
/home/alex/work/cvs/mcs/class/corlib/System.Reflection/MonoMethod.cs:102)
System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in [0x00006] (at
/home/alex/work/cvs/mcs/class/corlib/System.Reflection/MethodBase.cs:52)
System.Reflection.MethodBase:Invoke (object,object[])
in [0x0005d] (at
/home/alex/work/cvs/mcs/class/corlib/System/Delegate.cs:197)
System.Delegate:DynamicInvokeImpl (object[])
in [0x00020] (at
/home/alex/work/cvs/mcs/class/corlib/System/MulticastDelegate.cs:55)
System.MulticastDelegate:DynamicInvokeImpl (object[])
in [0x00002] (at
/home/alex/work/cvs/mcs/class/corlib/System/Delegate.cs:185)
System.Delegate:DynamicInvoke (object[])
in <0x001bf>
GtkSharp.voidObjectstringSignal:voidObjectstringCallback
(intptr,string,int)
in <0x0004a> (wrapper native-to-managed)
GtkSharp.voidObjectstringSignal:voidObjectstringCallback
(intptr,intptr,int)
in (unmanaged) (wrapper managed-to-native)
Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native)
Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in [0x00162] (at
/home/alex/work/cvs/monodoc/browser/browser.cs:85)
Monodoc.Driver:Main (string[])
 



--- Joshua Tauberer <tauberer@for.net> wrote:
> Take a look at a good xml file for a delegate, e.g. 
> /monodoc/class/corlib/en/System/AsyncCallback.xml,
> to see how delegates 
> should be documented.
> 
> -- 
> - Joshua Tauberer
> 
> http://taubz.for.net
> 
> ** Nothing Unreal Exists **
> 
> 

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
--0-925915566-1080285038=:15441
Content-Type: text/xml; name="AccelMapForeach.xml"
Content-Description: AccelMapForeach.xml
Content-Disposition: inline; filename="AccelMapForeach.xml"

<Type Name="AccelMapForeach" FullName="Gtk.AccelMapForeach" Maintainer="Alex Combas">
  <TypeSignature Language="C#" Value="public sealed delegate void AccelMapForeach (IntPtr data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);" />
  <AssemblyInfo>
    <AssemblyName>gtk-sharp</AssemblyName>
    <AssemblyVersion>0.0.0.0</AssemblyVersion>
    <Attributes />
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Docs>
    <summary>
      <para>AccelMapForeach Delegate</para>
    </summary>
    <param name="data">An <see cref="T:System.IntPtr"/> data passed into AccelMapForeach.</param>
    <param name="accel_path">A <see cref="T:System.String" /> valid accelerator path.</param>
    <param name="accel_key">An <see cref="T:System.UInt32"/> accelerator key.</param>
    <param name="accel_mods">A <see cref="T:Gdk.ModifierType"/> accelerator modifier.</param>
    <param name="changed">A <see cref="T:System.Boolean"/> indicates wheather this accelerator was changed during runtime.</param>
  </Docs>
  <Base>
    <BaseTypeName>System.Delegate</BaseTypeName>
  </Base>
  <Interfaces>
    <Interface>
      <InterfaceName>System.ICloneable</InterfaceName>
    </Interface>
    <Interface>
      <InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName>
    </Interface>
  </Interfaces>
  <Members />
  <Parameters>
    <Parameter Name="data" Type="System.IntPtr" />
    <Parameter Name="accel_path" Type="System.String" />
    <Parameter Name="accel_key" Type="System.UInt32" />
    <Parameter Name="accel_mods" Type="Gdk.ModifierType" />
    <Parameter Name="changed" Type="System.Boolean" />
  </Parameters>
  <ReturnValue>
    <ReturnType>System.Void</ReturnType>
  </ReturnValue>
</Type>
--0-925915566-1080285038=:15441--