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: Sahil Yadav
Subject: [Octave-bug-tracker] [bug #52998] Segmentation fault for OpenGL printing of non-visible figures
Date: Mon, 29 Jan 2018 02:51:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36

Follow-up Comment #1, bug #52998 (project octave):

I have also noticed a problem related to print lately:

When printing something to a printer, if the printer doesn't exist, octave
exits with SIGABRT (signal 6).

The output for version 4.0.0 is (which works fine in handling the exception):


>> clf()
>> surf(peaks)
>> print -dpswrite -PPS_printer
lpr: PS_printer: unknown printer
warning: broken pipe

>>


While the output for version 4.2.1 (stable) is : 


octave:1> clf()
octave:2> surf(peaks)
octave:3> print -dpswrite -PPS_printer
lpr: PS_printer: unknown printer
warning: broken pipe
error: gl2ps_renderer::draw: internal pipe error
terminate called after throwing an instance of 'octave::execution_exception'
panic: Aborted -- stopping myself...


Whereas, the following was the output for the dev branch:


octave:1> clf()
octave:2> surf(peaks)
octave:3> print -dpswrite -PPS_printer
lpr: PS_printer: unknown printer
  ./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find
default_gray.icc 
| ./base/gsicc_manage.c:1708: gsicc_set_device_profile(): cannot find device
profile
arg_st =

  scalar structure containing the fields:

    append_to_file = 0
    canvas_size = [](0x0)
    debug = 0
    debug_file = octave-print-commands.log
    devopt = pswrite
    epstool_binary = /usr/bin/epstool
    figure =  1
    fig2dev_binary = /usr/bin/fig2dev
    fontsize = 
    font = 
    scalefontsize =  1
    force_solid = 0
    formatted_for_printing = 0
    ghostscript =

      scalar structure containing the fields:

        binary = /usr/bin/gs
        debug = 0
        device = 
        epscrop = 1
        level =  2
        output = 
        papersize = 
        pageoffset = [](0x0)
        resolution =  150
        antialiasing = 0
        antialiasing_textalphabits =  4
        antialiasing_graphicsalphabits =  1

    loose = 0
    lpr_binary = /usr/bin/lpr
    name = 
    orientation = 
    pstoedit_binary = /usr/bin/pstoedit
    preview = 
    printer = -PPS_printer
    send_to_printer = 0
    special_flag = textnormal
    tight_flag = 0
    use_color = 0
    lpr_options = -l
    unlink = {}(0x0)

error: gl2ps_renderer::draw: internal pipe error
terminate called after throwing an instance of 'octave::execution_exception'
fatal: caught signal Aborted -- stopping myself...


I could've posted it as a new bug but thought of it as almost the same problem
that you encoutered and so posted it here as a comment. 
 


    _______________________________________________________

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]