[Mono-bugs] [Bug 78990][Nor] Changed - DNS Class Fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 7 19:15:43 EDT 2006


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 david_garcia at logitech.com.

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

--- shadow/78990	2006-08-07 19:09:00.000000000 -0400
+++ shadow/78990.tmp.18231	2006-08-07 19:15:43.000000000 -0400
@@ -331,6 +331,46 @@
         {
                 Dns.GetHostEntry ("127.0.0.1");
                 Dns.GetHostEntry ("www.google.com");
         }
 }
 
+
+------- Additional Comments From david_garcia at logitech.com  2006-08-07 19:15 -------
+
+On Solaris (Sparc) , applications will crash when a class ,such as 
+the one below, is instantiated. There is a class within the runtime 
+called SectionInfo which has this design and will cause apps to crash 
+when DNS class is used
+
+   internal class blah
+    {
+	    bool allowLocation = true;
+		bool? requirePermission = true; // <--- the issue
+		
+        public blah()
+		{
+		}
+    }
+
+it creates the following error
+
+Unhandled Exception: System.NullReferenceException: Object reference 
+not set to an instance of an object
+  at dsnlu.blah..ctor () [0x00000]
+  at dsnlu.Program.Main (System.String[] args) [0x00000]
+dgarcia at plsrv01.logitech:dgarcia$
+
+
+The following code will not cause a crash
+
+   internal class blah
+    {
+	    bool? allowLocation = true; 
+		bool? requirePermission = true; 
+		
+        public blah()
+		{
+		}
+    }
+
+


More information about the mono-bugs mailing list