Skip to content

gh-157364: Fix use-after-free in TextIOWrapper during reentrant detach #209237

gh-157364: Fix use-after-free in TextIOWrapper during reentrant detach

gh-157364: Fix use-after-free in TextIOWrapper during reentrant detach #209237

Triggered via pull request September 13, 2026 07:59
Status Failure
Total duration 35m 9s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
10s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
5m 1s
Docs / Doctest
Docs  /  Check EPUB
2m 20s
Docs / Check EPUB
Check if Autoconf files are up to date
33s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 24s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
10s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 9s
Ubuntu (installed) / build, install and test
iOS
20m 9s
iOS
Emscripten  /  build and test
18m 47s
Emscripten / build and test
WASI  /  build and test
4m 59s
WASI / build and test
Hypothesis tests on Ubuntu
10m 52s
Hypothesis tests on Ubuntu
Cross build Linux
4m 33s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 15s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 7 warnings, and 2 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Cross build Linux: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"
Windows (free-threading) / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.6 KB
sha256:6a1db9dc01aaf8d694d18b30ca07c8475a85f2814d627320b736b6724e7dbcbe
html-ids-head.json.gz
126 KB
sha256:8e32f827a986d3071295cdff4686ebbdeae403e83751b4d6d739023120bd37c0