mail-archives/mono-bugs/2009-November/095168.html

100 строки
4.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20553428%5D%20%5Bverifier%5D%20SIGSEGV%20in%0A%20mono_metadata_signature_equal%20on%20a%20bad%20assembly&In-Reply-To=bug-553428-28286%40http.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="095167.html">
<LINK REL="Next" HREF="095201.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20553428%5D%20%5Bverifier%5D%20SIGSEGV%20in%0A%20mono_metadata_signature_equal%20on%20a%20bad%20assembly&In-Reply-To=bug-553428-28286%40http.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Nov 24 09:07:15 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="095167.html">[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly
</A></li>
<LI>Next message: <A HREF="095201.html">[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95168">[ date ]</a>
<a href="thread.html#95168">[ thread ]</a>
<a href="subject.html#95168">[ subject ]</a>
<a href="author.html#95168">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=553428">http://bugzilla.novell.com/show_bug.cgi?id=553428</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=553428#c6">http://bugzilla.novell.com/show_bug.cgi?id=553428#c6</A>
--- Comment #6 from Sebastien Pouliot &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">spouliot at novell.com</A>&gt; 2009-11-24 14:07:11 UTC ---
Created an attachment (id=329213)
--&gt; (<A HREF="http://bugzilla.novell.com/attachment.cgi?id=329213">http://bugzilla.novell.com/attachment.cgi?id=329213</A>)
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 &lt; sig-&gt;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=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, argv=&lt;value
optimized out&gt;) 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 &quot;&lt;invalid&gt;&quot; instead of NULL (or an empty string).
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="095167.html">[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly
</A></li>
<LI>Next message: <A HREF="095201.html">[Mono-bugs] [Bug 553428] [verifier] SIGSEGV in mono_metadata_signature_equal on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95168">[ date ]</a>
<a href="thread.html#95168">[ thread ]</a>
<a href="subject.html#95168">[ subject ]</a>
<a href="author.html#95168">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>