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

127 строки
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 558741] [verifier] SIGSEGV in mono_type_get_basic_type_from_generic 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%20558741%5D%20%5Bverifier%5D%20SIGSEGV%20in%0A%20mono_type_get_basic_type_from_generic%20on%20a%20bad%20assembly&In-Reply-To=bug-558741-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="095282.html">
<LINK REL="Next" HREF="095284.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 558741] [verifier] SIGSEGV in mono_type_get_basic_type_from_generic 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%20558741%5D%20%5Bverifier%5D%20SIGSEGV%20in%0A%20mono_type_get_basic_type_from_generic%20on%20a%20bad%20assembly&In-Reply-To=bug-558741-28286%40http.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 558741] [verifier] SIGSEGV in mono_type_get_basic_type_from_generic on a bad assembly">bugzilla_noreply at novell.com
</A><BR>
<I>Thu Nov 26 11:36:26 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="095282.html">[Mono-bugs] [Bug 558741] New: [verifier] SIGSEGV in mono_type_get_basic_type_from_generic on a bad assembly
</A></li>
<LI>Next message: <A HREF="095284.html">[Mono-bugs] [Bug 558741] [verifier] SIGSEGV in mono_type_get_basic_type_from_generic on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95283">[ date ]</a>
<a href="thread.html#95283">[ thread ]</a>
<a href="subject.html#95283">[ subject ]</a>
<a href="author.html#95283">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=558741">http://bugzilla.novell.com/show_bug.cgi?id=558741</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=558741#c1">http://bugzilla.novell.com/show_bug.cgi?id=558741#c1</A>
--- Comment #1 from Sebastien Pouliot &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">spouliot at novell.com</A>&gt; 2009-11-26 16:36:23 UTC ---
(gdb) up 1
#1 0x0000000000417eee in mono_class_layout_fields (class=0x8aaaa0) at
class.c:1445
1445 ftype = mono_type_get_basic_type_from_generic (ftype);
(gdb) p class-&gt;name
$1 = 0x7f2dce8954fa &quot;UriFormatException&quot;
(gdb) p field-&gt;type
$2 = (MonoType *) 0x8aac70
(gdb) p *field-&gt;type
$3 = {data = {klass = 0x8a88e8, type = 0x8a88e8, array = 0x8a88e8, method =
0x8a88e8, generic_param = 0x8a88e8, generic_class = 0x8a88e8}, attrs = 32854,
type = MONO_TYPE_VALUETYPE, num_mods = 0, byref = 0,
pinned = 0, modifiers = 0x8aac7c}
(gdb) p field-&gt;type-&gt;data.klass-&gt;name
$4 = 0x7f2dce8954f0 &quot;UriFormat&quot;
(gdb) p field-&gt;type-&gt;data.klass-&gt;element_class
$5 = (MonoClass *) 0x8a88e8
(gdb) p field-&gt;type-&gt;data.klass
$6 = (MonoClass *) 0x8a88e8
^
MonoType*
mono_class_enum_basetype (MonoClass *klass)
{
if (klass-&gt;element_class == klass)
/* SRE */
return NULL;
..
Looks like this should be spotted/reported in mono_class_setup_fields
--
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="095282.html">[Mono-bugs] [Bug 558741] New: [verifier] SIGSEGV in mono_type_get_basic_type_from_generic on a bad assembly
</A></li>
<LI>Next message: <A HREF="095284.html">[Mono-bugs] [Bug 558741] [verifier] SIGSEGV in mono_type_get_basic_type_from_generic on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95283">[ date ]</a>
<a href="thread.html#95283">[ thread ]</a>
<a href="subject.html#95283">[ subject ]</a>
<a href="author.html#95283">[ 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>