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

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

[Octave-bug-tracker] [bug #64072] segfault when calling set with invalid


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #64072] segfault when calling set with invalid parameters
Date: Wed, 19 Apr 2023 22:46:02 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64072>

                 Summary: segfault when calling set with invalid parameters
                   Group: GNU Octave
               Submitter: nrjank
               Submitted: Wed 19 Apr 2023 10:46:00 PM EDT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 19 Apr 2023 10:46:00 PM EDT By: Nicholas Jankowski <nrjank>
as discussed over in bug #39552, recent changes to set cause certain error
conditions to segfault.

simple example with an error in Octave 8.2.0:


>> h = plot(1:10);
>> set(h,2)
error: set: invalid number of arguments


in current default branch:

>> h = plot(1:10);
>> set(h,2)
fatal caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)
*crash*


also not sure exactly what to send to set, but able to be triggered with:

Octave 8.2.0:

>> quiver(1,2,3,4,5,6,7)

-verbatim-

in current default branch:

>> quiver(1,2,3,4,5,6,7)
fatal: caught signal Segmentation fault -- stopping myself
Segmentation fault (core dumped)


Dmitry bisected this back to:


changeset:   31819:4db921b57ace
user:        Rik <rik@octave.org>
date:        Thu Feb 09 16:57:02 2023 -0800
summary:     Extend set() to process any combination of acceptable inputs.


(31818:758de955caca was OK).








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64072>

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




reply via email to

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