Segfault in dgeev on Windows 64 bit #697
Comments
|
@tkelman , thank you for the report. I am working on this bug. |
|
I just tested it on my two cores windows machine. It works fine. Does it relate to the number of threads? |
|
Don't think so, it segfaults with |
|
I built debug (-g) version. i will try the release (-O2 -g) version. |
|
I cannot reproduce this segfault so far :( |
|
Tony's test works on cygwin 64bit with Netlib and openblas-0.2.14. $ ./5728.exe I am trying to rebuild 0.2.15 with additional debuginfo and usual configuration: $ ./5728.exe |
|
the new 0.2.15 version of gemv.c, compared to 0.2.14, is reserving an insufficient stack space I also added an assert to verify that the increase was enough. the assert will fail very easily showing an overwriting over I added a size swap from 10 to 2000 to 5728-n.c Tony can you test the build openblas-0.2.15.1-1 for x86_64 based on git code plus patch from |
|
Yes, your build works for me. |
ref xianyi/OpenBLAS#697 (cherry picked from commit cdb316c) ref #14203
|
@xianyi it looks from my local testing like this doesn't happen on Haswell, only earlier kernels. My laptop is a Sandy Bridge. I'm testing Marco's patch now, and will close this if 0.2.15 plus that patch is enough to fix the segfault. |
|
My patch should be considered a temporary workaround. The assert is for extra security. |
|
The patch does look like it fixes matters. I'm in the process of working out what to include in a Julia 0.4.2 release, and would like to fix this segfault in some way. I could apply the patch just for the Windows (64 bit only?) build, depending on what resolution is expected to be more consistent with the next 0.2.16 release of OpenBLAS. |
|
on further testing, applying @matzeri's patch on top of 0.2.15 results in intermittent crashes on non Windows platforms, so something probably needs to be changed here. There might be intermittent problems on Windows too still but I run tests less often there. |
I'm seeing this in 0.2.15 on both 64 bit Cygwin and MinGW-w64. Test program:
gdb output (this is with cygwin 64's openblas library, looks very similar with Julia's mingw-w64 build):
The text was updated successfully, but these errors were encountered: