mail-archives/mono-bugs/2010-July/102342.html

167 строки
6.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 623653] New: [verifier] SIGSEGV in concat_two_strings_with_zero 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%20623653%5D%20New%3A%20%5Bverifier%5D%20SIGSEGV%20in%0A%20concat_two_strings_with_zero%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="102338.html">
<LINK REL="Next" HREF="102343.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 623653] New: [verifier] SIGSEGV in concat_two_strings_with_zero 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%20623653%5D%20New%3A%20%5Bverifier%5D%20SIGSEGV%20in%0A%20concat_two_strings_with_zero%20on%20a%20bad%20assembly&In-Reply-To="
TITLE="[Mono-bugs] [Bug 623653] New: [verifier] SIGSEGV in concat_two_strings_with_zero on a bad assembly">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Jul 19 16:27:04 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="102338.html">[Mono-bugs] [Bug 597072] abort in create_jit_info while JITting a verified method
</A></li>
<LI>Next message: <A HREF="102343.html">[Mono-bugs] [Bug 623653] [verifier] SIGSEGV in concat_two_strings_with_zero on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#102342">[ date ]</a>
<a href="thread.html#102342">[ thread ]</a>
<a href="subject.html#102342">[ subject ]</a>
<a href="author.html#102342">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=623653">http://bugzilla.novell.com/show_bug.cgi?id=623653</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=623653#c0">http://bugzilla.novell.com/show_bug.cgi?id=623653#c0</A>
Summary: [verifier] SIGSEGV in concat_two_strings_with_zero on
a bad assembly
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: x86
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: verifier
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: ---
Blocker: ---
Created an attachment (id=376957)
--&gt; (<A HREF="http://bugzilla.novell.com/attachment.cgi?id=376957">http://bugzilla.novell.com/attachment.cgi?id=376957</A>)
assembly causing the crash
gdb --args mono --security=core-clr --compile-all bin/System.sigabrt.65023.dll
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb73deb70 (LWP 14324)]
0xb7e784a3 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0xb7e784a3 in strlen () from /lib/libc.so.6
#1 0x081fa2ee in concat_two_strings_with_zero (image=0x83b9cc8, s1=0x0, s2=
0x8525818 &quot;System, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e&quot;) at class.c:4374
#2 0x081fa3d1 in set_failure_from_loader_error (class=&quot;System.Net.IWebProxy&quot;,
error=0x85100a0) at class.c:4391
#3 0x081fafca in mono_class_init (class=&quot;System.Net.IWebProxy&quot;) at
class.c:4712
#4 0x0816f142 in mono_type_is_valid_in_context (ctx=0xb73ddcbc, type={class,
&quot;System.Net.IWebProxy&quot;}) at verify.c:784
#5 0x0817dc7a in mono_method_verify
(method=&quot;System.Net.WebRequest:set_DefaultWebProxy ()&quot;, level=48) at
verify.c:4558
#6 0x081833ed in mono_method_verify_with_current_settings
(method=&quot;System.Net.WebRequest:set_DefaultWebProxy ()&quot;, skip_visibility=0) at
verify.c:5672
#7 0x0805ba77 in mini_method_verify (cfg=0x84e95d0,
method=&quot;System.Net.WebRequest:set_DefaultWebProxy ()&quot;) at mini.c:1289
#8 0x0805bc92 in mono_compile_is_broken (cfg=0x84e95d0) at mini.c:1338
#9 0x0806169d in mini_method_compile
(method=&quot;System.Net.WebRequest:set_DefaultWebProxy ()&quot;, opts=59861503,
domain=0x34e70, run_cctors=0, compile_aot=0,
parts=0) at mini.c:4015
#10 0x080e22a0 in compile_all_methods_thread_main (args=0xbfffee44) at
driver.c:878
#11 0x081e3fa2 in start_wrapper (data=0x8421aa0) at threads.c:747
#12 0x0826029f in thread_start_routine (args=0x840a7b4) at wthreads.c:285
#13 0x0828a401 in GC_start_routine (arg=0x5efc0) at pthread_support.c:1390
#14 0xb7f73b25 in start_thread () from /lib/libpthread.so.0
#15 0xb7ed546e in clone () from /lib/libc.so.6
(gdb) up 2
#2 0x081fa3d1 in set_failure_from_loader_error (class=&quot;System.Net.IWebProxy&quot;,
error=0x85100a0) at class.c:4391
warning: Source file is more recent than executable.
4391 exception_data = concat_two_strings_with_zero (class-&gt;image,
error-&gt;class_name, error-&gt;assembly_name);
(gdb) p error
$1 = (MonoLoaderError *) 0x85100a0
(gdb) p *error
$2 = {exception_type = 7 '\a', class_name = 0x0, assembly_name = 0x8525818
&quot;System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e&quot;,
klass = 0x0, member_name = 0x0, ref_only = 0, msg = 0x0}
no class name is provided, so strlen is called on a NULL value and crash
--
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="102338.html">[Mono-bugs] [Bug 597072] abort in create_jit_info while JITting a verified method
</A></li>
<LI>Next message: <A HREF="102343.html">[Mono-bugs] [Bug 623653] [verifier] SIGSEGV in concat_two_strings_with_zero on a bad assembly
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#102342">[ date ]</a>
<a href="thread.html#102342">[ thread ]</a>
<a href="subject.html#102342">[ subject ]</a>
<a href="author.html#102342">[ 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>