bugGNU Octave - Bugs: bug #47958, GUI freezes when starting debug...


bug #47958: GUI freezes when starting debug with a partly drawn Qt figure

Submitted by:  Lachlan Andrew <lachlan>
Submitted on:  Thu 19 May 2016 11:24:20 AM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Confirmed Assigned to:  None
Originator Name:  Lachlan Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 11 Aug 2016 05:25:35 PM UTC, comment #2:

This isn't great, but it is a fairly rare occurrence. I am downgrading the severity of this bug to 3 so it does not block the 4.2 release.

Rik <rik5>
Project Administrator
Fri 15 Jul 2016 10:17:52 PM UTC, comment #1:

Verified, 7/15/16, this code still hangs the GUI.

Rik <rik5>
Project Administrator
Thu 19 May 2016 11:24:20 AM UTC, original submission:

When running from the GUI, the code

causes the GUI to hang, requiring ^C from the lauching terminal or "force quit" from the window manager. (Is "crash" the right item group for this?)

Running under gdb gives the following unhelpful stack trace:

This doesn't occur with FLTK or gnuplot.

If it is run with --no-gui, then the interpreter remains responsive, but the figure window seems to hang (it doesn't redraw on expose events) until debug mode is exited. After that, it returns to normal.

With "dbstop image 201", i.e., the line

running these commands and then typing "dbcont" doesn't cause the freeze. I thought it may have something to do with the redraw caused by going to the prompt, but putting an explicit "drawnow" before that line doesn't help. Perhaps it is a timing issue -- however it is more reproducible than I'd expect from a race condition.

Lachlan Andrew <lachlan>


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

Attach Files:

No files currently attached


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by lachlan (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-11 rik5 Severity4 - Important => 3 - Normal
        StatusNone => Confirmed
    2016-07-01 rik5 Severity3 - Normal => 4 - Important
    2016-06-23 lachlan Dependencies- => bugs #48296 is dependent

    Back to the top

    Powered by Savane 3.3