Summary: | Regression(r279601) ProcessAssertion may get destroyed on a background thread | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||
Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, darin, ggaren, kkinnunen, sam, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=228281 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 225324 | ||||||||||
Attachments: |
|
Description
Chris Dumez
2021-07-12 08:54:45 PDT
Created attachment 433323 [details]
Patch
Created attachment 433325 [details]
Patch
Comment on attachment 433325 [details]
Patch
r=me
Committed r279835 (239595@main): <https://commits.webkit.org/239595@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433325 [details]. Reverted r279835 for reason: Newly added assertions are wrong Committed r279840 (239599@main): <https://commits.webkit.org/239599@main> Comment on attachment 433325 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=433325&action=review > Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm:324 > + ASSERT(isMainRunLoop()); WebSQLiteDatabaseTracker takes and releases assertions on a non-main thread (with a lock) so those assertions hit in debug. I am reworking the patch. Created attachment 433338 [details]
Patch
Comment on attachment 433338 [details]
Patch
Requesting review again because the patch has changed substantially.
Comment on attachment 433338 [details]
Patch
r=me
Committed r279877 (239630@main): <https://commits.webkit.org/239630@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433338 [details]. This was actually rdar://problem/80344055 |