[Mono-bugs] [Bug 80580][Nor] Changed - LayoutKind.Sequential attribute on a class breaks runtime

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 23 13:48:02 EST 2007

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 lupus at ximian.com.


--- shadow/80580	2007-01-22 12:03:08.000000000 -0500
+++ shadow/80580.tmp.32673	2007-01-23 13:48:02.000000000 -0500
@@ -1,15 +1,15 @@
 Bug#: 80580
 Product: Mono: Runtime
 Version: 1.2
 OS: GNU/Linux [Other]
 OS Details: Gentoo 2.6.19
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
-Priority: Major
+Priority: Normal
 Component: interop
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: ximian.bugzilla at analogcoast.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -109,6 +109,14 @@
 Created an attachment (id=18536)
 Source code to reproduce bug
 ------- Additional Comments From ximian.bugzilla at analogcoast.com  2007-01-22 12:03 -------
 Made summary better describe the problem.
+------- Additional Comments From lupus at ximian.com  2007-01-23 13:48 -------
+It is actually the Pack=1 property you set that broke the code.
+All the uses of Pack=1 to misalign a non-byte type are broken and your
+code is not portable and it will crash on some architectures.
+Usually people cut&paste it from broken examples or they don't
+understand what Pack=1 means, so if you don't really need it, remove
+it. The code will now run with mono from svn on x86-like archs.

More information about the mono-bugs mailing list