[Mono-bugs] [Bug 356531] [Regression] Mono compiles code that does LCG (DynamycMethods) but crashed at runtime
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jul 25 17:17:50 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=356531
User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=356531#c4
Gert Driesen <gert.driesen at pandora.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gert.driesen at pandora.be
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|Mono compiles code that does LCG |[Regression] Mono compiles code that does LCG
|(DynamycMethods) but crashed at runtime |(DynamycMethods) but crashed at runtime
--- Comment #4 from Gert Driesen <gert.driesen at pandora.be> 2008-07-25 15:17:49 MDT ---
This has regressed. See gert/standalone/bug356531 in SVN for a test case.
Stacktrace:
at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal
(System.Type,object,System.Reflection.MethodInfo) <0x00004>
at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal
(System.Type,object,System.Reflection.MethodInfo) <0xffffffff>
at System.Delegate.CreateDelegate
(System.Type,object,System.Reflection.MethodInfo,bool) <0x003c3>
at System.Delegate.CreateDelegate
(System.Type,System.Reflection.MethodInfo,bool) <0x00014>
at System.Delegate.CreateDelegate (System.Type,System.Reflection.MethodInfo)
<0x0000f>
at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type)
<0x00028>
at MemberComparer`1.GetCompareDelegate (string) <0x005c0>
at MemberComparer`1.GetCachedCompareDelegate (string) <0x00080>
at MemberComparer`1..ctor (string) <0x0000a>
at Program.Main () <0x0001e>
at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
/home/gert/mono/install/bin/mono [0x806dcff]
/home/gert/mono/install/bin/mono [0x80890a1]
[0xffffe440]
/home/gert/mono/install/bin/mono [0x81b593f]
/home/gert/mono/install/bin/mono [0x81b782f]
/home/gert/mono/install/bin/mono [0x8103bbe]
[0xb78fa3dd]
[0xb78f9ecc]
[0xb78f9af5]
[0xb78f9ac8]
[0xb78f96e9]
[0xb78f7591]
[0xb78f5581]
[0xb78f336b]
[0xb78f3277]
[0xb78f31c7]
/home/gert/mono/install/bin/mono(mono_runtime_exec_main+0xeb)
[0x80afeab]
/home/gert/mono/install/bin/mono(mono_runtime_run_main+0x173)
[0x80b13e3]
/home/gert/mono/install/bin/mono(mono_main+0xe38) [0x805c028]
/home/gert/mono/install/bin/mono [0x805ac52]
/lib/libc.so.6(__libc_start_main+0xe0) [0xb7cf6fe0]
/home/gert/mono/install/bin/mono [0x805abc1]
Debug info from gdb:
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ce0b80 (LWP 4633)]
[New Thread 0xb7535b90 (LWP 4637)]
[New Thread 0xb7559b90 (LWP 4636)]
0xffffe410 in __kernel_vsyscall ()
3 Thread 0xb7559b90 (LWP 4636) 0xffffe410 in __kernel_vsyscall ()
2 Thread 0xb7535b90 (LWP 4637) 0xffffe410 in __kernel_vsyscall ()
1 Thread 0xb7ce0b80 (LWP 4633) 0xffffe410 in __kernel_vsyscall ()
Thread 3 (Thread 0xb7559b90 (LWP 4636)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e45846 in nanosleep () from /lib/libpthread.so.0
#2 0x0815d1b1 in collection_thread (unused=0x0) at collection.c:34
#3 0xb7e3e192 in start_thread () from /lib/libpthread.so.0
#4 0xb7da402e in clone () from /lib/libc.so.6
Thread 2 (Thread 0xb7535b90 (LWP 4637)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e42566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so0
#2 0x08148c5f in timedwait_signal_poll_cond (cond=0x8315f5c, mutex=0x8315f44,
timeout=0x0, alertable=0) at handles.c:1492
#3 0x0814b93e in _wapi_handle_timedwait_signal_handle (handle=0x404,
timeout=0x0, alertable=0) at handles.c:1572
#4 0x0814b9bc in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
at handles.c:1532
#5 0x08150caa in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
alertable=0) at wait.c:205
#6 0x080bfada in finalizer_thread (unused=0x0) at gc.c:905
#7 0x08127ba0 in start_wrapper (data=0x83137e0) at threads.c:621
#8 0x0815f002 in thread_start_routine (args=0x831619c) at threads.c:279
#9 0x08175f15 in GC_start_routine (arg=0x26f20) at pthread_support.c:1369
#10 0xb7e3e192 in start_thread () from /lib/libpthread.so.0
#11 0xb7da402e in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb7ce0b80 (LWP 4633)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7da0b37 in syscall () from /lib/libc.so.6
#2 0x0806dd8b in mono_handle_native_sigsegv (signal=11, ctx=0xb7bafd0c)
at mini-exceptions.c:1294
#3 0x080890a1 in mono_arch_handle_altstack_exception (sigctx=0xb7bafd0c,
fault_addr=0x4, stack_ovf=0) at exceptions-x86.c:888
#4 <signal handler called>
#5 0x081cc691 in mono_method_to_ir2 (cfg=0x8372708, method=0x83b3a94,
start_bblock=0x83a3a0c, end_bblock=0x83a3aa4, return_var=0x0,
dont_inline=0x83a5b20, inline_args=0x0, inline_offset=0, is_virtual_call=0)
at method-to-ir.c:5779
#6 0x081b593f in mini_method_compile (method=0x83b3a94, opts=30501375,
domain=0x25ea0, run_cctors=<value optimized out>,
compile_aot=<value optimized out>, parts=0) at mini.c:13232
#7 0x081b782f in mono_jit_compile_method (method=0x83b3a94) at mini.c:13917
#8 0x08103bbe in ves_icall_System_Delegate_CreateDelegate_internal (
type=0x2bb40, target=0x0, info=0x2ef50) at icall.c:5823
#9 0xb78fa3dd in ?? ()
#10 0x0002bb40 in ?? ()
#11 0x00000000 in ?? ()
#0 0xffffe410 in __kernel_vsyscall ()
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list