Bug 111456 - [WK2] Crashes creating WebKit processes in WKSandboxExtensionConsume
Summary: [WK2] Crashes creating WebKit processes in WKSandboxExtensionConsume
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-03-05 11:02 PST by Alexey Proskuryakov
Modified: 2013-03-05 11:26 PST (History)
0 users

See Also:


Attachments
proposed fix (2.82 KB, patch)
2013-03-05 11:10 PST, Alexey Proskuryakov
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2013-03-05 11:02:48 PST
When extension creation fails, we are likely to crash in SandboxExtension::consumePermanently(). That's too late to diagnose, and also, other SandboxExtension functions handle this situation more gracefully.
Comment 1 Alexey Proskuryakov 2013-03-05 11:10:33 PST
Created attachment 191514 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2013-03-05 11:19:39 PST
Committed <http://trac.webkit.org/changeset/144788>.
Comment 3 Alexey Proskuryakov 2013-03-05 11:26:05 PST
<rdar://problem/13269245>