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

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

[Octave-bug-tracker] [bug #52998] Segmentation fault for OpenGL printing


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52998] Segmentation fault for OpenGL printing of non-visible figures
Date: Mon, 29 Jan 2018 01:24:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52998>

                 Summary: Segmentation fault for OpenGL printing of
non-visible figures
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Mon 29 Jan 2018 06:24:11 AM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Both Qt and FLTK toolkits are crashing with the following (changeset:
24636:9d01ce02d5cb) :


octave:1> graphics_toolkit qt
octave:2> set(gcf, 'visible', 'off')
octave:3> plot(1:50)
octave:4> print junk.pdf
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault



octave:1> graphics_toolkit fltk
octave:2> set(gcf, 'visible', 'off')
octave:3> plot(1:50)
octave:4> print junk.pdf
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault


while gnuplot toolkit seems to work


octave:1> graphics_toolkit gnuplot
octave:2> set(gcf, 'visible', 'off')
octave:3> plot(1:50)
octave:4> print junk.pdf
octave:5> exit


Here might be a clue from FLTK toolkit:


octave:1> graphics_toolkit fltk
octave:2> plot (1:10, 'o-')
octave:3> set(gcf, 'visible', 'off')
octave:4> print tst.pdf
error: __osmesa_print__: Depth and stencil doesn't match, are you sure you are
using OSMesa >= 9.0?
error: called from
    __opengl_print__ at line 161 column 7
    print at line 552 column 14
octave:4> exit


while for Qt toolkit this also produces a crash:


octave:1> graphics_toolkit qt
octave:2> plot (1:10, 'o-')
octave:3> set(gcf, 'visible', 'off')
octave:4> print tst.pdf
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault


I noted the changeset above (24636:9d01ce02d5cb) because there is some
activity around this time regarding "print" (
http://savannah.gnu.org/bugs/?52940 ) that could fix this issue for at least
Qt toolkit.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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