Bug#995450: buster->bullseye: octave segfaulting during configure (seems unrelated to #992405)

Diego Zuccato diego.zuccato at unibo.it
Fri Nov 5 05:34:36 GMT 2021


Il 04/11/2021 12:27, Sébastien Villemot ha scritto:

> I happen to have access to a machine with exactly the same CPU (and
> Debian Bullseye). I fail to replicate your problem there. I can start
> octave with libopenblas0-pthread and there is no segfault.
> So there must be another factor at play.Uhm...

I use pam-limits and cgroups to limit the memory available to users.

I just did another test and it seems to confirm this hypothesis:
-8<--
root at str957-cluster:/var/log# ulimit -a
real-time non-blocking time  (microseconds, -R) unlimited
core file size              (blocks, -c) unlimited
data seg size               (kbytes, -d) 1024000
scheduling priority                 (-e) 0
file size                   (blocks, -f) unlimited
pending signals                     (-i) 63754
max locked memory           (kbytes, -l) unlimited
max memory size             (kbytes, -m) unlimited
open files                          (-n) 1024
pipe size                (512 bytes, -p) 8
POSIX message queues         (bytes, -q) 819200
real-time priority                  (-r) 0
stack size                  (kbytes, -s) 8192
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 63754
virtual memory              (kbytes, -v) unlimited
file locks                          (-x) unlimited
root at str957-cluster:/var/log# ulimit -d unlimited
root at str957-cluster:/var/log# ulimit -a
real-time non-blocking time  (microseconds, -R) unlimited
core file size              (blocks, -c) unlimited
data seg size               (kbytes, -d) unlimited
scheduling priority                 (-e) 0
file size                   (blocks, -f) unlimited
pending signals                     (-i) 63754
max locked memory           (kbytes, -l) unlimited
max memory size             (kbytes, -m) unlimited
open files                          (-n) 1024
pipe size                (512 bytes, -p) 8
POSIX message queues         (bytes, -q) 819200
real-time priority                  (-r) 0
stack size                  (kbytes, -s) 8192
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 63754
virtual memory              (kbytes, -v) unlimited
file locks                          (-x) unlimited
root at str957-cluster:/var/log# apt install libopenblas0^Cthread
root at str957-cluster:/var/log# export LANG=C
root at str957-cluster:/var/log# octave-cli
X11 connection rejected because of wrong authentication.
GNU Octave, version 6.2.0
Copyright (C) 2021 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> version -blas
ans = OpenBLAS (config: OpenBLAS 0.3.13 NO_LAPACKE DYNAMIC_ARCH 
NO_AFFINITY Sandybridge SINGLE_THREADED)
octave:2>

root at str957-cluster:/var/log# apt install libopenblas0-pthread
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
   libopenblas0-pthread
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6034 kB of archives.
After this operation, 43.8 MB of additional disk space will be used.
Selecting previously unselected package libopenblas0-pthread:amd64.
(Reading database ... 295123 files and directories currently installed.)
Preparing to unpack .../libopenblas0-pthread_0.3.13+ds-3_amd64.deb ...
Unpacking libopenblas0-pthread:amd64 (0.3.13+ds-3) ...
Setting up libopenblas0-pthread:amd64 (0.3.13+ds-3) ...
update-alternatives: using 
/usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 to provide 
/usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) 
in auto mode
update-alternatives: using 
/usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3 to provide 
/usr/lib/x86_64-linux-gnu/liblapack.so.3 
(liblapack.so.3-x86_64-linux-gnu) in auto mode
update-alternatives: using 
/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so.0 to provide 
/usr/lib/x86_64-linux-gnu/libopenblas.so.0 
(libopenblas.so.0-x86_64-linux-gnu) in auto mode
Processing triggers for libc-bin (2.31-13+deb11u2) ...
root at str957-cluster:/var/log# octave-cli
X11 connection rejected because of wrong authentication.
GNU Octave, version 6.2.0
Copyright (C) 2021 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> version -blas
ans = OpenBLAS (config: OpenBLAS 0.3.13 NO_LAPACKE DYNAMIC_ARCH 
NO_AFFINITY Sandybridge MAX_THREADS=64)
octave:2>
-8<--

BTW seems my finding was correct :)
https://github.com/xianyi/OpenBLAS/issues/3441

-- 
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786



More information about the debian-science-maintainers mailing list