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

 
 

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

Submitted by:  Stephan Gebauer <stephan_ii>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5