Bug 36135

Summary: GCController::garbageCollectNow() crashes when called from garbage collection
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: WebCore JavaScriptAssignee: Cameron Zwarich (cpst) <zwarich>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Propose patch ggaren: review+

Description Cameron Zwarich (cpst) 2010-03-15 13:42:08 PDT
GCController::garbageCollectNow() crashes when called from garbage collection, as the collector triggers CRASH() when it is called reentrantly. It would be better to silently fail than to crash.
Comment 1 Cameron Zwarich (cpst) 2010-03-15 13:42:28 PDT
<rdar://problem/7752552>
Comment 2 Cameron Zwarich (cpst) 2010-03-15 13:52:41 PDT
Created attachment 50733 [details]
Propose patch
Comment 3 Geoffrey Garen 2010-03-15 14:37:29 PDT
Comment on attachment 50733 [details]
Propose patch

r=me
Comment 4 Cameron Zwarich (cpst) 2010-03-15 14:57:08 PDT
Fixed in r56018.