-
Notifications
You must be signed in to change notification settings - Fork 193
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
Segfault when operating over strided inputs in free-threaded Python #2271
Comments
I built a local version of python 13 with |
serge-sans-paille
added a commit
that referenced
this issue
Jan 11, 2025
So that it also affects objects created at module loading time. This seems to fix #2271
serge-sans-paille
added a commit
that referenced
this issue
Jan 11, 2025
So that it also affects objects created at module loading time. This seems to fix #2271
Could you confirm #2273 fixes the issue? It does on my setup. |
@andfoy : gentle ping :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As part of the free-threaded compliance testing performed over at SciPy, we have discovered the following Pythran issue when covering
scipy.stats
scipy/scipy#22125:Apparently, the segfault is related to memory pointer deallocation (via free), which is highlighted after running the following reproducing script:
Reproducing script
The offending pythran functions (
_Aij
,_Dij
and_a_ij_Aij_Dij2
) are defined on the following file: https://github.com/scipy/scipy/blob/main/scipy/stats/_stats_pythran.py, whilstsomersd
is defined over at https://github.com/scipy/scipy/blob/a32bc49b738db04e5823b676be40bd8dab617f8c/scipy/stats/_hypotests.py#L678The text was updated successfully, but these errors were encountered: