Bug 36135 - GCController::garbageCollectNow() crashes when called from garbage collection
Summary: GCController::garbageCollectNow() crashes when called from garbage collection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Cameron Zwarich (cpst)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-03-15 13:42 PDT by Cameron Zwarich (cpst)
Modified: 2010-03-15 14:57 PDT (History)
0 users

See Also:


Attachments
Propose patch (1.25 KB, patch)
2010-03-15 13:52 PDT, Cameron Zwarich (cpst)
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.