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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 8 05:31:50 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 vargaz at gmail.com.

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

--- shadow/78990	2006-08-08 05:21:17.000000000 -0400
+++ shadow/78990.tmp.28608	2006-08-08 05:31:50.000000000 -0400
@@ -398,6 +398,34 @@
 ------- Additional Comments From vargaz at gmail.com  2006-08-08 05:21 -------
 This is an object layout problem, which exists on x86 as well, but
 that arch allows unaligned writes. 
 The Nullable<bool> field which has size 2, is at position '17' inside
 its parent object (on amd64).
 
+
+------- Additional Comments From vargaz at gmail.com  2006-08-08 05:31 -------
+A simple testcase:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+struct Foo {
+        bool b1;
+        bool b2;
+}
+
+   public class blah
+    {
+            bool allowLocation = true;
+//              bool? requirePermission = true; // <--- the issue
+        Foo f = new Foo ();
+
+        public blah()
+                {
+                }
+
+        public static void Main () {
+                new blah ();
+        }
+    }
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+
+This will crash on solaris.
+
+


More information about the mono-bugs mailing list