Skip to content

gh-112564: Fix UAF for gc debug print #217269

gh-112564: Fix UAF for gc debug print

gh-112564: Fix UAF for gc debug print #217269

Triggered via pull request October 30, 2026 22:05
Status Failure
Total duration 44m 54s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
15s
Change detection / Create context from changed files
Matrix: build-ios
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
7m 23s
Docs / Doctest
Docs  /  Check EPUB
2m 2s
Docs / Check EPUB
Check if Autoconf files are up to date
36s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 44s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
11s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
5m 56s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
19m 39s
Emscripten / build and test
WASI  /  build and test
4m 53s
WASI / build and test
Hypothesis tests on Ubuntu
6m 58s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
6m 51s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 50s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 25s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
5s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

31 errors, 4 warnings, and 14 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Lazy imports enabled / Run Tests with lazy_imports=all
Process completed with exit code 123.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Windows / Build and test (x64, tail-call)
Process completed with exit code 2.
test_garbage_at_shutdown (test.test_gc.GCTests.test_garbage_at_shutdown): Lib/test/test_gc.py#L765
AssertionError: Regex didn't match: b'gc: uncollectable <X 0x[0-9A-Fa-f]+>\r?\ngc: uncollectable <X 0x[0-9A-Fa-f]+>' not found in b"gc: uncollectable <X 00000159925A41A0>\r\ngc: uncollectable <X 0000015992560E10>\r\ngc:0: ResourceWarning: gc: 2 uncollectable objects at shutdown\r\n [<X 'first'>, <X 'second'>]\r\n"
Ubuntu / build and test (ubuntu-26.04)
Process completed with exit code 2.
macOS / build and test (macos-26)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-26.04-arm)
Process completed with exit code 2.
Sanitizers / MSan
Process completed with exit code 2.
Sanitizers / UBSan
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Process completed with exit code 2.
Sanitizers / ASan
Process completed with exit code 2.
macOS / build and test (macos-26-intel)
Process completed with exit code 2.
Windows / Build and test (arm64, switch-case)
Process completed with exit code 2.
test_gc: Lib/test/test_gc.py#L1
test_gc worker non-zero exit code
Windows / Build and test (x64, switch-case)
Process completed with exit code 2.
test_gc: Lib/test/test_gc.py#L1
test_gc worker non-zero exit code
Windows / Build and test (Win32, switch-case)
Process completed with exit code 2.
test_gc: Lib/test/test_gc.py#L1
test_gc worker non-zero exit code
All required checks pass
Process completed with exit code 1.
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!
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
Docs / Check for removed HTML IDs / Check for removed HTML IDs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (undefined)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (address)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (memory)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.49 KB
sha256:986dbb9153b8920f519d1d853b43cac11728f0a7e4052f9fce0f0f5c794f83df
MSan-logs-default
209 Bytes
sha256:6ef4be56a08f12a60882d6b6cddd532ab900b54eb3bde49133caa609ca965771
UBSan-logs-default
1.5 KB
sha256:73d8eb49956e84835ce2ba1789f0091e19a09b307aedbeb9e7c18656cbcf0239
html-ids-head.json.gz
131 KB
sha256:0efc47a83fb4602f5e510bd461f33fac032f0795cd881f5ef0392154178d6691