[Mono-bugs] [Bug 399184] New: socket unusable in silverlight profile
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 11 04:13:28 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=399184
Summary: socket unusable in silverlight profile
Product: Mono: Runtime
Version: SVN
Platform: x86-64
OS/Version: openSUSE 10.3
Status: NEW
Severity: Major
Priority: P5 - None
Component: io-layer
AssignedTo: dick at novell.com
ReportedBy: sdelcroix at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
in the SL profile, System.Net.Soclets.Socket is in the System.Net.dll assembly,
but the socket code in socket-io.c expect it in the system_assembly (System.dll
I guess)
socket-io.c:628
socket_class = mono_class_from_name (system_assembly, "System.Net.Sockets",
"Socket");
you should be able to reproduce this crash by compiling this one-line sample
with smcs
using System.Net;
public class Test
{
static void Main ()
{
DnsEndPoint endPoint = new DnsEndPoint("127.0.0.1", 4502);
}
}
here's the relevant trace snippet:
Thread 1 (Thread 0x2b554d885000 (LWP 7901)):
#0 0x00002b554d0c68fb in read () from /lib64/libpthread.so.0
#1 0x0000000000569b64 in mono_handle_native_sigsegv (signal=<value optimized
out>, ctx=<value optimized out>) at mini-exceptions.c:1182
#2 0x000000000044627d in mono_arch_handle_altstack_exception
(sigctx=0x2aaaaaadfc40, fault_addr=<value optimized out>, stack_ovf=0) at
exceptions-amd64.c:869
#3 <signal handler called>
#4 mono_class_setup_fields (class=0x0) at class.c:910
#5 0x000000000046be71 in mono_class_setup_fields_locking (class=0x0) at
class.c:1104
#6 0x000000000046c193 in mono_class_get_field_from_name (klass=0x0, name=0x0)
at class.c:5007
#7 0x00000000004ead96 in get_family_hint () at socket-io.c:629
#8 0x00000000004eb1b7 in ves_icall_System_Net_Dns_GetHostByAddr_internal
(addr=<value optimized out>, h_name=0x7fff5e6f5028, h_aliases=0x7fff5e6f5030,
h_addr_list=0x7fff5e6f5038) at socket-io.c:2824
--
Configure bugmail: https://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