octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus er


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error
Date: Mon, 07 Feb 2011 08:00:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16)

Follow-up Comment #18, bug #31931 (project octave):

Does the attached patch help?

I don't see the crash with


graphics_toolkit fltk
figure 


alone, but I do see a crash with the figure window invisible.

With the patch, I am able to do


graphics_toolkit fltk
figure (1, 'visible', 'off')
sombrero
print -depsc foo.ps


without a crash, but of course the file foo.ps is empty because we can
apparently only print things that are shown on the screen.  I think that will
eventually have to be fixed by generating PostScript (or other) output
directly from the figure properties instead of trying to generate output from
an OpenGL window.

But anyway, that is a separate issue.

So, should I apply the patch for 3.4?

I have no idea whether it makes sense to make the canvas current before
hiding it, but apparently that avoids trouble for you, right?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31931>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]