Summary: | Crash in RegisterID::deref() running fast/canvas/canvas-putImageData.html | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
Component: | JavaScriptCore | Assignee: | Geoffrey Garen <ggaren> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ggaren, oliver, zwarich | ||||
Priority: | P1 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Alexey Proskuryakov
2008-09-24 06:48:02 PDT
This is likely caused by r36821, since that is where the only RefPtr<RegisterID> instance variable for CodeGenerator was defined: http://trac.webkit.org/changeset/36821 Ah, looks like the RefPtr destructor runs after the SegmentedVector destructor. Should be easy to fix. Created attachment 23750 [details]
patch
I haven't been able to verify this patch with the original test case, because DRT with GuardMalloc crashes in LaunchServices on my machine. However, I did verify that this patch fixes the destructor order. Comment on attachment 23750 [details]
patch
r=me
Committed revision 36853. |