[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
Fri Jan 14 08:04:00 EST 2011


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

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


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
           Platform|Other                       |x86
            Version|2.6.x                       |SVN
         Resolution|FIXED                       |
         OS/Version|Other                       |openSUSE 11.3

--- Comment #8 from Sebastien Pouliot <spouliot at novell.com> 2011-01-14 13:03:57 UTC ---
I can still hit this condition with master

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


Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb798db70 (LWP 16158)]
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  0x082963fa in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x830a864 "* Assertion: should not be reached at %s:%d\n", args=
    0xb798ced4 "¥0\b\233\016") at goutput.c:134
#4  0x08296479 in monoeg_assertion_message (format=0x830a864 "* Assertion:
should not be reached at %s:%d\n") at goutput.c:154
#5  0x081ee955 in mono_metadata_token_from_dor (dor_index=3) at metadata.c:3739
#6  0x081ea959 in mono_metadata_parse_typedef_or_ref (m=0x83cc0a0,
ptr=0xb7c87038 "\b\006 \001\016\022\200\331\005\a\001\022\201\341\b",
rptr=0xb798cf94)
    at metadata.c:1218
#7  0x081ea9ba in mono_metadata_parse_custom_mod (m=0x83cc0a0, dest=0xb798cf4c,
ptr=
    0xb7c87036 "\037\003\b\006 \001\016\022\200\331\005\a\001\022\201\341\b",
rptr=0xb798cf94) at metadata.c:1240
#8  0x081eb060 in mono_metadata_parse_type_internal (m=0x83cc0a0,
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=0xb798cff4) at metadata.c:1565
#9  0x081ee55b in mono_metadata_parse_mh_full (m=0x83cc0a0, container=0x0,
ptr=0xb7c6c1b0 "\002{", <incomplete sequence \356>) at metadata.c:3511
#10 0x08229596 in mono_method_get_header
(method="System.Xml.NonBlockingStreamReader:ReadToEnd ()") at loader.c:2436
#11 0x080615f7 in mini_method_compile
(method="System.Xml.NonBlockingStreamReader:ReadToEnd ()", opts=59861503,
domain=0x34e60, run_cctors=0, compile_aot=
    0, parts=0) at mini.c:4156
#12 0x080eba30 in compile_all_methods_thread_main (args=0xbfffee04) at
driver.c:885
#13 0x081f9f38 in start_wrapper_internal (data=0x842b028) at threads.c:774
#14 0x081f9fd6 in start_wrapper (data=0x842b028) at threads.c:822
#15 0x08276434 in thread_start_routine (args=0x8418084) at wthreads.c:285
#16 0x082a4d57 in GC_start_routine (arg=0x5dfc0) 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