bugGNU Octave - Bugs: bug #65158, [MXE Octave] SVD called on complex...

 
 

bug #65158: [MXE Octave] SVD called on complex matrices causes Octave to crash

Submitter:  Ming <enzo0706>
Submitted:  Sat 13 Jan 2024 09:56:43 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 8.4.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  9.1.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 19 Jan 2024 09:22:14 PM UTC, comment #2: 

No response.  Assuming this was fixed by newer OpenBLAS.  Closing report.

Rik <rik5>
Group administrator
Sat 13 Jan 2024 03:08:33 PM UTC, comment #1: 

I can confirm the crash with the OpenBLAS that is packaged with Octave for Windows 8.4.0. It doesn't crash with the reference BLAS in that version.

Luckily, this no longer seems to be happening with the OpenBLAS that is packaged with a nightly version of Octave for Windows. Those nightly versions are very close to what will eventually be released as Octave for Windows 9.1.0.

It is pretty unlikely that there will be another release of Octave 8.

You can download the nightlies from here:
https://buildbot.octave.space/#/download

Marking as ready for test.

Markus Mützel <mmuetzel>
Group administrator
Sat 13 Jan 2024 09:56:43 AM UTC, original submission:  

When the SVD function is called on a 256*256 complex matrix, it causes the octave to crash due to segmentation fault.

The basic tests are as follows:

octave:1> [u, s, v] = svd(rand(256));
octave:2> [u, s, v] = svd(rand(128) + 1i * rand(128));
octave:3> [u, s, v] = svd(rand(256) + 1i * rand(256));
fatal: caught signal Segmentation fault -- stopping myself...
PS C:\Program Files\GNU Octave\Octave-8.4.0\mingw64\bin>

256*256 real - OK
128*128 complex - OK
256*256 complex - CRASH

It works fine on previous versions (like 7.x), but also crashes on 8.3.0.

Ming <enzo0706>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by enzo0706 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-19 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2024-01-13 mmuetzel CategoryOctave Function Libraries
        StatusNone Ready For Test
        Planned ReleaseNone 9.1.0
        SummarySVD called on complex matrices causes Octave to crash [MXE Octave] SVD called on complex matrices causes Octave to crash

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code