[Mono-bugs] [Bug 561728] [verifier] SIGSEGV in find_method_in_metadata on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 19 15:51:25 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=561728

http://bugzilla.novell.com/show_bug.cgi?id=561728#c3


--- Comment #3 from Sebastien Pouliot <spouliot at novell.com> 2010-07-19 19:51:24 UTC ---
Created an attachment (id=376935)
 --> (http://bugzilla.novell.com/attachment.cgi?id=376935)
assembly causing the crash

newer test case on x86 opensuse 11.3

gdb --args mono --security=core-clr --compile-all bin/System.sigabrt.1610.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb73deb70 (LWP 14042)]
0x08201846 in find_method_in_metadata
(klass="System.ComponentModel.DesignTimeVisibleAttribute", name=0x82f1277
".cctor", param_count=0, flags=2048)
    at class.c:8352
8352                if ((param_count == -1) || mono_method_signature
(method)->param_count == param_count) {
(gdb) bt
#0  0x08201846 in find_method_in_metadata
(klass="System.ComponentModel.DesignTimeVisibleAttribute", name=0x82f1277
".cctor", param_count=0, flags=2048)
    at class.c:8352
#1  0x081fae00 in mono_class_init
(class="System.ComponentModel.DesignTimeVisibleAttribute") at class.c:4662
#2  0x0816f142 in mono_type_is_valid_in_context (ctx=0xb73ddcbc, type={class,
"System.ComponentModel.DesignTimeVisibleAttribute"}) at verify.c:784
#3  0x0817dc7a in mono_method_verify
(method="System.ComponentModel.DesignTimeVisibleAttribute:.ctor ()", level=48)
at verify.c:4558
#4  0x081833ed in mono_method_verify_with_current_settings
(method="System.ComponentModel.DesignTimeVisibleAttribute:.ctor ()",
skip_visibility=0)
    at verify.c:5672
#5  0x0805ba77 in mini_method_verify (cfg=0x843dfd8,
method="System.ComponentModel.DesignTimeVisibleAttribute:.ctor ()") at
mini.c:1289
#6  0x0805bc92 in mono_compile_is_broken (cfg=0x843dfd8) at mini.c:1338
#7  0x0806169d in mini_method_compile
(method="System.ComponentModel.DesignTimeVisibleAttribute:.ctor ()",
opts=59861503, domain=0x34e70, run_cctors=0, 
    compile_aot=0, parts=0) at mini.c:4015
#8  0x080e22a0 in compile_all_methods_thread_main (args=0xbfffee44) at
driver.c:878
#9  0x081e3fa2 in start_wrapper (data=0x8421a78) at threads.c:747
#10 0x0826029f in thread_start_routine (args=0x840a7b4) at wthreads.c:285
#11 0x0828a401 in GC_start_routine (arg=0x5efc0) at pthread_support.c:1390
#12 0xb7f73b25 in start_thread () from /lib/libpthread.so.0
#13 0xb7ed546e in clone () from /lib/libc.so.6
(gdb) p mono_method_signature (method)
Could not load signature due to: 
$1 = (MonoMethodSignature *) 0x0

-- 
Configure bugmail: http://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