mail-archives/mono-bugs/2002-February/000035.html

123 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 21147] New - Reflection
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="000034.html">
<LINK REL="Next" HREF="000036.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 21147] New - Reflection
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 21147] New - Reflection">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>27 Feb 2002 21:11:13 -0000</I>
<P><UL>
<LI> Previous message: <A HREF="000034.html">[Mono-bugs] [Bug 21145] New - Type lookup problem in delegate declaration
</A></li>
<LI> Next message: <A HREF="000036.html">[Mono-bugs] [Bug 21042] Changed - Missing parameter names in PInvoke methods.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#35">[ date ]</a>
<a href="thread.html#35">[ thread ]</a>
<a href="subject.html#35">[ subject ]</a>
<a href="author.html#35">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="mailto:igor@pobox.com.">igor@pobox.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=21147">http://bugzilla.ximian.com/show_bug.cgi?id=21147</A>
--- shadow/21147 Wed Feb 27 16:11:12 2002
+++ shadow/21147.tmp.21011 Wed Feb 27 16:11:12 2002
@@ -0,0 +1,58 @@
+Bug#: 21147
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 7.2
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:igor@pobox.com">igor@pobox.com</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Reflection
+
+Description of Problem:
+(new AssemblyBuilder()).Save(&quot;bar.exe&quot;) segfaults
+
+Steps to reproduce the problem:
+using System.Reflection.Emit;
+
+public class ReflectionTest {
+ public static int Main() {
+ (new AssemblyBuilder()).Save(&quot;bar.exe&quot;);
+ return 0;
+ }
+}
+
+Actual Results:
+No segfault
+
+Expected Results:
+Segfaults
+
+Additional Information:
+Program received signal SIGSEGV, Segmentation fault.
+0x8084d19 in mono_image_build_metadata (assemblyb=0x80e9890) at
+reflection.c:1434
+1434
+ assembly-&gt;text_rva = START_TEXT_RVA;
+(gdb) bt
+#0 0x8084d19 in mono_image_build_metadata (assemblyb=0x80e9890) at
+reflection.c:1434
+#1 0x80853de in mono_image_get_header (assemblyb=0x80e9890,
+buffer=0x80ee378 &quot;&quot;, maxsize=65536)
+ at reflection.c:1614
+#2 0x808ca7e in ves_icall_get_data_chunk (assb=0x80e9890, type=0,
+buf=0x80ee368) at icall.c:229
+#3 0x80edf75 in ?? () at eval.c:41
+#4 0x80eb154 in ?? () at eval.c:41
+#5 0x807c9ba in jit_exec_main (method=0x80e18d0, args=0x0) at jit.c:3148
+#6 0x807cac0 in mono_jit_exec (domain=0x80b6270, assembly=0x80e18c0,
+argc=0, argv=0xbffff51c) at jit.c:3184
+#7 0x807d7d7 in main (argc=2, argv=0xbffff514) at jit.c:3445
+#8 0x401165d7 in __libc_start_main () from /lib/libc.so.6
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="000034.html">[Mono-bugs] [Bug 21145] New - Type lookup problem in delegate declaration
</A></li>
<LI> Next message: <A HREF="000036.html">[Mono-bugs] [Bug 21042] Changed - Missing parameter names in PInvoke methods.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#35">[ date ]</a>
<a href="thread.html#35">[ thread ]</a>
<a href="subject.html#35">[ subject ]</a>
<a href="author.html#35">[ author ]</a>
</LI>
</UL>
</body></html>