Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7c6ba4f49874c598fc04e5a09c1926b7cdb0009d
https://github.com/WebKit/WebKit/commit/7c6ba4f49874c598fc04e5a09c1926b7cdb0009d
Author: Marcus Plutowski <[email protected]>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M Source/bmalloc/libpas/src/test/TestHarness.cpp
Log Message:
-----------
[libpas] Fix TestHarness.cpp fd handling for child processes
https://bugs.webkit.org/show_bug.cgi?id=311668
rdar://174260027
Reviewed by Keith Miller.
Normally, success should be reported through the local pipefd in
startForkedTest. However, there’s some old code which uses a global
resultPipe instead, which is 0-initialized, thus passing through to
stdin and thus apparently the terminal.
E.g.:
```
Running
(1115):<...>/OpenSource/Source/bmalloc/libpas/src/test/ThingyAndUtilityHeapAllocationTests.cpp:2503/ThingyAndUtilityHeapAllocation/force-exclusives/force-tlas/epoch-is-counter/small-and-medium/disable-bitfit/testSmallDoubleFree()...
Failed deallocation: Alloc bit not set in
pas_segregated_page_deallocate_with_page: 0x10f000130
S FAIL: unexpected exit with code 0
```
This patch fixes that by consolidating the two fds.
Canonical link: https://commits.webkit.org/310745@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications