Skip to content

hotfix: misaligned pointer cast #640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 15, 2025
Merged

Conversation

MilesCranmer
Copy link
Contributor

This isn't the full solution from the discourse thread, but I would like to get a hotfix in ASAP to prevent further segfaults until we can get a future-compatible heap type solution in.

@cjdoris could you merge and release?

@dpinol
Copy link
Contributor

dpinol commented Jul 15, 2025

Would this work for Python 3.11 & 3.12 if it specifies fields only on these versions?

@MilesCranmer
Copy link
Contributor Author

I think so. The worse issue is having fewer fields, because then it will overwrite neighboring constants and corrupt them. Correct me if I'm wrong @cjdoris

@MilesCranmer
Copy link
Contributor Author

I think benchmark pr failing is unrelated (and likely due to a slightly older version of my fork). Looks ready for merge though @cjdoris (thanks for the quick help)

@cjdoris cjdoris merged commit 07eb726 into JuliaPy:main Jul 15, 2025
13 of 14 checks passed
@cjdoris
Copy link
Collaborator

cjdoris commented Jul 15, 2025

Thanks for the hotfix. I'll make a release later today.

I'd be grateful if you could make an issue for the "proper" fix, linking to all the relevant discussion. Cheers.

@MilesCranmer MilesCranmer deleted the fix-types branch July 15, 2025 17:20
@cjdoris
Copy link
Collaborator

cjdoris commented Jul 15, 2025

Released. Hopefully that's the segfault gone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants