-
Notifications
You must be signed in to change notification settings - Fork 26
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
1.5: test_square_with_point fails on 32 bit #16
Comments
On Dec 8, 2016, at 4:59 AM, Ole Streicher ***@***.***> wrote:
sorry for bothering you again with a failures: On all 32 bit architectures (i386, but also ARM, MIPS, PowerPC etc.), test_square_with_point fails (seems to crash):
The code will be rewritten yet again, but not today, as I have more pressing issues. I just needed to get something more correct than version 1.4 out before the end of the day and so did the quickest thing.
|
OK; however here is what I found out so far: The problem is that I did not check this with 64 bit; however it looks like that it may be buggy there as well (just hidden). |
On Dec 8, 2016, at 8:50 AM, Ole Streicher ***@***.***> wrote:
OK; however here is what I found out so far:
The problem is that shrink_segment() calls get_pixmap(pixmap, pix[0], pix[1]);, where pix[0] may be -1. get_pixmap() is a macro that translates to PyArray_GETPTR3(pixmap, ypix, xpix, 0);, which then returns a pointer that may not dereferenced.
I did not check this with 64 bit; however it looks like that it may be buggy there as well (just hidden).
Thanks, I will revisit shrink_segment, perhaps tomorrow.
|
I know this is very old. Is this still an issue? or can I close this issue? |
Hi,
sorry for bothering you again with a failures: On all 32 bit architectures (i386, but also ARM, MIPS, PowerPC etc.),
test_square_with_point
fails (seems to crash):The text was updated successfully, but these errors were encountered: