[Mono-bugs] [Bug 651682] [verifier] SIGABRT in mono_metadata_decode_row

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 1 15:27:37 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=651682

https://bugzilla.novell.com/show_bug.cgi?id=651682#c8


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #8 from Sebastien Pouliot <spouliot at novell.com> 2010-12-01 20:27:35 UTC ---
another test case leading to the same assert


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

* Assertion at metadata.c:964, condition `idx >= 0' not met


Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb797db70 (LWP 6909)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7e2e7ff in raise () from /lib/libc.so.6
#2  0xb7e30140 in abort () from /lib/libc.so.6
#3  0x082893c2 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x82fcc50 "* Assertion at %s:%d, condition `%s' not met\n", args=
    0xb797bcf4 "B\314/\b\304\003") at goutput.c:134
#4  0x08289441 in monoeg_assertion_message (format=0x82fcc50 "* Assertion at
%s:%d, condition `%s' not met\n") at goutput.c:154
#5  0x081dd41d in mono_metadata_decode_row (t=0x83be218, idx=-1,
res=0xb797bd68, res_size=1) at metadata.c:964
#6  0x081e3ea1 in mono_type_create_from_typespec (image=0x83be070,
type_spec=452984832) at metadata.c:5232
#7  0x082067c0 in mono_type_retrieve_from_typespec (image=0x83be070,
type_spec=452984832, context=0x0, did_inflate=0xb797bdf4, error=0xb797be2c)
    at class.c:5878
#8  0x082068d7 in mono_class_create_from_typespec (image=0x83be070,
type_spec=452984832, context=0x0, error=0xb797be2c) at class.c:5915
#9  0x0820816f in mono_class_get_full (image=0x83be070, type_token=452984832,
context=0x0) at class.c:6657
#10 0x082050fe in mono_class_create_from_typedef (image=0x83be070,
type_token=33554526) at class.c:5260
#11 0x0820812a in mono_class_get_full (image=0x83be070, type_token=33554526,
context=0x8521864) at class.c:6651
#12 0x081e4e8a in get_constraints (image=0x83be070, owner=8,
constraints=0x85218a0, container=0x8521864) at metadata.c:5715
#13 0x081e5137 in mono_metadata_load_generic_param_constraints_full
(image=0x83be070, token=33554527, container=0x8521864) at metadata.c:5802
#14 0x08205561 in mono_class_create_from_typedef (image=0x83be070,
type_token=33554527) at class.c:5373
#15 0x0820812a in mono_class_get_full (image=0x83be070, type_token=33554527,
context=0x0) at class.c:6651
#16 0x0820840f in mono_class_get (image=0x83be070, type_token=33554527) at
class.c:6741
#17 0x081e0c5b in do_mono_metadata_parse_type (type={class, 0x0}, m=0x83be070,
container=0x0, transient=0, ptr=0xb7c826c4 "\001\022\201@\005(", rptr=
    0xb797c3a4) at metadata.c:3151
#18 0x081de38e in mono_metadata_parse_type_internal (m=0x83be070,
container=0x0, mode=MONO_PARSE_TYPE, opt_attrs=0, transient=0, ptr=
    0xb7c826c1 "\022\201|\001\022\201@\005(", rptr=0xb797c45c) at
metadata.c:1612
#19 0x081de4e3 in mono_metadata_parse_type_full (m=0x83be070, container=0x0,
mode=MONO_PARSE_TYPE, opt_attrs=0, ptr=
    0xb7c826c1 "\022\201|\001\022\201@\005(", rptr=0xb797c45c) at
metadata.c:1665
#20 0x081de522 in mono_metadata_parse_type (m=0x83be070, mode=MONO_PARSE_TYPE,
opt_attrs=0, ptr=0xb7c826c1 "\022\201|\001\022\201@\005(", rptr=0xb797c45c)
    at metadata.c:1675
#21 0x081e09ba in do_mono_metadata_parse_generic_class (type={genericinst,
0x0}, m=0x83be070, container=0x0, ptr=0xb7c826c1 "\022\201|\001\022\201@\005(", 
    rptr=0xb797c4a0) at metadata.c:2986
#22 0x081e0eba in do_mono_metadata_parse_type (type={genericinst, 0x0},
m=0x83be070, container=0x0, transient=0, ptr=
    0xb7c826c1 "\022\201|\001\022\201@\005(", rptr=0xb797c4c4) at
metadata.c:3198
#23 0x081e3f70 in mono_type_create_from_typespec (image=0x83be070,
type_spec=452984863) at metadata.c:5250
#24 0x082067c0 in mono_type_retrieve_from_typespec (image=0x83be070,
type_spec=452984863, context=0x0, did_inflate=0xb797c554, error=0xb797c58c)
    at class.c:5878
#25 0x082068d7 in mono_class_create_from_typespec (image=0x83be070,
type_spec=452984863, context=0x0, error=0xb797c58c) at class.c:5915
#26 0x0820816f in mono_class_get_full (image=0x83be070, type_token=452984863,
context=0x0) at class.c:6657
#27 0x081e20af in mono_metadata_interfaces_from_typedef_full (meta=0x83be070,
index=33554513, interfaces=0xb797c6ec, count=0xb797c6f0, heap_alloc_result=0, 
    context=0x0) at metadata.c:4013
#28 0x082052e6 in mono_class_create_from_typedef (image=0x83be070,
type_token=33554513) at class.c:5310
#29 0x0820812a in mono_class_get_full (image=0x83be070, type_token=33554513,
context=0x0) at class.c:6651
#30 0x0820840f in mono_class_get (image=0x83be070, type_token=33554513) at
class.c:6741
#31 0x081e0c5b in do_mono_metadata_parse_type (type={class, 0x0}, m=0x83be070,
container=0x0, transient=0, ptr=
    0xb7c830ac
"\005\n\001\022\201<\005\n\001\022\201h\005\n\001\022\201`\005\n\001\022\201p\005\n\001\022\201l\b\a\002\022\200\304\022\202p\a\025\022\005\001\021\202\251\n
\003\022\200\351\023", rptr=0xb797c944) at metadata.c:3151
#32 0x081de38e in mono_metadata_parse_type_internal (m=0x83be070,
container=0x0, mode=MONO_PARSE_TYPE, opt_attrs=0, transient=0, ptr=
    0xb7c830a9
