Skip to content

[3.13] gh-151912: Fix segfault in type() with NULL tp_new metaclasses (GH-151916) #201398

[3.13] gh-151912: Fix segfault in type() with NULL tp_new metaclasses (GH-151916)

[3.13] gh-151912: Fix segfault in type() with NULL tp_new metaclasses (GH-151916) #201398

Triggered via pull request July 14, 2026 16:19
Status Success
Total duration 23m 59s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Docs  /  Docs
2m 2s
Docs / Docs
Docs  /  Doctest
6m 25s
Docs / Doctest
Docs  /  Check EPUB
2m 4s
Docs / Check EPUB
Check if Autoconf files are up to date
39s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 45s
Check if generated files are up to date
WASI  /  build and test
7m 56s
WASI / build and test
Hypothesis tests on Ubuntu
7m 20s
Hypothesis tests on Ubuntu
Check if the ABI has changed
1m 58s
Check if the ABI has changed
Matrix: build-android
All required checks pass
6s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 16 warnings
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Check if the ABI has changed
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
Windows (free-threading) / build (arm64): Modules/unicodedata.c#L1568
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / build (arm64): Modules/unicodedata.c#L1568
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
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.
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Modules/_decimal/libmpdec/io.c#L349
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Address sanitizer (ubuntu-24.04): Python/import.c#L1197
‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
Address sanitizer (ubuntu-24.04): Include/internal/pycore_dict.h#L302
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
Windows / build and test (x64): Modules/unicodedata.c#L1568
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / build and test (x64): Modules/unicodedata.c#L1568
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]

Artifacts

Produced during runtime
Name Size Digest
TSan-logs-free-threading
1.61 KB
sha256:c8e64a6fd5fdeffff4c7e33c996b41c64643e6090d1c561ef57064c3f24fdf3b