[Mono-bugs] [Bug 21255] Changed - CS527 error incorrectly reported + segfault

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
5 Mar 2002 17:17:45 -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=21255

--- shadow/21255	Tue Mar  5 05:32:43 2002
+++ shadow/21255.tmp.4624	Tue Mar  5 12:17:45 2002
@@ -51,6 +51,62 @@
 This is probably a problem with our reflection implementation.
 I commited fixes for compiling interfaces the last few days: could you
 confirm if it works now?
 
 lupus
 
+
+------- Additional Comments From mkestner@speakeasy.net  2002-03-05 12:17 -------
+Using a corlib and mono built from cvs 3/5/02 AM, I now get a segfault.
+
+Top of the stack is:
+
+w#0  0x0808fb6e in ves_icall_Type_GetMethods (type=0x8e3a070,
+bflags=20) at icall.c:829
+829
+		method = klass->methods [i];
+
+Full trace:
+
+(gdb) where
+#0  0x0808fb6e in ves_icall_Type_GetMethods (type=0x8e46950,
+bflags=20) at icall.c:829
+#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
+mcs.il:2271
+#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
+jit.c:3155
+#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 ../sysdeps/generic/libc-start.c:129
+
+