bugGNU Octave - Bugs: bug #60059, Octave GUI or CLI crash when...

 
 

bug #60059: Octave GUI or CLI crash when oversized array declared instead of error

Submitter:  None
Submitted:  Sun 14 Feb 2021 10:46:59 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  rlcross Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.1.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Feb 2021 12:17:35 AM UTC, comment #3: 

rlcross (original reporter) says:

The problem no longer exists on Octave 6.1.91 for 64-bit windows as installed from file:

     octave-2021-02-15-00-25-w64-installer.exe (328 MB)

obtained from https://buildbot.octave.space/#/download

For reference: For the original problem reported: I was using the 64-bit build

Anonymous
Mon 15 Feb 2021 07:25:02 AM UTC, comment #2: 

For completeness: The bug Rik is referring to is probably bug #59599.

To make sure it is not something different: Are you using the 32bit version of Octave? If possible, please use the 64bit version that doesn't expose that bug.

The fix for that bug didn't make it into the first release candidate 6.1.90 (but there is only a 64bit Windows build available anyway). To test if the bug is fixed for you, you'll either have to wait for a new release candidate or build (if a 32bit will be available). Or you could try a nightly build from Kai's buildbots which should have been built with the fix for that bug IIUC:
https://buildbot.octave.space/#/download

Markus Mützel <mmuetzel>
Group administrator
Mon 15 Feb 2021 06:23:40 AM UTC, comment #1: 

This is a duplicate bug report which has already been fixed for the next bug fix release (version 6.2).  The first release candidate for 6.2 is already available at http://alpha.gnu.org/gnu/octave/ if you want to test.

Rik <rik5>
Group administrator
Sun 14 Feb 2021 10:46:59 PM UTC, original submission:  


In GNU Octave 6.1.0 instead of issuing a error for an oversized array, both the GUI and the CLI versions crash.

Example:


a = zeros(2^20);


Crashes immediately on version 6.1.0

However on version 5.1.0 the following error is displayed:

>> a = zeros(2^20);

error: out of memory or dimension too large for Octave's index type

>>


Other details: 
    Running Windows 10, happens on two different computers (laptop and desktop) -- did not try on Linux due to difficulty of finding 6.1.0 for Linux

Anonymous

 

(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 mmuetzel (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  •  

    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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-16 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2021-02-15 mmuetzel StatusDuplicate Need Info
        Open/ClosedClosed Open
    2021-02-15 rik5 CategoryNone Interpreter
        StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code