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

108 строки
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 553403] [verifier] abort in mono_get_delegate_invoke on 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%20553403%5D%20%5Bverifier%5D%20abort%20in%0A%20mono_get_delegate_invoke%20on%20bad%20assembly&In-Reply-To=bug-553403-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="094753.html">
<LINK REL="Next" HREF="094755.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 553403] [verifier] abort in mono_get_delegate_invoke on bad assembly</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20553403%5D%20%5Bverifier%5D%20abort%20in%0A%20mono_get_delegate_invoke%20on%20bad%20assembly&In-Reply-To=bug-553403-28286%40http.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 553403] [verifier] abort in mono_get_delegate_invoke on bad assembly">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Nov 24 16:25:49 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="094753.html">[Mono-bugs] [Bug 553403] New: [verifier] abort in :mono_get_delegate_invoke on bad assembly
</A></li>
<LI>Next message: <A HREF="094755.html">[Mono-bugs] [Bug 553412] New: [verifier] SIGSEGV in mono_image_load_module on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95190">[ date ]</a>
<a href="thread.html#95190">[ thread ]</a>
<a href="subject.html#95190">[ subject ]</a>
<a href="author.html#95190">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=553403">http://bugzilla.novell.com/show_bug.cgi?id=553403</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=553403#c1">http://bugzilla.novell.com/show_bug.cgi?id=553403#c1</A>
Sebastien Pouliot &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">spouliot at novell.com</A>&gt; changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[verifier] abort in |[verifier] abort in
|:mono_get_delegate_invoke |mono_get_delegate_invoke on
|on bad assembly |bad assembly
--- Comment #1 from Sebastien Pouliot &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">spouliot at novell.com</A>&gt; 2009-11-24 21:25:46 UTC ---
another identical case (not attached, with a stack trace)
** ERROR:(object.c:3144):mono_get_delegate_invoke: assertion failed: (im)
[New Thread 0x7ff5db996710 (LWP 20192)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ff5db996710 (LWP 20192)]
0x00007ff5da5035c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ff5da5035c5 in raise () from /lib64/libc.so.6
#1 0x00007ff5da504bb3 in abort () from /lib64/libc.so.6
#2 0x00007ff5db3312c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3 0x00007ff5db331762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4 0x000000000045fb55 in mono_get_delegate_invoke (klass=0x8dfae8) at
object.c:3144
#5 0x000000000049b865 in mono_method_verify (method=&lt;value optimized out&gt;,
level=&lt;value optimized out&gt;) at verify.c:2943
#6 0x000000000040daed in main (argc=8430352, argv=&lt;value optimized out&gt;) at
pedump.c:374
It looks like mono_get_delegate_invoke callers (about 15 of them) should check
for NULL (and, worse case scenario, assert). That would leave
verify_delegate_compatibility (inlined in the previous stack trace) able to
call ADD_VERIFY_ERROR and fail correctly.
--
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="094753.html">[Mono-bugs] [Bug 553403] New: [verifier] abort in :mono_get_delegate_invoke on bad assembly
</A></li>
<LI>Next message: <A HREF="094755.html">[Mono-bugs] [Bug 553412] New: [verifier] SIGSEGV in mono_image_load_module on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95190">[ date ]</a>
<a href="thread.html#95190">[ thread ]</a>
<a href="subject.html#95190">[ subject ]</a>
<a href="author.html#95190">[ 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>