[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
Thu Apr 15 13:52:53 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=561728
http://bugzilla.novell.com/show_bug.cgi?id=561728#c2
--- Comment #2 from Sebastien Pouliot <spouliot at novell.com> 2010-04-15 17:52:51 UTC ---
Created an attachment (id=354767)
--> (http://bugzilla.novell.com/attachment.cgi?id=354767)
a more recent test case
still occurs on HEAD
gdb --args mono --security=core-clr --compile-all
bin/System.Core.sigsegv.8744.dll
..
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6147910 (LWP 7137)]
0x000000000066075e in find_method_in_metadata (klass="PredicateOf`1",
name=0x725e23 ".cctor", param_count=0, flags=2048) at class.c:8260
8260 if ((param_count == -1) || mono_method_signature
(method)->param_count == param_count) {
(gdb) bt
#0 0x000000000066075e in find_method_in_metadata (klass="PredicateOf`1",
name=0x725e23 ".cctor", param_count=0, flags=2048) at class.c:8260
#1 0x0000000000658d84 in mono_class_init (class="PredicateOf`1") at
class.c:4594
#2 0x0000000000658646 in mono_class_init (class="PredicateOf`1") at
class.c:4443
#3 0x0000000000648a77 in field_from_memberref (image=0xa3c5f0,
token=167772370, retklass=0x7ffff6144430, context=0xb05428) at loader.c:486
#4 0x0000000000648bff in mono_field_from_token (image=0xa3c5f0,
token=167772370, retklass=0x7ffff6144430, context=0xb05428) at loader.c:529
#5 0x00000000005ada41 in verifier_load_field (ctx=0x7ffff61444f0,
token=167772370, out_klass=0x7ffff6144488, opcode=0x6e6d68 "ldsfld") at
verify.c:836
#6 0x00000000005b549d in do_push_static_field (ctx=0x7ffff61444f0,
token=167772370, take_addr=0) at verify.c:2978
#7 0x00000000005c19aa in mono_method_verify
(method="System.Linq.Enumerable:FirstOrDefault ()", level=48) at verify.c:5130
#8 0x00000000005c459b in mono_method_verify_with_current_settings
(method="System.Linq.Enumerable:FirstOrDefault ()", skip_visibility=0) at
verify.c:5630
#9 0x000000000041a6c8 in mini_method_verify (cfg=0xb14e90,
method="System.Linq.Enumerable:FirstOrDefault ()") at mini.c:1261
#10 0x0000000000454dce in mono_method_to_ir (cfg=0xb14e90,
method="System.Linq.Enumerable:FirstOrDefault ()", start_bblock=0xcdea90,
end_bblock=0xcdeba0,
return_var=0xbcacd0, dont_inline=0xacac00 = {...}, inline_args=0xcb60c8,
inline_offset=77, is_virtual_call=0) at method-to-ir.c:5197
#11 0x0000000000451e07 in inline_method (cfg=0xb14e90,
cmethod="System.Linq.Enumerable:FirstOrDefault ()", fsig=0xca4ed0, sp=0xcb60c8,
ip=
0x7ffff7e3eeb9 "(\250", real_offset=77, dont_inline=0xacac00 = {...},
inline_allways=0) at method-to-ir.c:4544
#12 0x0000000000461233 in mono_method_to_ir (cfg=0xb14e90,
method="System.Linq.Expressions.Expression:TryGetMethod ()",
start_bblock=0xcb5828, end_bblock=
0xcb5938, return_var=0x0, dont_inline=0xacac00 = {...}, inline_args=0x0,
inline_offset=0, is_virtual_call=0) at method-to-ir.c:6420
#13 0x00000000004217c6 in mini_method_compile
(method="System.Linq.Expressions.Expression:TryGetMethod ()", opts=51472895,
domain=0x7ffff7e7dd48,
run_cctors=0, compile_aot=0, parts=0) at mini.c:4018
#14 0x00000000004ac8f6 in compile_all_methods_thread_main (args=0x7fffffffdbb0)
at driver.c:879
#15 0x000000000063a571 in start_wrapper (data=0xad0310) at threads.c:739
#16 0x000000000066a3d1 in thread_start_routine (args=0xaa6518) at
wthreads.c:286
#17 0x000000000069c715 in GC_start_routine (arg=0x7ffff7e2ffc0) at
pthread_support.c:1390
#18 0x00007ffff72f165d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#19 0x00007ffff6e0be1d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()
--
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