octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54455] Warning when save containers.Map, segf


From: Stephan Gebauer
Subject: [Octave-bug-tracker] [bug #54455] Warning when save containers.Map, segfault whn load containers.Map
Date: Mon, 6 Aug 2018 14:10:24 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

URL:
  <http://savannah.gnu.org/bugs/?54455>

                 Summary: Warning when save containers.Map, segfault whn load
containers.Map
                 Project: GNU Octave
            Submitted by: 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
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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)













    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54455>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]