[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus er
From: |
Søren Hauberg |
Subject: |
[Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error |
Date: |
Mon, 07 Feb 2011 08:33:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; da-DK; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 |
Follow-up Comment #20, bug #31931 (project octave):
I don't know the code well enough to have say if your patch is correct or
not. It seems like some OpenGL implementations don't care if a GL context is
available, while others crash if one is not. At least my version of FLTK seems
to only create a context when we call 'Fl_Window::show ()', which means that
the current code is bound to crash when working with invisible figures.
I came up with the attached patch which fixes things for me. It is quite
similar to the ones suggested by JWE. However, as I said I don't know the code
well enough to make an informed decision here :-(
Søren
(file #22617)
_______________________________________________________
Additional Item Attachment:
File name: fltk_context_crash.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31931>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error, Søren Hauberg, 2011/02/06
- [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error, John W. Eaton, 2011/02/07
- [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error, John W. Eaton, 2011/02/07
- [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error,
Søren Hauberg <=
- [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error, Ben Abbott, 2011/02/07
- [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error, Ben Abbott, 2011/02/07
- [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error, Ben Abbott, 2011/02/07