Bug 134139

Summary: Database process crashes when multiple transactions attempt to run at once
Product: WebKit Reporter: Vicki Pfau <jeffrey+webkit>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, ddkilzer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ddkilzer: review+

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>