Skip to content

gh-144774: Fix data race in BaseException.__setstate__ in free-thread… #182851

gh-144774: Fix data race in BaseException.__setstate__ in free-thread…

gh-144774: Fix data race in BaseException.__setstate__ in free-thread… #182851

Triggered via pull request February 15, 2026 02:35
Status Failure
Total duration 27m 17s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
15s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with AWS-LC
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
Check if Autoconf files are up to date
25s
Check if Autoconf files are up to date
Check if generated files are up to date
1m 21s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
12s
C API Docs / Check if all C APIs are documented
iOS
56s
iOS
WASI  /  build and test
54s
WASI / build and test
Hypothesis tests on Ubuntu
1m 22s
Hypothesis tests on Ubuntu
Cross build Linux
1m 10s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Docs
Docs / Docs
Docs  /  Doctest
Docs / Doctest
Matrix: build-android
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 26 warnings
Android (x86_64)
Process completed with exit code 1.
iOS
Process completed with exit code 1.
WASI / build and test
Process completed with exit code 1.
Windows / Build and test (x64)
Process completed with exit code 1.
Windows / Build and test (x64): Objects/exceptions.c#L245
'cs' uses undefined struct 'PyCriticalSection' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Cross build Linux
Process completed with exit code 2.
Cross build Linux: Objects/exceptions.c#L255
implicit declaration of function ‘_PyCriticalSection_End’; did you mean ‘PyCriticalSection_End’? [-Werror=implicit-function-declaration]
Cross build Linux: Objects/exceptions.c#L247
implicit declaration of function ‘_PyCriticalSection_Begin’; did you mean ‘PyCriticalSection_Begin’? [-Werror=implicit-function-declaration]
Cross build Linux: Objects/exceptions.c#L245
storage size of ‘cs’ isn’t known
Android (aarch64)
Process completed with exit code 1.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.6)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.6.1)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.19)
Process completed with exit code 2.
macOS / build and test (macos-14)
Process completed with exit code 2.
Check if generated files are up to date
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Objects/exceptions.c#L255
implicit declaration of function ‘_PyCriticalSection_End’; did you mean ‘PyCriticalSection_End’? [-Werror=implicit-function-declaration]
Hypothesis tests on Ubuntu: Objects/exceptions.c#L247
implicit declaration of function ‘_PyCriticalSection_Begin’; did you mean ‘PyCriticalSection_Begin’? [-Werror=implicit-function-declaration]
Hypothesis tests on Ubuntu: Objects/exceptions.c#L245
storage size of ‘cs’ isn’t known
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.4)
Process completed with exit code 2.
Windows / Build and test (Win32)
Process completed with exit code 1.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 1.1.1w)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.5.5)
Process completed with exit code 2.
Windows / Build and test (arm64)
Process completed with exit code 1.
Windows / Build and test (arm64): Objects/exceptions.c#L245
'cs' uses undefined struct 'PyCriticalSection' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04): Objects/exceptions.c#L255
implicit declaration of function ‘_PyCriticalSection_End’; did you mean ‘PyCriticalSection_End’? [-Werror=implicit-function-declaration]
Address sanitizer (ubuntu-24.04): Objects/exceptions.c#L247
implicit declaration of function ‘_PyCriticalSection_Begin’; did you mean ‘PyCriticalSection_Begin’? [-Werror=implicit-function-declaration]
Address sanitizer (ubuntu-24.04): Objects/exceptions.c#L245
storage size of ‘cs’ isn’t known
Sanitizers / UBSan
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm): Objects/exceptions.c#L255
implicit declaration of function ‘_PyCriticalSection_End’; did you mean ‘PyCriticalSection_End’? [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04-arm): Objects/exceptions.c#L247
implicit declaration of function ‘_PyCriticalSection_Begin’; did you mean ‘PyCriticalSection_Begin’? [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04-arm): Objects/exceptions.c#L245
storage size of ‘cs’ isn’t known
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04): Objects/exceptions.c#L255
implicit declaration of function ‘_PyCriticalSection_End’; did you mean ‘PyCriticalSection_End’? [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04): Objects/exceptions.c#L247
implicit declaration of function ‘_PyCriticalSection_Begin’; did you mean ‘PyCriticalSection_Begin’? [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04): Objects/exceptions.c#L245
storage size of ‘cs’ isn’t known
Sanitizers / TSan
Process completed with exit code 2.
Ubuntu SSL tests with AWS-LC (ubuntu-24.04, 1.55.0)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-24.04): Objects/exceptions.c#L255
implicit declaration of function ‘_PyCriticalSection_End’; did you mean ‘PyCriticalSection_End’? [-Werror=implicit-function-declaration]
Ubuntu (bolt) / build and test (ubuntu-24.04): Objects/exceptions.c#L247
implicit declaration of function ‘_PyCriticalSection_Begin’; did you mean ‘PyCriticalSection_Begin’? [-Werror=implicit-function-declaration]
Ubuntu (bolt) / build and test (ubuntu-24.04): Objects/exceptions.c#L245
storage size of ‘cs’ isn’t known
macOS / build and test (macos-15-intel)
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Windows / Build and test (x64): Objects/exceptions.c#L255
'_PyCriticalSection_End' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Objects/exceptions.c#L247
'_PyCriticalSection_Begin' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Cross build Linux: Objects/exceptions.c#L245
unused variable ‘cs’ [-Wunused-variable]
macOS / build and test (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-14)
xz 5.8.2 is already installed and up-to-date. To reinstall 5.8.2, run: brew reinstall xz
macOS / build and test (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
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.
Hypothesis tests on Ubuntu: Objects/exceptions.c#L245
unused variable ‘cs’ [-Wunused-variable]
Windows / Build and test (arm64): Objects/exceptions.c#L255
'_PyCriticalSection_End' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Objects/exceptions.c#L247
'_PyCriticalSection_Begin' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Address sanitizer (ubuntu-24.04): Objects/exceptions.c#L245
unused variable ‘cs’ [-Wunused-variable]
Ubuntu / build and test (ubuntu-24.04-arm): Objects/exceptions.c#L245
unused variable ‘cs’ [-Wunused-variable]
Ubuntu / build and test (ubuntu-24.04): Objects/exceptions.c#L245
unused variable ‘cs’ [-Wunused-variable]
Ubuntu (bolt) / build and test (ubuntu-24.04): Objects/exceptions.c#L245
unused variable ‘cs’ [-Wunused-variable]
macOS / build and test (macos-15-intel)
Already linked: /usr/local/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-15-intel)
xz 5.8.2 is already installed and up-to-date. To reinstall 5.8.2, run: brew reinstall xz
macOS / build and test (macos-15-intel)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
macOS (free-threading) / build and test (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS (free-threading) / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS (free-threading) / build and test (macos-14)
xz 5.8.2 is already installed and up-to-date. To reinstall 5.8.2, run: brew reinstall xz
macOS (free-threading) / build and test (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
387 Bytes
sha256:cad5caf4f9ac4b68ea9523b4c846b11ec80ed5e0ca11211b2519ebba4fcf1dc5