Skip to content

gh-145234: Fix SystemError in parser when \r is introduced after code… #183986

gh-145234: Fix SystemError in parser when \r is introduced after code…

gh-145234: Fix SystemError in parser when \r is introduced after code… #183986

Triggered via pull request February 26, 2026 21:02
Status Failure
Total duration 27m 2s
Artifacts 1

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 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
29s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 46s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
13s
C API Docs / Check if all C APIs are documented
iOS
21m 9s
iOS
WASI  /  build and test
4m 55s
WASI / build and test
Hypothesis tests on Ubuntu
9m 32s
Hypothesis tests on Ubuntu
Cross build Linux
4m 2s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Docs
Docs / Docs
Docs  /  Doctest
Docs / Doctest
Matrix: build-android
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 99 warnings
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 1.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 1.
WASI / build and test
Process completed with exit code 2.
macOS / build and test (macos-15-intel)
Process completed with exit code 1.
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 1.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
macOS / build and test (macos-14)
Process completed with exit code 2.
macOS (free-threading) / build and test (macos-14)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
Sanitizers / UBSan
Process completed with exit code 2.
Windows / Build and test (x64)
Process completed with exit code 2.
Windows / Build and test (arm64)
Process completed with exit code 2.
Windows / Build and test (Win32)
Process completed with exit code 2.
iOS
Process completed with exit code 1.
Android (x86_64)
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64)
Process completed with exit code 2.
Windows (free-threading) / Build and test (arm64)
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Ubuntu / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu / build and test (ubuntu-24.04-arm): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu / build and test (ubuntu-24.04-arm): Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu / build and test (ubuntu-24.04-arm): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Cross build Linux: Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Cross build Linux: Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Cross build Linux: Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Cross build Linux: Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Cross build Linux: Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Cross build Linux: Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Cross build Linux: Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Cross build Linux: Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Cross build Linux: Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Cross build Linux: Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
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
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
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: Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Hypothesis tests on Ubuntu: Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Hypothesis tests on Ubuntu: Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Hypothesis tests on Ubuntu: Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
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
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
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Address sanitizer (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L266
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L258
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L256
passing argument 1 of ‘_PyLexer_restore_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L246
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L243
passing argument 1 of ‘_PyLexer_remember_fstring_buffers’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L111
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer (ubuntu-24.04): Parser/tokenizer/file_tokenizer.c#L59
passing argument 1 of ‘_PyLexer_tok_reserve_buf’ from incompatible pointer type [-Wincompatible-pointer-types]
Address sanitizer (ubuntu-24.04): Parser/lexer/buffer.h#L8
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Address sanitizer (ubuntu-24.04): Parser/lexer/buffer.h#L7
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration
Address sanitizer (ubuntu-24.04): Parser/lexer/buffer.h#L6
‘struct tok_state’ declared inside parameter list will not be visible outside of this definition or declaration

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
17.7 KB
sha256:d7f6d1752921780e4fbc72f1d34f556907b083100b8835afdb3faf8d13715088