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

"Dmitri A. Sergatskov" <[email protected]> Tue, 16 Jun 2026 10:34:47 -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.

Follow-up Comment #19, bug #68434 (group octave):

Yes this is a current limitation of Octave's gsvd implementation based off
Lapack's ggsvd. I am working on matlab's compatible implementation that uses
QR + CS decomposition for rank deficient matrices. This is a fairly
significant change and no-one is going to put it into stable bug-fix. Even in
dev it can easily spent years in limbo aka "code review"... 

The patch fixes memory corruption and some math logic in matrix
re-construction; it retains the current octaves behavior otherwise. 

Sincerely,

Dmitri.
-- 



    _______________________________________________________

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-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCajFfBwAKCRCqLAuaBUf3
Tl+hAP4vN4zVyD22daGGBMNaJdOp+yIrbqSX2OoP+j2BemmS3AD7B+1MrEKGwlTe
d9j3iXUkrW2R/ozrOTA1f5LZ/Y7/oQ8=
=24UK
-----END PGP SIGNATURE-----