[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41747] Octave crashes if you try to plot and
From: |
Andreas Weber |
Subject: |
[Octave-bug-tracker] [bug #41747] Octave crashes if you try to plot and your video card is not configured for OpenGL |
Date: |
Thu, 01 Jan 2015 20:01:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.3.0 |
Update of bug #41747 (project octave):
Status: Confirmed => Patch Submitted
Assigned to: None => andy1978
_______________________________________________________
Follow-up Comment #5:
I would suggest this patch for stable:
+++ b/libinterp/dldfcn/__init_fltk__.cc Thu Jan 01 20:56:15 2015 +0100
@@ -929,7 +929,9 @@
void show_canvas (void)
{
- if (fp.is_visible ())
+ if (! canvas->can_do ())
+ error ("unable to plot due to insufficient GL support");
+ else if (fp.is_visible ())
{
canvas->show ();
canvas->make_current ();
This should also avoid the segfault in #43183 which I've marked as duplicate
of this report.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41747>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41747] Octave crashes if you try to plot and your video card is not configured for OpenGL,
Andreas Weber <=