-
-
Notifications
You must be signed in to change notification settings - Fork 11k
2738 fix breaks scipy test_decomp.py in 1.7.0rc1 #2939
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
Strange, since that commit looks correct... Are you able to debug any the fix for gh-2738 #2738 (commit The crash can be reproduced on ubuntu 13.04 with python3.3. — |
I can confirm the result for python 3.3 running on Fedora 18. The test that fails is
And sometimes I get the error message
So there is some memory corruption here. How this is related to the commit is unclear, but it looks like it occurs in the zhbevx call. |
Commenting out all the
So there appear to be two errors, one in the multiarray error return path and another in zhbevx. |
This occurs only on Python 3.3, so it's not clear what the issue with zhbevx would be (as far as I see, there are no errors in the f2py wrapper declaration). Maybe Python 3.3 somehow subtly breaks f2py --- would need to compare f2py output between 3.2 and 3.3? |
sorry the commit I mentioned was a red herring, reverting it does not fix the issue it just changes the failure from a crash to the ValueError charris posted. |
the problem seems to be related to this pointless hash randomization. |
So, a scipy bug. http://projects.scipy.org/scipy/ticket/1819 |
Maybe it is nothing, but how come e208de6 fixed anything? It looks good (and certainly cannot hurt), but if you look closer it seems to me like the reference is basically there because it is borrowed from |
Ah ok, nvm that... as noted in the original report to it, |
edit: the issue is actually hash randomization and a bug in scipy, see below
the fix for gh-2738 (commit e208de6) in numpy 1.7.0rc1 breaks a scipy 0.11 and current git head test with python3.3.
This was previously reported to scipy in http://mail.scipy.org/pipermail/scipy-dev/2012-September/017995.html but I did not find a reaction.
Bisecting numpy lead to above commit.
The crash can be reproduced on ubuntu 13.04 with python3.3.
It occurs with the debug and regular python3.3 variant.
It manifests itself with random segfaults, glibc memory corruption aborts and hangs when you execute scipy/linalg/tests/test_decomp.py
reverting the commit from the rc1 tag fixes the crash.
numpy git head does not seem affected.
The text was updated successfully, but these errors were encountered: