[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend |
Date: |
Fri, 29 Apr 2016 08:50:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #24, bug #47699 (project octave):
You raised a good point about debugging the callback. That makes me lean
towards the second cset, which had a global flag.
This attached changeset inhibits drawnow during delete regardless of where it
is called from. That solves the "dbnext" problem, but not the "dbquit"
problem. If we dbquit then the deletion is not completed, but the
unwind_protect resets the global flag and so the next redraw will cause
problems.
I toyed with a patch that blocked "dbquit" in that context, but it still
crashes if you "quit" while in debug mode, so I gave up.
However, the only reason it seems to crash is an assert that seems to be
called onlly while closing. The attached changeset replaces that by a warning
so that other clean up (like saving the history) can continue despite there
being some undeleted graphics objects.
(file #37018)
_______________________________________________________
Additional Item Attachment:
File name: bug_47699_fltk_close_v4.cset Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47699>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, (continued)
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Lachlan Andrew, 2016/04/24
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Juan Pablo Carbajal, 2016/04/27
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Juan Pablo Carbajal, 2016/04/27
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Lachlan Andrew, 2016/04/27
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Lachlan Andrew, 2016/04/27
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Rik, 2016/04/27
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Lachlan Andrew, 2016/04/28
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Lachlan Andrew, 2016/04/28
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Rik, 2016/04/28
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Rik, 2016/04/28
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend,
Lachlan Andrew <=
- [Octave-bug-tracker] [bug #47699] FLTK can segfault after using legend, Rik, 2016/04/29