Bug 18508

Summary: SquirrelFish crashes due to bad scope chain on some SunSpider tests
Product: WebKit Reporter: Maciej Stachowiak <mjs>
Component: JavaScriptCoreAssignee: Maciej Stachowiak <mjs>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
the fix oliver: review+

Maciej Stachowiak
Reported 2008-04-15 01:07:59 PDT
Some SunSpider tests (3d-raytrace, string-unpack-code) crash due to keeping around a ScopeChain* that points into the register file, but the register file can move in memory when it grows.
Attachments
the fix (26.86 KB, patch)
2008-04-15 01:46 PDT, Maciej Stachowiak
oliver: review+
Maciej Stachowiak
Comment 1 2008-04-15 01:09:44 PDT
A possible solution is to pass around ScopeChainNode* instead.
Maciej Stachowiak
Comment 2 2008-04-15 01:46:08 PDT
Created attachment 20548 [details] the fix
Oliver Hunt
Comment 3 2008-04-15 01:54:59 PDT
Comment on attachment 20548 [details] the fix r=me
Cameron Zwarich (cpst)
Comment 4 2008-04-24 17:52:43 PDT
Landed in r31897.
Note You need to log in before you can comment on or make changes to this bug.