[Webkit-unassigned] [Bug 48742] Misaligned memory access in CloneDeserializer on ARM (v7)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 2 12:59:40 PDT 2010


--- Comment #4 from Gabor Loki <loki at webkit.org>  2010-11-02 12:59:40 PST ---
> Apparently ARMv7 shouldn't be able to do multi-word unaligned reads. If it does, your kernel probably does the fixups and restores the control. This is probably as slow as it sounds (kernel trap) and should be fixed in userland code. 

That is true. I have just checked the disassembled code, and see a LDRD instruction which tries to access an odd address. This is definitely an alignment fault on every ARM arch.
Well, I will design a better construct (probably a template) to handle this situation also.

Btw, I think that using kernel trap to fix unaligned data access is better than a crash. ;)

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list