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

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

[Octave-bug-tracker] [bug #57234] 'dbquit' in graphics system callback f


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57234] 'dbquit' in graphics system callback function can cause segfault
Date: Sat, 7 Dec 2019 10:43:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #10, bug #57234 (project octave):

Here's another way to demonstrate the problem.  Define the following function
(can be at the command line):


function fff ()
  remove_input_event_hook ("fff");
  error ("foobar!");
endfunction


then execute


debug_on_error (true);
add_input_event_hook ("fff");


that should put you at a debug prompt.  Then enter a dbquit command and Octave
will crash with


terminate called after throwing an instance of 'octave::quit_debug_exception'


I'm working on a fix so that quit_debug_exception is handled properly when it
is thrown from a function that is executed in the readline event loop.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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