[bug #68225] mrdivide causes a segmentation fault

Ian Proudler <[email protected]>
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/?68225>

                 Summary: mrdivide causes a segmentation fault
                   Group: GNU Octave
               Submitter: ikproudler
               Submitted: Fri 10 Apr 2026 08:43:38 AM 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: Fri 10 Apr 2026 08:43:38 AM UTC By: Ian Proudler <ikproudler>
Just installed the Flatpak version of Octave 11.1.0

Previously bug-free code caused a segmentation fault. I've traced it to the
mrdivide function -- see attached script "mdiv_prob.m".

I used the Flatpak debug option and gdb to obtain a backtrace -- see file
"mrdivide-problem".

=========

The version of Octave: flatpak (x86_64-pc-linux-gnu) version 11.1.0.

A complete input file that will reproduce the bug:    mdiv_prob.m

The type of machine you are using, and the operating system name and version
number:
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-107-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 27.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A38
System Version: 8.0

The command-line arguments you gave to the configure command when you
installed the interpreter: flatpak install flathub org.octave.Octave

A complete list of any modifications you have made to the interpreter source:
I have installed the following from "Octave Forge" but htey are not loaded.
control-4.2.1
linear-algebra-2.2.4
parallel-4.0.2
signal-1.4.7
struct-1.0.18







    _______________________________________________________
File Attachments:

Name: mdiv_prob.m                    Size: 84B
    <https://file.savannah.gnu.org/file/mdiv_prob.m?file_id=58457>

Name: mrdivide-problem               Size: 6.4KiB
    <https://file.savannah.gnu.org/file/mrdivide-problem?file_id=58458>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f290f6b25beb8cb99bbe243a6cd2c5fef79ffcde.tar.gz

    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCadi4PQAKCRCqLAuaBUf3
TpdnAP4/Z+DDSihZufjQGgJmPzUwg3Ar82C789XZk3RBI9yl/gEA8CwzEzYn0iix
/hudwLhXCwPaUxJGEsF5EAip08KCvAc=
=V02z
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.