[Mono-bugs] [Bug 548346] [SIM] objc_msgSend_stret which returns a struct containing a double does a ret $0x4 leaving the stack misaigned

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 19 21:10:04 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=548346

http://bugzilla.novell.com/show_bug.cgi?id=548346#c9


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Geoff Norton <gnorton at novell.com> 2010-02-20 02:10:03 UTC ---
Turns out this is all fixed, the misalignment happens in objc_msgSend_stret so
our previous patch is sufficient, the original case of:

System.Console.WriteLine("Latitude: "+new
MonoTouch.CoreLocation.CLLocation().Coordinate.Latitude.ToString());

still fails, exactly like:

[[[CLLocation alloc] init] coordinate]

fails, because it pokes at internal structures in CLLocation that new doesn't
initialize.

Closing.

-- 
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