Summary: | CommitLayerTree decode fails in 32-bit apps on 64-bit devices (TransformationMatrix alignment differs) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||
Component: | WebKit2 | Assignee: | Tim Horton <thorton> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, benjamin, mitz, sam, simon.fraser | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Tim Horton
2014-09-01 21:06:12 PDT
Various potential fixes: 1. Don't use a SimpleArgumentCoder here; manually encode/decode the 16 doubles. 2. Force the alignment of TransformationMatrix to be the same everywhere (we already force it to 16 byte alignment on some platforms). 3. Don't copy into the message buffer respecting alignment (it sounds like this is a nonstarter). Going to post a patch for #1, but we can discuss alternatives. Also going to check if AffineTransform is also affected. Created attachment 237475 [details]
patch
Comment on attachment 237475 [details]
patch
:(
|