[Mono-bugs] [Bug 21479] New - Segfault in ves_icall_Type_GetMethods

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
7 Mar 2002 01:13:33 -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.


--- shadow/21479	Wed Mar  6 20:13:33 2002
+++ shadow/21479.tmp.16853	Wed Mar  6 20:13:33 2002
@@ -0,0 +1,74 @@
+Bug#: 21479
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mkestner@speakeasy.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Segfault in ves_icall_Type_GetMethods
+Description of Problem:
+mono and mcs from cvs updated 3/6.
+Stack trace:
+#0  0x0808fb6e in ves_icall_Type_GetMethods (type=0x8e46950, bflags=20) at
+#1  0x08c230ca in ?? () at mcs.il:9687
+#2  0x08c1ed79 in Mono_CSharp_TypeContainer__FindMembers_0x811c390
+(t=0x8e46950, mt=<incomplete type>, bf=<incomplete type>, filter=0x8215060,
+criteria=0x0) at mcs.il:30575
+#3  0x0915dda4 in Mono_CSharp_Foreach__ProbeCollectionType_0x8287170
+(this=0x898ff78, t=0x8e46950) at mcs.il:7810
+#4  0x09158e88 in Mono_CSharp_Foreach__Emit_0x8287578 (this=0x898ff78,
+ec=0x9144e88) at mcs.il:8701
+#5  0x08e293eb in Mono_CSharp_Block__Emit_0x81eee88 (this=0x896c6c0,
+ec=0x9144e88) at mcs.il:4815
+#6  0x08e293eb in Mono_CSharp_Block__Emit_0x81eee88 (this=0x8969e88,
+ec=0x9144e88) at mcs.il:4815
+#7  0x08e275df in Mono_CSharp_EmitContext__EmitTopBlock_0x8c4c058
+(this=0x9144e88, block=0x8969e88, loc=<incomplete type>) at mcs.il:41102
+#8  0x08e65f50 in Mono_CSharp_Method__Emit_0x81ded50 (this=0x8969cb8,
+parent=0x884a240) at mcs.il:33514
+#9  0x08e29740 in Mono_CSharp_TypeContainer__Emit_0x811c770
+(this=0x884a240) at mcs.il:31226
+#10 0x08e20792 in Mono_CSharp_RootContext__EmitCode_0x810f220 () at
+#11 0x0813e530 in Mono_CSharp_Driver__MainDriver_0x80f0f18
+(args=0x80ee4b8) at mcs.il:9491
+#12 0x080facf3 in ?? () at corlib.il:1016
+#13 0x0807e792 in jit_exec_main (method=0x80ed688, args=0x80ee4b8) at
+#14 0x0807e898 in mono_jit_exec (domain=0x80b7b78, assembly=0x80ed160,
+argc=17, argv=0xbffff858) at jit.c:3191
+#15 0x0807f50f in main (argc=20, argv=0xbffff84c) at jit.c:3456
+#16 0x4010d306 in __libc_start_main (main=0x807ead0 <main>, argc=20,
+ubp_av=0xbffff84c, init=0x804f7ac <_init>, fini=0x80a2780 <_fini>,
+rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbffff83c) at
+Class being inspected is XmlNodeList.  
+MonoClass.method.count is 5
+MonoClass.methods is null.
+Steps to reproduce the problem:
+"make linux" or "mono mcs --unsafe -o codegen.exe -r System.Xml *.cs" in
+mint throws a NullRefException with a very similar call trace.  No crash on
+windows compiling with mcs, although that may have been with the MS class
+libs System.Xml assembly.  Not sure how to force it to use mono
+System.Xml.dll to make sure.
+I'd be happy to track this down more if anyone can give me a nudge in the
+right direction.