[Mono-bugs] [Bug 22811] Changed - segfault in execution of FilterName_impl on mint mcs

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
9 Apr 2002 04:44:49 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mkestner@speakeasy.net.

http://bugzilla.ximian.com/show_bug.cgi?id=22811

--- shadow/22811	Sun Apr  7 06:21:16 2002
+++ shadow/22811.tmp.3178	Tue Apr  9 00:44:49 2002
@@ -98,6 +98,54 @@
 If you don't do it, you'll stomp on a crash in a way or the other:
 you need to fix the warning (implement the missing type).
 If you don't have a warning, but you still see a null reference
 exception, can you try to extract the code that causes it?
 
 
+
+------- Additional Comments From mkestner@speakeasy.net  2002-04-09 00:44 -------
+My lameass debugging skills have determined the following additional info:
+
+The exception is thrown in the first invocation of DefinePInvokeMethod
+. It is processing a g_object_get pinvoke method, which is defined in
+gtk-sharp/glib/Object.cs.
+
+Let me know if this is enough to determine a cause, or if I need to
+provide more info.  
+
+The NullRefException trace on mint is as follows:
+
+Unhandled exception System.NullReferenceException A null value was
+found where an object instance was required.
+#0: 0x00009 callvirt   in System.Type::FilterName_impl ([(nil)]
+[0x81fb6a0] )
+#1: 0x00000            in System.Reflection.MemberFilter::Invoke
+([(nil)] [0x81fb6a0] )
+#2: 0x00346 callvirt   in Mono.CSharp.TypeContainer::FindMembers
+([159] [62] [0x8285c18] [0x81fb6a0] )
+#3: 0x0010f callvirt   in Mono.CSharp.TypeManager::FindMembers
+([0x828e310] [159] [62] [0x8285c18] [0x81fb6a0] )
+#4: 0x00030 call       in Mono.CSharp.Expression::MemberLookup
+([0x827a404] [0x828e310] [0x81fb6a0] [159] [28] [vt: 0xbfffc2d8] )
+#5: 0x0000b call       in Mono.CSharp.Expression::MemberLookup
+([0x827a404] [0x828e310] [0x81fb6a0] [vt: 0xbfffc678] )
+#6: 0x0005a call       in Mono.CSharp.SimpleName::SimpleNameResolve
+([0x827a404] [1] )
+#7: 0x00003 call       in Mono.CSharp.SimpleName::DoResolveAllowStatic
+([0x827a404] )
+#8: 0x0000f call       in
+Mono.CSharp.Expression::ResolveWithSimpleName ([0x827a404] )
+#9: 0x0000f callvirt   in Mono.CSharp.MemberAccess::DoResolve
+([0x827a404] )
+#10: 0x00002 callvirt   in Mono.CSharp.Expression::Resolve ([0x827a404] )
+#11: 0x00008 callvirt   in Mono.CSharp.Argument::Resolve ([0x827a404]
+[vt: 0xbfffdc08] )
+#12: 0x001bc callvirt   in Mono.CSharp.Attribute::DefinePInvokeMethod
+([0x827a404] [0x828e310] [0x81fb538] [8209] [0x8250b70] [0x82f7dd8] )
+#13: 0x003e0 callvirt   in Mono.CSharp.Method::Define ([0x81f26f4] )
+#14: 0x00024 callvirt   in Mono.CSharp.TypeContainer::DefineMembers
+([0x81e8394] [(nil)] )#15: 0x00101 call       in
+Mono.CSharp.TypeContainer::Define ([0x80c5904] )
+#16: 0x0009c callvirt   in Mono.CSharp.RootContext::PopulateTypes ()
+#17: 0x0091f call       in Mono.CSharp.Driver::MainDriver ([0x813ff10] )
+#18: 0x00001 call       in Mono.CSharp.Driver::Main ([0x813ff10] )
+