Closed Enchufa2 closed 3 years ago
Did you have a chance to look at this? Any idea whether this is due to FlexiBLAS, OpenBLAS or Octave?
A quick way to test this:
$ docker run --rm -it fedora:rawhide
$ dnf install -y octave-statistics flexiblas-*
$ CMD='octave -H -q --no-window-system --no-site-file --eval pkg("load","statistics");test("/usr/share/octave/packages/statistics-1.4.1/canoncorr.m");'
$ FLEXIBLAS=openblas-serial $CMD
PASSES 7 out of 7 tests
$ FLEXIBLAS=openblas-openmp $CMD
Segmentation fault (core dumped)
$ FLEXIBLAS=openblas-threads $CMD
Segmentation fault (core dumped)
but
$ FLEXIBLAS=blis-serial $CMD
PASSES 7 out of 7 tests
$ FLEXIBLAS=blis-openmp $CMD
PASSES 7 out of 7 tests
$ FLEXIBLAS=blis-threads $CMD
PASSES 7 out of 7 tests
A simpler test:
LD_PRELOAD=/usr/lib64/libopenblas.so $CMD
PASSES 7 out of 7 tests
LD_PRELOAD=/usr/lib64/libopenblaso.so $CMD
Segmentation fault (core dumped)
This bypasses FlexiBLAS completely, so it can't be a bug in FlexiBLAS.
Reported here. It looks like with flexiblas enabled octave, octave-statistics now has a segfault in one of its tests:
https://koschei.fedoraproject.org/package/octave-statistics?collection=f34
The trace reported (same with openblas-serial succeeds):
Reporting here because we don't know whether this is flexiblas' or openblas' fault. If the latter, we may need to change the system-wide default. Please, let me know if you need anything else.