-
Notifications
You must be signed in to change notification settings - Fork 1.6k
segfault in dsyrk_thread_UT #2821
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
You'd need a debug build of OpenBLAS to see actual C source line number where the segfault occurred. How many threads, or is two already sufficient to blow it up? And would you happen to have a simple recipe for reproducing this? |
Could be something similar to #1929 |
I have made a docker image & test script at https://gist.github.com/colinfang/02b45e6751264b044e02cb7edd209c09 It is not easy to trigger the error. One has to have |
Hmm. What would the Hadoop Filesystem library have to do with this - or is it only required due to the nature of your test script ? |
I have no idea why |
@colinfang Do you know how many NUM_THREADS are defined in numpy's libopenblas? You could try to use a lower number to see if the segfault disappears as in #2839. |
I don't know what effect |
I made a repo https://github.com/colinfang/openblas2821 so that I can use docker hub at https://hub.docker.com/repository/docker/colinfang/openblas2821 I can reproduce the error using the image built from docker hub. It segfaults everytime. |
As you have Java in the mix once you load libhdfs, could you try with setting |
Yes that works! |
I hit segfault error when using scipy that links to openblas 0.3.10
It seems to only happen when
OPENBLAS_NUM_THREADS
is more than 1.Any advice what can possibly go wrong here? I don't know too well with GDB. How can I find more useful information that helps debugging?
The text was updated successfully, but these errors were encountered: