[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when fig
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again |
Date: |
Sun, 01 Mar 2015 14:58:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 |
Update of bug #44330 (project octave):
Status: Confirmed => Patch Submitted
_______________________________________________________
Follow-up Comment #6:
I'm attaching a patch to try. I'm not sure if it is the right thing to do,
but it appears to avoid the problem for me. I see now other good way to
handle this issue, but maybe someone else will have some ideas.
I also don't understand why this isn't an issue with the fltk widgets. I
would expect the close request callback to be processed until after the second
call to figure in both cases, and by that point, I'm not sure what will happen
since it seems things would be out of order (close was supposed to be called
for figure 1, but the second call to figure creates a new figure with handle
1. Maybe one part of the problem is that we should be using a real
handle/pointer internally instead of the integer figure number. That way,
close (h) could look up the real handler/pointer immediately and the callback
would operate on that object, not whatever object "1" happens to refer to
later.
(file #33219)
_______________________________________________________
Additional Item Attachment:
File name: diffs.txt Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44330>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, Rik, 2015/03/01
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, John W. Eaton, 2015/03/01
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, anonymous, 2015/03/01
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again,
John W. Eaton <=
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, jsh, 2015/03/01
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, Rik, 2015/03/02
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, John W. Eaton, 2015/03/02
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, Pantxo Diribarne, 2015/03/08
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, Rik, 2015/03/10
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, John W. Eaton, 2015/03/12
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, Rik, 2015/03/12
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, John W. Eaton, 2015/03/12
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, Rik, 2015/03/12
- [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again, John W. Eaton, 2015/03/12