Bug 248595 - Assertions in database and ITP code cause crashes when running tests in debug builds
Summary: Assertions in database and ITP code cause crashes when running tests in debug...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-01 04:34 PST by Darin Adler
Modified: 2022-12-01 07:50 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2022-12-01 04:34:22 PST
I’ve had lots of trouble running tests lately, with the network process crashing.

This turns out to be because the database code asserts when it runs into errors accessing databases on disk. I don’t think this is a good design pattern, but also it’s a huge practical problem when just trying to run tests. I suggest we just remove those assertions.
Comment 1 Radar WebKit Bug Importer 2022-12-01 04:35:07 PST
<rdar://problem/102855630>
Comment 2 Darin Adler 2022-12-01 04:40:39 PST
Pull request: https://github.com/WebKit/WebKit/pull/7018
Comment 3 EWS 2022-12-01 07:50:43 PST
Committed 257237@main (28b0771a66f1): <https://commits.webkit.org/257237@main>

Reviewed commits have been landed. Closing PR #7018 and removing active labels.