[Mono-bugs] [Bug 81254][Wis] Changed - [SPARC] Throws NRE on unaligned members in structures (e.g. Pack=2)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 28 11:07:56 EDT 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 vargaz at gmail.com.


--- shadow/81254	2007-03-28 09:55:24.000000000 -0500
+++ shadow/81254.tmp.24172	2007-03-28 10:07:56.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: 1.2
 OS: All
 OS Details: Solaris and Linux
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: JIT
 AssignedTo: lupus at ximian.com                            
 ReportedBy: sebastien at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -46,6 +46,12 @@
 How often does this happen? 
 Additional Information:
 - I can work around this, either permanently or temporarily, in C#;
+------- Additional Comments From vargaz at gmail.com  2007-03-28 10:07 -------
+This is the correct behavior, since you are telling the runtime to
+align the int32 field at an unaligned location. So this is not a bug.

More information about the mono-bugs mailing list