Skip to content

gh-157741: Prevent NULL 'environ' pointer after os.environ.clear() #210100

gh-157741: Prevent NULL 'environ' pointer after os.environ.clear()

gh-157741: Prevent NULL 'environ' pointer after os.environ.clear() #210100

Triggered via pull request September 19, 2026 06:25
Status Cancelled
Total duration 21m 42s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
12s
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 53s
Docs / Doctest
Docs  /  Check EPUB
2m 32s
Docs / Check EPUB
Check if Autoconf files are up to date
31s
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
11s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
5m 59s
Ubuntu (installed) / build, install and test
iOS
21m 14s
iOS
Emscripten  /  build and test
18m 4s
Emscripten / build and test
WASI  /  build and test
5m 5s
WASI / build and test
Hypothesis tests on Ubuntu
10m 7s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
13m 4s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 38s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 2s
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

35 errors, 7 warnings, and 11 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Check if generated files are up to date
Process completed with exit code 2.
CIFuzz / cpython3 (undefined)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
CIFuzz / cpython3 (undefined)
Path does not exist: cifuzz-sarif/results.sarif
CIFuzz / cpython3 (undefined)
The operation was canceled.
CIFuzz / cpython3 (memory)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
CIFuzz / cpython3 (memory)
Path does not exist: cifuzz-sarif/results.sarif
CIFuzz / cpython3 (memory)
The operation was canceled.
Windows / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Windows / Build and test (x64, switch-case)
The operation was canceled.
Windows / Build and test (Win32, switch-case)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Windows / Build and test (Win32, switch-case)
The operation was canceled.
Windows (free-threading) / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Windows (free-threading) / Build and test (x64, switch-case)
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Android (x86_64)
The operation was canceled.
Windows (free-threading) / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Windows (free-threading) / Build and test (arm64, switch-case)
The operation was canceled.
Sanitizers / TSan (free-threading)
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Sanitizers / TSan (free-threading)
The operation was canceled.
Sanitizers / UBSan
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Sanitizers / UBSan
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
iOS
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
Tests
Canceling since a higher priority waiting request for Tests-search1ofall-maker-gh-157741-fix-clearenv-null exists
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 / build and test (macos-26-intel)
`$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]
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"
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"
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"
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 (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 (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"
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"
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
UBSan-logs-default
362 Bytes
sha256:a5b2c25d0c2eaef08c29b96505311b02c1f60dbe3bc6b20152b40d031be71337
html-ids-head.json.gz
129 KB
sha256:2767145d903371decd8920d07c04a0a269b6b6dbb9be0f3272b73a7f306c363b