Bug 193093 - IndexedDB: UniqueIDBDatabase should not be freed if the database task queue is not empty.
Summary: IndexedDB: UniqueIDBDatabase should not be freed if the database task queue i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sihui Liu
URL:
Keywords: InRadar
: 161414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-02 16:46 PST by Sihui Liu
Modified: 2021-08-11 15:22 PDT (History)
6 users (show)

See Also:


Attachments
Patch (3.34 KB, patch)
2019-01-02 16:58 PST, Sihui Liu
no flags Details | Formatted Diff | Diff
Patch for landing (3.36 KB, patch)
2019-01-16 14:48 PST, Sihui Liu
no flags Details | Formatted Diff | Diff
Patch for landing (3.33 KB, patch)
2019-01-16 15:13 PST, Sihui Liu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sihui Liu 2019-01-02 16:46:53 PST
We may kill the database task queue while there are tasks in it.
Comment 1 Sihui Liu 2019-01-02 16:58:23 PST
Created attachment 358224 [details]
Patch
Comment 2 Brady Eidson 2019-01-11 09:13:32 PST
Comment on attachment 358224 [details]
Patch

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

> Source/WebCore/ChangeLog:3
> +        IndexedDB: UniqueIDBDatabase should be freed after database task queue is empty

Since I misunderstood, I would reword:

UniqueIDBDatabase should not be freed if the database task queue is not empty.
Comment 3 Sihui Liu 2019-01-16 14:48:14 PST
Created attachment 359313 [details]
Patch for landing
Comment 4 WebKit Commit Bot 2019-01-16 14:49:40 PST
Comment on attachment 359313 [details]
Patch for landing

Rejecting attachment 359313 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 359313, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!.

Full output: https://webkit-queues.webkit.org/results/10776385
Comment 5 Sihui Liu 2019-01-16 15:13:54 PST
Created attachment 359319 [details]
Patch for landing
Comment 6 WebKit Commit Bot 2019-01-16 15:52:43 PST
Comment on attachment 359319 [details]
Patch for landing

Clearing flags on attachment: 359319

Committed r240090: <https://trac.webkit.org/changeset/240090>
Comment 7 WebKit Commit Bot 2019-01-16 15:52:44 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2019-01-16 15:53:30 PST
<rdar://problem/47333061>
Comment 9 Brent Fulgham 2021-08-11 15:22:17 PDT
*** Bug 161414 has been marked as a duplicate of this bug. ***