FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-148286: Fail on new UB in CI by StanFromIreland · Pull Request #148168 · python/cpython · GitHub

Repository navigation

gh-148286: Fail on new UB in CI - #148168

Merged
StanFromIreland merged 11 commits into
python:mainfrom
StanFromIreland:san-ubsan
Apr 9, 2026
Merged

StanFromIreland merged 11 commits into
python:mainfrom
StanFromIreland:san-ubsan

Conversation

StanFromIreland commented Apr 6, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Trying to debug a bit, it should be detecting #148166 (and also screaming about it), but it isn't. Mirroring what we do for the TSan job.

Just chucked everything in suppressions for now, they should be reviewed as it may have actual bugs.

StanFromIreland changed the title Fail on new UB Fail on new UB in CI Apr 6, 2026

Copy link
Copy Markdown
Member Author

I've never been so happy to see the CI fail :-)

[3](https://github.com/python/cpython/actions/runs/24037637122/job/70101135069?pr=148168#step:11:144)
==> /home/runner/work/cpython/cpython/san_log.26255 <==
Modules/binascii.c:1243:42: runtime error: left shift of 129 by 24 places cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Modules/binascii.c:1243:42

Copy link
Copy Markdown
Contributor

We got there in the end: #111758 (comment) :)

I'd assumed that #135578 or #136820 included that but I didn't check.

StanFromIreland marked this pull request as ready for review April 6, 2026 16:16
StanFromIreland marked this pull request as draft April 6, 2026 16:19
StanFromIreland marked this pull request as ready for review April 6, 2026 17:19

encukou commented Apr 9, 2026

Copy link
Copy Markdown
Member

LGTM, thank you!
Consider opening an issue, which we could use to track the fixes too.

StanFromIreland changed the title Fail on new UB in CI gh-148286: Fail on new UB in CI Apr 9, 2026

Copy link
Copy Markdown
Member Author

Created #148286.

StanFromIreland requested a review from encukou April 9, 2026 08:47
StanFromIreland merged commit ade914b into python:main Apr 9, 2026
48 checks passed
StanFromIreland deleted the san-ubsan branch April 9, 2026 09:30

Copy link
Copy Markdown
Member Author

Thanks for the reviews!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL