[Mono-dev] large interface crashes mcs

Hubert FONGARNAND informatique.internet at fiducial.fr
Wed Mar 29 05:20:36 EST 2006


I've reeopen bug : http://bugzilla.ximian.com/show_bug.cgi?id=75172
In our intranet we use remoting, and we have an client interface and a
server with many method...
We the number of method exceed 500, mcs crashes badly with :

Unhandled Exception: System.NullReferenceException: Object reference
not 

set to an instance of an object
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.MonoType:GetMethodsByName
(string,System.Reflection.BindingFlags,bool,System.Type)
in <0x00017> System.MonoType:GetMethods (BindingFlags bindingAttr)
in <0x00369> System.Type:FindMembers (MemberTypes memberType, BindingFlags
bindingAttr, System.Reflection.MemberFilter filter, System.Object
filterCriteria)
in <0x0004a> Mono.CSharp.TypeHandle:GetMembers (MemberTypes mt,
BindingFlags bf)in <0x00034> Mono.CSharp.MemberCache:AddMembers
(MemberTypes mt, BindingFlags bf, IMemberContainer container)
in <0x0003e> Mono.CSharp.MemberCache:AddMembers (MemberTypes mt,
IMemberContainer container)
in <0x0004d> Mono.CSharp.MemberCache:AddMembers (IMemberContainer container)
in <0x00164> Mono.CSharp.MemberCache:.ctor (IMemberContainer container)
in <0x000b9> Mono.CSharp.TypeHandle:.ctor (System.Type type)
in <0x00051> Mono.CSharp.TypeHandle:GetTypeHandle (System.Type t)
in <0x0000b> Mono.CSharp.TypeHandle:GetMemberCache (System.Type t)
in <0x000d3> Mono.CSharp.TypeManager:LookupMemberCache (System.Type t)
in <0x000bc> Mono.CSharp.MemberCache:.ctor (System.Type[] ifaces)
in <0x00099> Mono.CSharp.TypeManager:LookupBaseInterfacesCache (System.Type t)
in <0x00069> Mono.CSharp.TypeContainer:get_BaseCache ()
in <0x00046> Mono.CSharp.MemberCache:.ctor (IMemberContainer container)
in <0x004d5> Mono.CSharp.TypeContainer:DoDefineMembers ()
in <0x0002a> Mono.CSharp.TypeContainer:DefineMembers
(Mono.CSharp.TypeContainer container)
in <0x000fa> Mono.CSharp.RootContext:PopulateTypes ()
in <0x00b22> Mono.CSharp.Driver:MainDriver (System.String[] args)
in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args)

This bug was in Needinfo state since 2005-06-07 19:06

I've attached a test case, which could be useful to debug this, I think this bug is a criticial one!

Thanks
_______________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060329/1c0f352e/attachment.html 


More information about the Mono-devel-list mailing list