[Mono-bugs] [Bug 560330] [verifier] abort in mono_metadata_token_from_dor on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 21 13:53:03 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=560330#c11


--- Comment #11 from Sebastien Pouliot <spouliot at novell.com> 2011-03-21 17:53:01 UTC ---
Created an attachment (id=420532)
 --> (http://bugzilla.novell.com/attachment.cgi?id=420532)
assembly causing the abort

this can still be reproduced using mono's master on opensuse 11.3 x86

Compilation of System.Xml.DTDReader:CompileDeclaration () failed with exception
'Error verifying System.Xml.DTDReader:CompileDeclaration (): Invalid branch
target: Invalid instruction target 123e':
* Assertion: should not be reached at metadata.c:3749


Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7989b70 (LWP 11194)]
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  0x082a57ba in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x831ae84 "* Assertion: should not be reached at %s:%d\n", args=
    0xb7988ed4 "\342\253\061\b\245\016") at goutput.c:134
#4  0x082a5839 in monoeg_assertion_message (format=0x831ae84 "* Assertion:
should not be reached at %s:%d\n") at goutput.c:154
#5  0x081fa12d in mono_metadata_token_from_dor (dor_index=3) at metadata.c:3749
#6  0x081f6040 in mono_metadata_parse_typedef_or_ref (m=0x83dc108,
ptr=0xb7c87038 "\b\006 \001\016\022\200\331\005\a\001\022\201\341\b",
rptr=0xb7988f94)
    at metadata.c:1215
#7  0x081f60a1 in mono_metadata_parse_custom_mod (m=0x83dc108, dest=0xb7988f4c,
ptr=
    0xb7c87036 "\037\003\b\006 \001\016\022\200\331\005\a\001\022\201\341\b",
rptr=0xb7988f94) at metadata.c:1237
#8  0x081f6747 in mono_metadata_parse_type_internal (m=0x83dc108,
container=0x0, mode=MONO_PARSE_LOCAL, opt_attrs=0, transient=1, ptr=
    0xb7c87036 "\037\003\b\006 \001\016\022\200\331\005\a\001\022\201\341\b",
rptr=0xb7988ff4) at metadata.c:1562
#9  0x081f9d33 in mono_metadata_parse_mh_full (m=0x83dc108, container=0x0,
ptr=0xb7c6c1b0 "\002{", <incomplete sequence \356>) at metadata.c:3521
#10 0x0823675e in mono_method_get_header
(method="System.Xml.NonBlockingStreamReader:ReadToEnd ()") at loader.c:2449
#11 0x080618f3 in mini_method_compile
(method="System.Xml.NonBlockingStreamReader:ReadToEnd ()", opts=59861503,
domain=0x34e58, run_cctors=0, compile_aot=
    0, parts=0) at mini.c:4172
#12 0x080ee4d8 in compile_all_methods_thread_main (args=0xbfffee04) at
driver.c:885
#13 0x08205372 in start_wrapper_internal (data=0x843b798) at threads.c:549
#14 0x08205418 in start_wrapper (data=0x843b798) at threads.c:597
#15 0x0828438c in thread_start_routine (args=0x842c764) at wthreads.c:285
#16 0x082b410b in GC_start_routine (arg=0x60fc0) at pthread_support.c:1468
#17 0xb7f74b25 in start_thread () from /lib/libpthread.so.0
#18 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