Bug 160188 - Database Process: ASSERTION FAILED: paths.size() == handles.size() with SANDBOX_EXTENSIONS disabled
Summary: Database Process: ASSERTION FAILED: paths.size() == handles.size() with SANDB...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: LayoutTestFailure
Depends on:
Reported: 2016-07-25 23:49 PDT by Carlos Garcia Campos
Modified: 2016-08-01 01:05 PDT (History)
3 users (show)

See Also:

Patch (5.48 KB, patch)
2016-07-25 23:54 PDT, Carlos Garcia Campos
svillar: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2016-07-25 23:49:13 PDT
This happens in ports with sandbox extensions disabled, and it's making several tests to crash in debug builds. The SandboxExtension implementation is empty in case of building with sandbox extensions disabled, so that we are actually allocating no extensions at all in NetworkProcessProxy::grantSandboxExtensionsToDatabaseProcessForBlobs(). When the message arrives to database process, we have a list of paths, but an empty list of hanldes which causes the assertion. We can just avoid that message entirely in case of building without sandbox extensions.
Comment 1 Carlos Garcia Campos 2016-07-25 23:54:02 PDT
Created attachment 284567 [details]
Comment 2 Brady Eidson 2016-07-28 06:19:52 PDT
Yup looks good.
Comment 3 Carlos Garcia Campos 2016-07-28 22:17:27 PDT
Committed r203856: <http://trac.webkit.org/changeset/203856>