bugGNU Octave - Bugs: bug #39240, row index out of bounds; value 61...

 
 

bug #39240: row index out of bounds; value 61 out of bound 1 when "x(1)=1;x/=1"

Submitter:  Andreas Weber <andy1978>
Submitted:  Wed 12 Jun 2013 12:42:55 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Andreas Weber Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 12 Jun 2013 03:10:18 PM UTC, comment #2: 
John W. Eaton <jwe>
Group administrator
Wed 12 Jun 2013 01:49:23 PM UTC, comment #1: 

This bug was introduced with de79cdbbdf7c.

Tested with
hg backout de79cdbbdf7c

Stefan Mahr <dac922>
Wed 12 Jun 2013 12:42:55 PM UTC, original submission:  

default fd5a4b7f59f7

Shortest call:

ctave-build$ ./run-octave -q --no-gui
octave:1> x(1)=1;x/=1
error: A(I): index out of bounds; value 61 out of bound 1


Also from a script:

$ cat vvtest.m
vv(1) = 2;
vv /= 3
$ ./run-octave -q vvtest.m
error: vvtest.m: A(I,J): row index out of bounds; value 61 out of bound 1
error: called from:
error:   /home/andy/src/octave-build/vvtest.m at line 2, column 1

 
If you start octave on interactive mode an run vvtest, the same error is shown.
Now touch the script vvtest.m while octave is running and execute
the script a second one. There is no error shown after this.


octave-build$ ./run-octave -q --no-gui
octave:1> vvtest
error: vvtest: A(I,J): row index out of bounds; value 61 out of bound 1
error: called from:
error:   /home/andy/src/octave-build/vvtest.m at line 2, column 1
octave:1> system("touch vvtest.m");
octave:2> vvtest
vv =  0.66667


The same bug also triggers "surfl(peaks)" to fail.
Regards, Andy

Andreas Weber <andy1978>
Group Member

 

(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 jwe (Posted a comment)
  • -email is unavailable- added by dac922 (Posted a comment)
  • -email is unavailable- added by dac922
  • -email is unavailable- added by andy1978 (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-12 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2013-06-12 dac922 Carbon-Copy- Added jwe

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code