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

129 строки
5.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 552282] New: [verifier] SIGSEGV in mono_field_get_name 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%20552282%5D%20New%3A%20%5Bverifier%5D%20SIGSEGV%20in%0A%20mono_field_get_name%20on%20a%20bad%20assembly&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="094590.html">
<LINK REL="Next" HREF="094680.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 552282] New: [verifier] SIGSEGV in mono_field_get_name 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%20552282%5D%20New%3A%20%5Bverifier%5D%20SIGSEGV%20in%0A%20mono_field_get_name%20on%20a%20bad%20assembly&In-Reply-To="
TITLE="[Mono-bugs] [Bug 552282] New: [verifier] SIGSEGV in mono_field_get_name on a bad assembly">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Nov 3 15:58:46 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="094590.html">[Mono-bugs] [Bug 551513] System.BadImageFormatException when compiled with mono but not MS Visual Studio
</A></li>
<LI>Next message: <A HREF="094680.html">[Mono-bugs] [Bug 552282] [verifier] SIGSEGV in mono_field_get_name on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94591">[ date ]</a>
<a href="thread.html#94591">[ thread ]</a>
<a href="subject.html#94591">[ subject ]</a>
<a href="author.html#94591">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=552282">http://bugzilla.novell.com/show_bug.cgi?id=552282</A>
Summary: [verifier] SIGSEGV in mono_field_get_name on a bad
assembly
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">rkumpera at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">spouliot at novell.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Created an attachment (id=325385)
--&gt; (<A HREF="http://bugzilla.novell.com/attachment.cgi?id=325385">http://bugzilla.novell.com/attachment.cgi?id=325385</A>)
assembly to reproduce crash
do a &quot;pe --verify all&quot; on the attached binary under gdb and you'll get
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa627e0e710 (LWP 17775)]
mono_field_get_name (field=0x0) at class.c:7146
7146 {
(gdb) bt
#0 mono_field_get_name (field=0x0) at class.c:7146
#1 0x000000000041c51a in mono_class_get_field_from_name_full (klass=0x87a330,
name=0x7fa627d7c917 &quot;_version&quot;, type=0x5143f0) at class.c:5370
#2 0x000000000042f1d5 in mono_field_from_token (image=0x857880, token=&lt;value
optimized out&gt;, retklass=0x7fff2fe2f7d8, context=0x878338) at loader.c:491
#3 0x000000000049462f in verifier_load_field (ctx=0x7fff2fe2f960,
token=167772278, out_klass=0x7fff2fe2f820, opcode=0x522358 &quot;ldfld&quot;) at
verify.c:815
#4 0x00000000004946ce in check_is_valid_type_for_field_ops (ctx=0x0, token=0,
obj=0x879fd8, ret_field=0x7fff2fe2f860, opcode=0x7c98e8 &quot;&quot;) at verify.c:3516
#5 0x0000000000494b81 in do_push_field (ctx=0x7fff2fe2f960, token=167772278,
take_addr=0) at verify.c:3569
#6 0x000000000049a35f in mono_method_verify (method=&lt;value optimized out&gt;,
level=&lt;value optimized out&gt;) at verify.c:5458
#7 0x000000000040d9ed in main (argc=0, argv=&lt;value optimized out&gt;) at
pedump.c:374
(gdb)
--
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="094590.html">[Mono-bugs] [Bug 551513] System.BadImageFormatException when compiled with mono but not MS Visual Studio
</A></li>
<LI>Next message: <A HREF="094680.html">[Mono-bugs] [Bug 552282] [verifier] SIGSEGV in mono_field_get_name on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94591">[ date ]</a>
<a href="thread.html#94591">[ thread ]</a>
<a href="subject.html#94591">[ subject ]</a>
<a href="author.html#94591">[ 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>