[Mono-bugs] [Bug 485446] Invalid values of struct properties shown if watching array or list of struct
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Sep 3 01:47:16 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=485446
User martin at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=485446#c3
--- Comment #3 from Martin Baulig <martin at novell.com> 2009-09-02 23:47:15 MDT ---
On x86_64:
=====
(mdb) p array
(ThreeIntStruct[]) [ { A = 0, B = 1, C = 2 }, { A = 4, B = 5, C = 6 }, { A = 8,
B = 9,
C = 10 }, { A = 12, B = 13, C = 14 }, { A = 0, B = 0, C = 0 } ]
(mdb) p &array[0]
(void *) 0x7fadf3cd2f80
(mdb) p &array[1]
(void *) 0x7fadf3cd2f90
(mdb) p &array[2]
(void *) 0x7fadf3cd2fa0
(mdb) x /a 0x7fadf3cd2f80
00007fadf3cd2f80: 0000000100000000
(mdb)
00007fadf3cd2f88: 0000000300000002
(mdb)
00007fadf3cd2f90: 0000000500000004
======
So we have an alignment problem here.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list