Package: octave
Version: 4.4.1-2+b1
Severity: important

Hello,

Below, we have what I tried:

octave:1> dot([i i], [i i])
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault


This should return 2, just like the real number version (and like Matlab).

Other variations crash similarly: as column vectors, with a mixture of real and 
complex numbers, using single components.

The mathematically equivalent: 
sum( [i i] .* conj([i i]) ) 
works fine.

Adam Knapp


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages octave depends on:
ii  libamd2                            1:5.3.0+dfsg-1
ii  libarpack2                         3.6.3-1
ii  libasound2                         1.1.7-2
ii  libatlas3-base [liblapack.so.3]    3.10.3-7+b1
ii  libblas3 [libblas.so.3]            3.8.0-2
ii  libbz2-1.0                         1.0.6-9
ii  libc6                              2.28-3
ii  libcamd2                           1:5.3.0+dfsg-1
ii  libccolamd2                        1:5.3.0+dfsg-1
ii  libcholmod3                        1:5.3.0+dfsg-1
ii  libcolamd2                         1:5.3.0+dfsg-1
ii  libcxsparse3                       1:5.3.0+dfsg-1
ii  libfftw3-double3                   3.3.8-2
ii  libfftw3-single3                   3.3.8-2
ii  libfltk-gl1.3                      1.3.4-7
ii  libfltk1.3                         1.3.4-7
ii  libfreetype6                       2.9.1-3
ii  libgcc1                            1:8.2.0-13
ii  libglpk40                          4.65-2
ii  libgomp1                           8.2.0-13
ii  libklu1                            1:5.3.0+dfsg-1
ii  liblapack3 [liblapack.so.3]        3.8.0-2
ii  liboctave6                         4.4.1-2+b1
ii  libopenblas-base [liblapack.so.3]  0.3.4+ds-1
ii  libportaudio2                      19.6.0-1
ii  libqhull7                          2015.2-4
ii  libqrupdate1                       1.1.2-3
ii  libqscintilla2-qt5-13              2.10.4+dfsg-1+b1
ii  libqt5core5a                       5.11.3+dfsg-1
ii  libqt5gui5                         5.11.3+dfsg-1
ii  libqt5help5                        5.11.3-1
ii  libqt5network5                     5.11.3+dfsg-1
ii  libqt5opengl5                      5.11.3+dfsg-1
ii  libqt5printsupport5                5.11.3+dfsg-1
ii  libqt5sql5                         5.11.3+dfsg-1
ii  libqt5widgets5                     5.11.3+dfsg-1
ii  libsndfile1                        1.0.28-4
ii  libstdc++6                         8.2.0-13
ii  libsuitesparseconfig5              1:5.3.0+dfsg-1
ii  libumfpack5                        1:5.3.0+dfsg-1
ii  libx11-6                           2:1.6.7-1
ii  octave-common                      4.4.1-2
ii  texinfo                            6.5.0.dfsg.1-4+b1
ii  zlib1g                             1:1.2.11.dfsg-1

Versions of packages octave recommends:
ii  default-jre-headless       2:1.11-70
ii  epstool                    3.09-1
ii  gnuplot-x11 [gnuplot-nox]  5.2.5+dfsg1-1
ii  libatlas3-base             3.10.3-7+b1
ii  libopenblas-base           0.3.4+ds-1
ii  octave-doc                 4.4.1-2
ii  pstoedit                   3.73-1+b1

Versions of packages octave suggests:
ii  liboctave-dev  4.4.1-2+b1

-- no debconf information

Reply via email to