"\022\201D\005\n\001\022\201<\005\n\001\022\201h\005\n\001\022\201`\005\n\001\022\201p\005\n\001\022\201l\b\a\002\022\200\304\022\202p\a\025\022\005\001\021\202\251\n
\003\022\200\351\023", rptr=0xb797c9bc) at metadata.c:1612
#33 0x081de4e3 in mono_metadata_parse_type_full (m=0x83be070, container=0x0,
mode=MONO_PARSE_TYPE, opt_attrs=0, ptr=
    0xb7c830a9
"\022\201D\005\n\001\022\201<\005\n\001\022\201h\005\n\001\022\201`\005\n\001\022\201p\005\n\001\022\201l\b\a\002\022\200\304\022\202p\a\025\022\005\001\021\202\251\n
\003\022\200\351\023", rptr=0xb797c9bc) at metadata.c:1665
#34 0x081e0923 in mono_metadata_parse_generic_inst (m=0x83be070, container=0x0,
count=1, ptr=
    0xb7c830a9
"\022\201D\005\n\001\022\201<\005\n\001\022\201h\005\n\001\022\201`\005\n\001\022\201p\005\n\001\022\201l\b\a\002\022\200\304\022\202p\a\025\022\005\001\021\202\251\n
\003\022\200\351\023", rptr=0xb797c9e4) at metadata.c:2959
#35 0x08219a48 in method_from_methodspec (image=0x83be070, context=0x0, idx=3)
at loader.c:1087
#36 0x0821a957 in mono_get_method_from_token (image=0x83be070, token=721420291,
klass=0x0, context=0x0, used_context=0xb797cb74) at loader.c:1580
#37 0x0821adf7 in mono_get_method_full (image=0x83be070, token=721420291,
klass=0x0, context=0x0) at loader.c:1703
---Type <return> to continue, or q <return> to quit---
#38 0x08175e9f in verifier_load_method (ctx=0xb797cccc, token=721420291,
opcode=0x82c56d1 "callvirt") at verify.c:939
#39 0x0817b263 in do_invoke_method (ctx=0xb797cccc, method_token=721420291,
virtual=1) at verify.c:2946
#40 0x081867ff in mono_method_verify
(method="System.ServiceModel.ChannelFactory:CreateFactory ()", level=48) at
verify.c:5120
#41 0x08189d93 in mono_method_verify_with_current_settings
(method="System.ServiceModel.ChannelFactory:CreateFactory ()",
skip_visibility=0)
    at verify.c:5809
#42 0x0805bb92 in mini_method_verify (cfg=0x849cb20,
method="System.ServiceModel.ChannelFactory:CreateFactory ()", fail_compile=1)
at mini.c:1374
#43 0x0805bdc5 in mono_compile_is_broken (cfg=0x849cb20,
method="System.ServiceModel.ChannelFactory:CreateFactory ()", fail_compile=1)
at mini.c:1429
#44 0x080619de in mini_method_compile
(method="System.ServiceModel.ChannelFactory:CreateFactory ()", opts=59861503,
domain=0x34e60, run_cctors=0, 
    compile_aot=0, parts=0) at mini.c:4159
#45 0x080e6a44 in compile_all_methods_thread_main (args=0xbfffedf4) at
driver.c:882
#46 0x081ed07a in start_wrapper (data=0x8417ad8) at threads.c:770
#47 0x08269444 in thread_start_routine (args=0x840a1fc) at wthreads.c:285
#48 0x08297d5e in GC_start_routine (arg=0x5dfc0) at pthread_support.c:1397
#49 0xb7f74b25 in start_thread () from /lib/libpthread.so.0
#50 0xb7ed646e in clone () from /lib/libc.so.6

-- 
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