[Top][All Lists]

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

[Octave-bug-tracker] [bug #53054] Variable editor: crash when trying to

From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #53054] Variable editor: crash when trying to edit specific empty struct cells
Date: Sat, 3 Feb 2018 03:50:21 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48


                 Summary: Variable editor: crash when trying to edit specific
empty struct cells
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Sat 03 Feb 2018 09:50:17 AM CET
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



Reproducible on Linux and Windows:

s = struct ("f1", 1.4)
s(2).f2 = true
openvar ('s')

Then in the shown matrix double-click the empty cell (1, 2) ("[0x0 matrix]")
=> opens that cell, fine.
But double-clicking the empty (2, 1) cell leads to an immediate crash.

OK, trying again with one more field:

s = struct ("f1", 1.4)
s(2).f2 = true
s(3).f3 = "Text"

cell (1, 2) is still OK, double-clicking most other empty cells makes Octave

I see no struct field names in the headers. ISTR I did see them in an earlier
revision, but my memory could be a bit mixed up with what Matlab does.

None of the filled struct cells seems to be editable, I get popups along the
lines of 
"failed to evaluate expression: s(1,1) = 1.402'"

Should I open separate bug reports for these "BTW's"? perhaps these are all


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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