[bug #68434] Function gsvd crashes when matrices have 10 or more columns

Ian Proudler <[email protected]> Mon, 8 Jun 2026 11:27:41 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68434>

                 Summary: Function gsvd crashes when matrices have 10 or more
columns
                   Group: GNU Octave
               Submitter: ikproudler
               Submitted: Mon 08 Jun 2026 03:27:37 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: ikproudler
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 08 Jun 2026 03:27:37 PM UTC By: Ian Proudler <ikproudler>
With M = 4,6,or 8,the script below runs successfully. With M = 10 or larger,
it causes a segmentation fault.

M = 10;
N = 4;
A = randn(N,M);
B = randn(N,M);
[U, V, X, C, S] = gsvd(A, B);

I've run the script using the GUI "save & run" button as well as from the
command line.

I'm using the Flatpak version of Octave.

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-124-generic (64-bit)
Graphics Platform: X11










    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68434>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaibfbQAKCRCqLAuaBUf3
TlKBAP93AC0Ti/NS1xzcPAOo/BQ44Hor4YZK9y5jnT1HilaM1AEA7HJySV14oS87
2kqAG+OiDpPyXM5gpeL22bLlGoqMaws=
=dZ/6
-----END PGP SIGNATURE-----