bugGNU Octave - Bugs: bug #60463, Crashes on "Quit Debug...


bug #60463: Crashes on "Quit Debug Mode" in GUI apps

Submitter:  Wolfgang Platzer <wplatzer>
Submitted:  Wed 28 Apr 2021 06:30:55 AM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  3 - Low Item Group:  Segfault, Bus Error, etc.
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 6.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 28 Apr 2021 09:54:10 PM UTC, comment #3: 

This appears to be a duplicate of bug #57234.

Rik <rik5>
Group administrator
Wed 28 Apr 2021 09:49:04 PM UTC, comment #2: 

Unfontunately, this has been true for a while.  I've known about it, but it just doesn't happen that frequently.  For that reason, I've lowered the priority.

In the meantime, I would use 'dbcont' to escape debugging without triggering the abort call.

Rik <rik5>
Group administrator
Wed 28 Apr 2021 09:15:41 PM UTC, comment #1: 

I can confirm the bug, even using FLTK in single threaded (--no-gui-libs). Here is a simplified test, using the attached tst_fun.m callback:

function retval = tst_fun (h, ~)
  disp (get (h, "type"))

Run the the following at the prompt:

octave:1> uimenu ("label", "toto", "callback", @tst_fun); ## Click the menu
octave:2> stopped in tst_fun at line 2 [/foo/bar/tst_fun.m]
2:   keyboard
keyboard> dbquit
terminate called after throwing an instance of 'octave::quit_debug_exception'
fatal: caught signal Abandon -- stopping myself...
## Press the button

I attached the single threaded back trace.

(file #51331, file #51332)

Pantxo Diribarne <pantxo>
Group Member
Wed 28 Apr 2021 06:30:55 AM UTC, original submission:  

If I debug a .m file with GUI elements Octave always crashes if I click on "Quit Debug Mode" in callback.


  • open attached ui_demo.m
  • set breakpoint to line 152
  • run ui_demo
  • in demo window click on "blue" radio button -> breakpoint hits
  • stop debugging by clicking on "Quit Debug Mode"

-> Octave crashes

This does not happen with Octave 5.2

Wolfgang Platzer <wplatzer>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #51331:  tst_fun.m added by pantxo (81B - text/x-objcsrc)
file #51332:  cli_backtrace.txt added by pantxo (12KiB - text/plain)
file #51329:  ui_demo.m added by wplatzer (8KiB - application/octet-stream)


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by wplatzer (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-04-28 rik5 StatusConfirmed Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #57234
    2021-04-28 rik5 Priority5 - Normal 3 - Low
    2021-04-28 pantxo Attached File- Added tst_fun.m, #51331
        Attached File- Added cli_backtrace.txt, #51332
        CategoryGUI Plotting with OpenGL
        StatusNone Confirmed
        Operating SystemMicrosoft Windows Any
    2021-04-28 wplatzer Attached File- Added ui_demo.m, #51329

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code