Bug 228194

Summary: The network process fails to take a locked file assertion when executing a SQLiteStatement outside a transaction
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, kkinnunen, sihui_liu, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ews-feeder: commit-queue-

Description Chris Dumez 2021-07-22 13:56:01 PDT
The network process fails to take a locked file assertion when executing a SQLiteStatement outside a transaction. This means we may suspend in the middle of that statement and crash due to holding locked files.
Comment 1 Chris Dumez 2021-07-22 14:02:07 PDT
Created attachment 434035 [details]
Patch
Comment 2 Geoffrey Garen 2021-07-22 14:13:51 PDT
Comment on attachment 434035 [details]
Patch

r=me
Comment 3 EWS 2021-07-22 17:09:39 PDT
Committed r280211 (239898@main): <https://commits.webkit.org/239898@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 434035 [details].
Comment 4 Radar WebKit Bug Importer 2021-07-22 17:10:31 PDT
<rdar://problem/80991735>