bugGNU Octave - Bugs: bug #32321, Vector corrupted after save/load

 
 

bug #32321: Vector corrupted after save/load

Submitter:  Chong Yidong <cyd>
Submitted:  Tue 01 Feb 2011 09:02:52 PM UTC
   
 
Category:  None Severity:  5 - Blocker
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Chong Yidong Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Feb 2011 08:41:13 AM UTC, comment #2: 

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/731a0b589cab

This change fixes the problem for me, so I'm closing this report.

John W. Eaton <jwe>
Group administrator
Tue 01 Feb 2011 09:31:20 PM UTC, comment #1: 

This problem is unfortunately still present in my current build.

I'm tagging it as a blocker because it should definitely be fixed before the upcoming 3.4 release.

John W. Eaton <jwe>
Group administrator
Tue 01 Feb 2011 09:02:52 PM UTC, original submission:  

I've observed this in Octave version 3.2.3 and 3.2.4; haven't had the chance to try 3.3.x yet:

a = 0 + (1:2)
save ("-binary", "a.data", "a");
load ("-binary", "a.data", "a");
a

Result:
a =

   1   2

a =

   1   2   3

The vector "a" has changed after saving to disk and reloading.

Chong Yidong <cyd>

 

(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 cyd (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-02 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2011-02-01 jwe Severity3 - Normal 5 - Blocker
        Release3.2.4 dev

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code