[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 24 09:07:15 EST 2009


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

http://bugzilla.novell.com/show_bug.cgi?id=553428#c6


--- Comment #6 from Sebastien Pouliot <spouliot at novell.com> 2009-11-24 14:07:11 UTC ---
Created an attachment (id=329213)
 --> (http://bugzilla.novell.com/attachment.cgi?id=329213)
assembly to reproduce crash in debug-helper.c

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f824b8b7710 (LWP 32569)]
mono_signature_get_desc (sig=0x0, include_namespace=1) at debug-helpers.c:208
208        for (i = 0; i < sig->param_count; ++i) {
(gdb) bt
#0  mono_signature_get_desc (sig=0x0, include_namespace=1) at
debug-helpers.c:208
#1  0x000000000041753e in mono_class_setup_vtable_general (class=0x849d00,
overrides=<value optimized out>, onum=0) at class.c:3169
#2  0x0000000000417ff7 in mono_class_setup_vtable (class=0x849d00) at
class.c:2847
#3  0x0000000000418a23 in mono_class_init (class=0x849d00) at class.c:4126
#4  0x000000000040ec18 in main (argc=<value optimized out>, argv=<value
optimized out>) at pedump.c:475


mono_signature_get_desc is used about 20 times in mono's runtime. It's not a
case where fixing callers will help much, but we can, like you suggested,
return something like "<invalid>" instead of NULL (or an empty string).

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