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
io tests crash on Windows #5540
Comments
Hmm, very little changed in |
|
@ev-br - can you post a more complete log? Would it be easy to post a binary somewhere for me to test? |
I've posted the binary at https://github.com/scipy/scipy/releases/tag/v0.17pre |
Regarding a more complete log, I'm not sure what it would be. I just ran |
I was thinking of something like the complete log from |
Under Wine this apparently just hangs:
In a different window:
only reacts to |
Under WIndows it crashes, I'll be able to post the exact details in the morning local time. |
Just to be sure - if you build scipy 0.16.1 with the same setup, you get no such crash, and all tests pass? |
OK, something's not right with my build setup. If I take official superpack installers, all If I build 0.16.1, I get the same crash:
... "pythonw.exe encountered a problem and needs to close." Hmm... |
Sorry I am away from my computer doing Thanksgiving stuff this evening will
check tomorrow
|
Happy Thanksgiving! |
I installed your installer, using the numpy superpack installer for numpy. I also get a crash for The scipy 0.16.1 installer downloaded from SF also works fine for me. |
OK, I tried building scipy versions down to 0.15.1 and with cython 0.23.4 or 0.22, and they all crash. Now, this seems to point to a problem in my setup, but it's just an unmodified numpy/numpy-vendor#10. At this stage, I'd appreciate any help or any sort of pointers. |
I'll try to reproduce tonight. |
Hmm, reproduced, but not yet clear what changed. The only thing I can think of right now is the switch from Cython 0.20.0 to 0.22.0 and then 0.23.4. |
OK, just as a data point: I downgraded to Cython 0.20.0 and build scipy 0.15.1 with it. (I don't think later scipy versions could be built with it, can they). Under Wine, the problem shows up as a deadlock.
Not sure if this makes it any clearer... |
I think the issue is with |
This change is faster (avoids multiple times reading of the same file), and may avoid a hang of the test suite under Wine (see scipygh-5540).
https://github.com/rgommers/scipy/tree/remove-fromfile fixes one crash in |
OK, I see the same thing in the numpy tests and in other tests that use So the good news is that we narrowed it down a bit, the bad news that this is still not going to be fun. |
From vague memories: there are issues with file handles and fseek/ftell. The |
Just checked: |
This change is faster (avoids multiple times reading of the same file), gets rid of a data file that's not really needed, and may avoid issues with np.fromfile (under Wine for example, see scipygh-5540).
It's not fun indeed, but it seems a bit different of an issue here. The numpy issues relate to python 3, but here python 3 is actually fine, the crash is on python 2.7. On python 2,
Full log: https://gist.github.com/ev-br/63a0473bcc84820190a1 This seems to point to some CRT incompatibility? https://mail.scipy.org/pipermail/numpy-discussion/2012-July/063414.html |
Some issues:
|
For the record, my ancient Wine 1.1.39 setup doesn't have this issue. Something got messed up in numpy-vendor. |
We're not producing win32 binaries for 0.17.0, so removing the 0.17.0 milestone. Leaving the issue open because there's some things to do - see comment @pv above. |
Maybe related: #5882 (Anaconda binaries) |
I believe that all of the mentioned issues above have been resolved.
|
Windows XP, numpy-vendor binaries.
The text was updated successfully, but these errors were encountered: