[Mono-bugs] [Bug 623653] New: [verifier] SIGSEGV in concat_two_strings_with_zero on a bad assembly
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jul 19 16:27:04 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=623653
http://bugzilla.novell.com/show_bug.cgi?id=623653#c0
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: rkumpera at novell.com
ReportedBy: spouliot at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=376957)
--> (http://bugzilla.novell.com/attachment.cgi?id=376957)
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 "System, Version=2.0.5.0, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e") at class.c:4374
#2 0x081fa3d1 in set_failure_from_loader_error (class="System.Net.IWebProxy",
error=0x85100a0) at class.c:4391
#3 0x081fafca in mono_class_init (class="System.Net.IWebProxy") at
class.c:4712
#4 0x0816f142 in mono_type_is_valid_in_context (ctx=0xb73ddcbc, type={class,
"System.Net.IWebProxy"}) at verify.c:784
#5 0x0817dc7a in mono_method_verify
(method="System.Net.WebRequest:set_DefaultWebProxy ()", level=48) at
verify.c:4558
#6 0x081833ed in mono_method_verify_with_current_settings
(method="System.Net.WebRequest:set_DefaultWebProxy ()", skip_visibility=0) at
verify.c:5672
#7 0x0805ba77 in mini_method_verify (cfg=0x84e95d0,
method="System.Net.WebRequest:set_DefaultWebProxy ()") at mini.c:1289
#8 0x0805bc92 in mono_compile_is_broken (cfg=0x84e95d0) at mini.c:1338
#9 0x0806169d in mini_method_compile
(method="System.Net.WebRequest:set_DefaultWebProxy ()", 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="System.Net.IWebProxy",
error=0x85100a0) at class.c:4391
warning: Source file is more recent than executable.
4391 exception_data = concat_two_strings_with_zero (class->image,
error->class_name, error->assembly_name);
(gdb) p error
$1 = (MonoLoaderError *) 0x85100a0
(gdb) p *error
$2 = {exception_type = 7 '\a', class_name = 0x0, assembly_name = 0x8525818
"System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
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: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list