Bug 313140

Summary: run-api-tests fails under ASan
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: k_monsen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Alexey Proskuryakov
Reported 2026-04-23 09:38:31 PDT
When running API tests with ASan, I see them fail right away: $ run-api-tests --release Failed to list TestWTF tests Failed to collect tests The underlying issue is that the harness is crashing: ==46795==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x604000050480 at pc 0x000101c91dd8 bp 0x00016f256d90 sp 0x00016f256d88 READ of size 8 at 0x604000050480 thread T0 #0 0x000101c91dd4 in void testing::internal::ParseGoogleTestFlagsOnlyImpl<char>(int*, char**)+0x328 (ToBeListed:arm64e+0x1010e9dd4) #1 0x000101c91a1c in testing::internal::ParseGoogleTestFlagsOnly(int*, char**)+0x28 (ToBeListed:arm64e+0x1010e9a1c) #2 0x000101c923c4 in void testing::internal::InitGoogleTestImpl<char>(int*, char**)+0x170 (ToBeListed:arm64e+0x1010ea3c4) #3 0x000101c22e34 in TestWebKitAPI::TestsController::run(int, char**)+0x17c (ToBeListed:arm64e+0x10107ae34) #4 0x000101c2449c in specialized withUnsafeMutableCStyleArguments<A, B>(_:_:)+0x1ac (ToBeListed:arm64e+0x10107c49c) #5 0x000101c24278 in GoogleTestsController.run(with:)+0x70 (ToBeListed:arm64e+0x10107c278)
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-23 09:38:55 PDT
Alexey Proskuryakov
Comment 2 2026-04-23 09:44:58 PDT
EWS
Comment 3 2026-04-23 13:48:38 PDT
Committed 311891@main (68bd088218fb): <https://commits.webkit.org/311891@main> Reviewed commits have been landed. Closing PR #63434 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.