bugGNU Octave - Bugs: bug #58339, Sometimes condest fails because of...

 
 

bug #58339: Sometimes condest fails because of an invalid array access in normest1

Submitter:  None
Submitted:  Sat 09 May 2020 12:42:51 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Octave-user Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.1.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 09 May 2020 11:50:32 PM UTC, comment #1: 

Confirmed, however this appears to have been fixed already for the next upcoming release of version 6.

The only functional change to condest.m since version 5.2.0 was made for bug #57968, and it appears that change fixes this bug also. Closing this bug as fixed with version 6, or you can download the fixed condest.m function file from the repository and add it to your Octave load path.

Mike Miller <mtmiller>
Group Member
Sat 09 May 2020 12:42:51 PM UTC, original submission:  

Dear Octave developers,

If I execute the code below, sometimes I get an unexpected error:


octave:1> load octave-condest.mat
octave:5> condest(A)
error: S(_,4): but S has size 8x3
error: called from
    normest1 at line 202 column 13
    condest at line 227 column 21


I have attached a test script, which can be used to reproduce the error.


octave -f octave-condest.m


If I run it, I always get the message

condest failed at step 3


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #49048:  octave-condest.m added by None (244B - text/x-objcsrc)
file #49049:  octave-condest.mat added by None (1KiB - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-09 mtmiller Dependencies- Depends on bugs #57968
    2020-05-09 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2020-05-09 None Attached File- Added octave-condest.m, #49048
        Attached File- Added octave-condest.mat, #49049

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code