[Mono-bugs] [Bug 76990][Wis] New - Using object from System.Net.NetworkInformation crashes Mono.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 13 19:23:50 EST 2005


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 sdoyle at myspace.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76990

--- shadow/76990	2005-12-13 19:23:50.000000000 -0500
+++ shadow/76990.tmp.9182	2005-12-13 19:23:50.000000000 -0500
@@ -0,0 +1,95 @@
+Bug#: 76990
+Product: Mono: Runtime
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Gentoo 2005.1
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Wishlist
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: sdoyle at myspace.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Using object from System.Net.NetworkInformation crashes Mono.
+
+Description of Problem:
+
+When an application is compiled under VS2005 and contains references to
+System.Net.NetworkInformation (specifically the PhysicalAddress class), the
+runtime crashes with SIGSEGV.  My assumption is that for some reason the
+loader is crashing rather than throwing C#'s equivalent of a ClassNotFound
+exception since this namespace doesn't appear to be present in Mono 1.1.
+
+Steps to reproduce the problem:
+
+Create a Visual Studio 2005 C# Console Application project and compile the
+following program:
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Net.NetworkInformation;
+
+namespace BugTest {
+    class Program {
+        static void Main(string[] args) {
+            PhysicalAddress p = PhysicalAddress.Parse("11-22-33-44-55-66");
+            Console.WriteLine(p);
+        }
+    }
+}
+
+Actual Results:
+shadow at zen ~/Desktop $ mono BugTest.exe
+
+=================================================================
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries
+used by your application.
+=================================================================
+
+Stacktrace:
+
+
+Native stacktrace:
+
+        mono(mono_handle_native_sigsegv+0xba) [0x812e8ed]
+        mono [0x811dc2a]
+        [0xffffe440]
+        mono(mono_compile_create_var+0x56) [0x8102959]
+        mono [0x811b591]
+        mono [0x811ca10]
+        mono [0x811d551]
+        mono [0x811d830]
+        mono [0x811d858]
+        mono [0x811dad5]
+        mono(mono_runtime_invoke+0x27) [0x808df8f]
+        mono(mono_runtime_exec_main+0x5c) [0x808ebf7]
+        mono(mono_runtime_run_main+0x195) [0x808e8c4]
+        mono [0x805cc67]
+        mono(mono_main+0x77d) [0x805d556]
+        mono [0x805c03f]
+        /lib/libc.so.6(__libc_start_main+0xda) [0xb7d5309a]
+        mono [0x805bf81]
+Aborted
+
+
+Expected Results:
+The specified MAC address should be written to the console.
+
+How often does this happen? 
+This is not an intermittent bug; it is fully reproducable with the above
+code compiled from a Windows machine.
+
+Additional Information:
+
+shadow at zen ~ $ mono --version
+Mono JIT compiler version 1.1.10, (C) 2002-2005 Novell, Inc and
+Contributors. www.mono-project.com
+        TLS:           __thread
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal


More information about the mono-bugs mailing list