-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Bug in function add.at (core dump) #13317
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
Comments
Please close this ticket: I've just checked this bug does not appear in NumPy 1.16.2; so it was fixed. |
Still seems to be there, the asserts are just not active in the release versions. I guess the results are likely correct in any case. @ahaldane do you know what is going on here directly? |
This is code which I touched in 1.16, in #6377, #12677, #12626. If I recall correctly, I actually found bugs in the old code where it was possible for numpy to do misaligned operations in some strange cases, which was fixed in those PRs. So it is quite possible this bug was fixed there. I will take a closer look in a bit |
@ahaldane can we close this? No: Can still be reproduced with debug version 2024-01 |
Uh oh!
There was an error while loading. Please reload this page.
There is a bug in function
add.at
that causes core dump on certain unaligned arrays. Below is an example that shows the problem.Reproducing code example:
Note, that the code above works without any errors if one changes type
i4
toi8
in the definition ofy_i
or removes the fieldc
from the definition ofy_i
.Error message:
Numpy/Python version information:
('1.15.4', '2.7.15 |Anaconda custom (64-bit)| (default, Oct 10 2018, 21:32:13) \n[GCC 7.3.0]')
The text was updated successfully, but these errors were encountered: