[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64072] segfault when calling set with invalid
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters |
Date: |
Thu, 20 Apr 2023 16:45:58 -0400 (EDT) |
Follow-up Comment #5, bug #64072 (project octave):
I was trying to give more information about where in the input stream the
problem was. A generic message would just be "invalid syntax", but wouldn't
help as much in debugging.
For example,
h = plot (1:10);
set (h, 'color', 'b', 2)
That is invalid syntax, even though the first name/value pair is correct. I
thought it was helpful that the error message would say that the problem was
in input #4 in this case.
I suppose the input validation within Fset could be increased and you could
have two specific errors here:
1) property "NAME" must be followed by a value
2) cell array of strings {"PROPERTIES"} must be followed by a cell array of
values.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64072>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Nicholas Jankowski, 2023/04/19
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Rik, 2023/04/20
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Rik, 2023/04/20
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Dmitri A. Sergatskov, 2023/04/20
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Dmitri A. Sergatskov, 2023/04/20
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters,
Rik <=
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Nicholas Jankowski, 2023/04/20
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Rik, 2023/04/20
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Nicholas Jankowski, 2023/04/20
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Rik, 2023/04/21
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, John W. Eaton, 2023/04/21
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Rik, 2023/04/21
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Nicholas Jankowski, 2023/04/21
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, John W. Eaton, 2023/04/21
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Rik, 2023/04/25
- [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters, Rik, 2023/04/30