[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:26:33 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 sebastien at ximian.com.

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

--- shadow/81254	2007-03-28 10:07:56.000000000 -0500
+++ shadow/81254.tmp.24801	2007-03-28 10:26:33.000000000 -0500
@@ -52,6 +52,14 @@
 
 ------- 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.
 
 
+
+------- Additional Comments From sebastien at ximian.com  2007-03-28 10:26 -------
+Ah, I just found it strange that it happened only on SPARC as other
+archs also have alignment requirements. Somehow I suspected their JIT
+to hide (well trap and deal with) the alignement issue.
+
+Please close if this is the correct behavior.
+Thanks!


More information about the mono-bugs mailing list