bugGNU Octave - Bugs: bug #54455, Warning when save containers.Map,...

 
 

bug #54455: Warning when save containers.Map, segfault whn load containers.Map

Submitter:  Stephan Gebauer <stephan_ii>
Submitted:  Mon 06 Aug 2018 06:10:22 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 Aug 2018 06:23:57 PM UTC, comment #1: 

Thank you for the bug report. This has been reported as bug #54319, and the crash on load has already been addressed for the next bug fix release of Octave (4.4.1).

The feature request to allow full support for loading and saving of classdef objects is open bug #45833.

Closing as a duplicate bug report.

Mike Miller <mtmiller>
Group Member
Mon 06 Aug 2018 06:10:22 PM UTC, original submission:  

Hi,

i started to using containers.Map, and found its not possible
to save/load the container. i case of loading octave immediately shut down (disapears suddenly)

when i run this code:

keys = {'six','seven','eight','nine'};
vals = {6,7,8,9};
myMap = containers.Map(keys,vals);

i try to save myMap container, with

save('myworkspace.txt')

i got the error message:

error: octave_base_value::save_ascii(): wrong type argument 'object'

when i save with:

save -v7 'test.mat' 'myMap'


i got following warning:

warning: struct: converting a classdef object into a struct overrides the access restrictions defined for properties. All properties are returned, including private and protected ones.
warning: struct: converting a classdef object into a struct overrides the access restrictions defined for properties. All properties are returned, including private and protected ones.

but when i try to load the resulting test.mat with:

load test.mat

 then Octave disapears (suddenly closed, soemthing like segfault or something)









Stephan Gebauer <stephan_ii>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by stephan_ii (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
    2018-08-06 mtmiller Dependencies- Depends on bugs #45833
    2018-08-06 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #54319

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code