Bug 134139 - Database process crashes when multiple transactions attempt to run at once
Summary: Database process crashes when multiple transactions attempt to run at once
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-06-20 15:48 PDT by Vicki Pfau
Modified: 2014-06-24 02:39 PDT (History)
2 users (show)

See Also:


Attachments
Patch (6.88 KB, patch)
2014-06-20 16:28 PDT, Vicki Pfau
ddkilzer: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vicki Pfau 2014-06-20 15:48:12 PDT
When multiple IDB transactions attempt to run at once, the database process can crash due to it expecting database processes to be serialized.

<rdar://problem/16123702>
Comment 1 Vicki Pfau 2014-06-20 16:28:19 PDT
Created attachment 233482 [details]
Patch
Comment 2 David Kilzer (:ddkilzer) 2014-06-23 11:03:13 PDT
Comment on attachment 233482 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=233482&action=review

r=me

> LayoutTests/storage/indexeddb/transaction-overlapping-expected.txt:1
> +Check that read-only transactions within a database can run in parallel.

See comment below.

> LayoutTests/storage/indexeddb/transaction-overlapping.html:9
> +description("Check that read-only transactions within a database can run in parallel.");

This description for the test is inaccurate.  It should be something like:

description("Check that overlapping, read-only transactions within a database don't crash and run serially.");
Comment 3 Vicki Pfau 2014-06-23 15:39:15 PDT
Committed r170327: <http://trac.webkit.org/changeset/170327>