Summary: | REGRESSION(r167094): JSC crashes on ARM Traditional | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||
Component: | New Bugs | Assignee: | Martin Hodovan <mhodovan.u-szeged> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, mark.lam, msaboff, ossy, zherczeg | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 108645, 131205 | ||||||
Attachments: |
|
Description
Csaba Osztrogonác
2014-05-09 05:18:53 PDT
I managed to debug what happens here. The jump table contains invalid addresses and llint_program_prologue isn't called properly. The branch instruction jumps to 0x0041e0a2 instead of 0x0041e09c - the start of the function. 0x0041e0a2 isn't 4 bytes aligned, but the CPU starts executing this code from push {r11}, which breaks the stack and ldr tries to load from an invalid address. Created attachment 231150 [details]
Proposed patch
Comment on attachment 231150 [details]
Proposed patch
Nice catch. r=me
Comment on attachment 231150 [details] Proposed patch Clearing flags on attachment: 231150 Committed r168530: <http://trac.webkit.org/changeset/168530> All reviewed patches have been landed. Closing bug. |