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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80436 --- shadow/80436 2007-01-03 05:48:49.000000000 -0500 +++ shadow/80436.tmp.24575 2007-01-03 05:48:49.000000000 -0500 @@ -0,0 +1,158 @@ +Bug#: 80436 +Product: Mono: Class Libraries +Version: 1.0 +OS: other +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: CORLIB +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: SIGABRT in Type.GetMethods + +Decompress the attached zip file into any directory and run: + +mono vbnc.exe bug.vb + +Result: SIGABRT. + +Notes: +- This happens while the compiler looks through all the methods in an +assembly for Main methods. If I compile as a library the compiler skips +this step and compiles successfully, and the produced library passes +peverify with no errors. It can also be loaded both in MS and Mono without +problems. +- It might be necessary to apply patch submitted in http:// +bugzilla.ximian.com/show_bug.cgi?id=80435. + + + + +no implementation for interface method IBase::Test() in class .B +METHOD .ctor() + +** ERROR **: file class.c: line 2087 (mono_class_setup_vtable_general): +should not be reached +aborting... +Stacktrace: + + at (wrapper managed-to-native) System.MonoType.GetMethodsByName +(string,System.Reflection.BindingFlags,bool,System.Type) <0x00004> + at (wrapper managed-to-native) System.MonoType.GetMethodsByName +(string,System.Reflection.BindingFlags,bool,System.Type) <0xffffffff> + at System.MonoType.GetMethods (System.Reflection.BindingFlags) [0x00000] +in /mono/head/mcs/class/corlib/System/MonoType.cs:175 + at System.Type.GetMethods () [0x00000] in /mono/head/mcs/class/corlib/ +System/Type.cs:797 + at vbnc.Compiler.SetMain () <0x00367> + at vbnc.Compiler.Compile () <0x0095d> + at vbnc.Compiler.Compile (string[]) <0x0005c> + at vbnc.Main.Main (string[]) <0x001cd> + at (wrapper runtime-invoke) +System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff> + +Native stacktrace: + + mono(mono_handle_native_sigsegv+0xd4) [0x816a264] + [0xffffe440] + /lib/libc.so.6(abort+0x103) [0xb7df5fa3] + /opt/gnome/lib/libglib-2.0.so.0(g_logv+0x46d) [0xb7f5b1bd] + /opt/gnome/lib/libglib-2.0.so.0(g_log+0x35) [0xb7f5b205] + /opt/gnome/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7f5b286] + mono(mono_class_setup_vtable_general+0xbc8) [0x8101a18] + mono(mono_class_setup_vtable+0xb1) [0x81020f1] + mono [0x80edf14] + [0xb6bdad25] + [0xb6bdacd5] + [0xb652f2e9] + [0xb652ee30] + [0xb6bf24ce] + [0xb6be986d] + [0xb7974a36] + [0xb7974074] + mono(mono_runtime_exec_main+0x9f) [0x80e36af] + mono(mono_runtime_run_main+0x1b9) [0x80e3959] + mono(mono_main+0xe5a) [0x805f10a] + mono [0x805dda2] + /lib/libc.so.6(__libc_start_main+0xdc) [0xb7de187c] + mono [0x805dcf1] + +Debug info from gdb: + +Using host libthread_db library "/lib/libthread_db.so.1". +[Thread debugging using libthread_db enabled] +[New Thread -1210271424 (LWP 15609)] +[New Thread -1220486240 (LWP 15611)] +[New Thread -1208231008 (LWP 15610)] +0xffffe410 in __kernel_vsyscall () + 3 Thread -1208231008 (LWP 15610) 0xffffe410 in __kernel_vsyscall () + 2 Thread -1220486240 (LWP 15611) 0xffffe410 in __kernel_vsyscall () + 1 Thread -1210271424 (LWP 15609) 0xffffe410 in __kernel_vsyscall () + +Thread 3 (Thread -1208231008 (LWP 15610)): +#0 0xffffe410 in __kernel_vsyscall () +#1 0xb7f1da46 in __nanosleep_nocancel () from /lib/libpthread.so.0 +#2 0x0810ae74 in collection_thread (unused=0x0) at collection.c:34 +#3 0xb7f172ab in start_thread () from /lib/libpthread.so.0 +#4 0xb7e8975e in clone () from /lib/libc.so.6 + +Thread 2 (Thread -1220486240 (LWP 15611)): +#0 0xffffe410 in __kernel_vsyscall () +#1 0xb7f1a726 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/ +libpthread.so.0 +#2 0x081152ff in timedwait_signal_poll_cond (cond=0xb78e71dc, + mutex=0xb78e71c4, timeout=0x0, alertable=0) at handles.c:1413 +#3 0x08117abf in _wapi_handle_timedwait_signal_handle (handle=0x404, + timeout=0x0, alertable=0) at handles.c:1493 +#4 0x08117b3c in _wapi_handle_wait_signal_handle (handle=0x404, +alertable=0) + at handles.c:1453 +#5 0x0811884f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, + alertable=0) at wait.c:200 +#6 0x0817105a in finalizer_thread (unused=0x0) at gc.c:819 +#7 0x080be2c4 in start_wrapper (data=0x8251040) at threads.c:308 +#8 0x0810f4fe in thread_start_routine (args=0xb779ab30) at threads.c:253 +#9 0x08128325 in GC_start_routine (arg=0x22f40) at pthread_support.c:1357 +#10 0xb7f172ab in start_thread () from /lib/libpthread.so.0 +#11 0xb7e8975e in clone () from /lib/libc.so.6 + +Thread 1 (Thread -1210271424 (LWP 15609)): +#0 0xffffe410 in __kernel_vsyscall () +#1 0xb7e82e11 in ___newselect_nocancel () from /lib/libc.so.6 +#2 0xb7f7c9a0 in g_spawn_sync () from /opt/gnome/lib/libglib-2.0.so.0 +#3 0xb7f7cd6c in g_spawn_command_line_sync () + from /opt/gnome/lib/libglib-2.0.so.0 +#4 0x0816a2fc in mono_handle_native_sigsegv (signal=6, ctx=0xbfdd0d5c) + at mini-exceptions.c:1058 +#5 <signal handler called> +#6 0xffffe410 in __kernel_vsyscall () +#7 0xb7df48d0 in raise () from /lib/libc.so.6 +#8 0xb7df5fa3 in abort () from /lib/libc.so.6 +#9 0xb7f5b1bd in g_logv () from /opt/gnome/lib/libglib-2.0.so.0 +#10 0xb7f5b205 in g_log () from /opt/gnome/lib/libglib-2.0.so.0 +#11 0xb7f5b286 in g_assert_warning () from /opt/gnome/lib/libglib-2.0.so.0 +#12 0x08101a18 in mono_class_setup_vtable_general (class=0x8654ca4, + overrides=0x0, onum=0) at class.c:2087 +#13 0x081020f1 in mono_class_setup_vtable (class=0x8654ca4) at class.c:1832 +#14 0x080edf14 in ves_icall_Type_GetMethodsByName (type=0x16c4b0, name=0x0, + bflags=28, ignore_case=0 '\0', reftype=0x16c4b0) at icall.c:3189 +#15 0xb6bdad25 in ?? () +#16 0x0016c4b0 in ?? () +#17 0x00000000 in ?? () +#0 0xffffe410 in __kernel_vsyscall () + + +================================================================= +Got a SIGABRT while executing native code. This usually indicates +a fatal error in the mono runtime or one of the native libraries +used by your application. +================================================================= + +/home/rolf/bin/vbnc: line 2: 15609 Aborted mono --debug / +mono/head/vbnc/vbnc/bin/vbnc.exe $@ _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
