Skip to content

gh-158961: Fix JIT crashes with UBSan - #159119

Closed
ashm-dev wants to merge 4 commits into
python:3.14from
ashm-dev:gh-158961
Closed

ashm-dev wants to merge 4 commits into
python:3.14from
ashm-dev:gh-158961

Conversation

@ashm-dev

@ashm-dev ashm-dev commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

@ashm-dev ashm-dev changed the title fix(jit): avoid crashes with UBSan gh-158961: Fix JIT crashes with UBSan Oct 10, 2026

@picnixz picnixz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am pretty sure we already had this kind of PR with the memcpy stuff that you once posted and IIRC it was not enough, but maybe this was not this specific code (and maybe it was on aarch64 only i do not remember).

Can you find that issue and see if this change fixed it? IIRC the memcpy was not enoigh for some reason or ended up being impacting performances.

Comment thread Include/internal/pycore_jit.h Outdated
@savannahostrowski
savannahostrowski removed their request for review October 21, 2026 21:16
@picnixz

picnixz commented Oct 21, 2026

Copy link
Copy Markdown
Member

Considering the direction of the JIT project, I don't think this will ever be merged because I'm not sure we will have a JIT in the future.

@ashm-dev ashm-dev closed this Oct 22, 2026
@ashm-dev
ashm-dev deleted the gh-158961 branch October 22, 2026 17:18
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.

2 participants