bugGNU Octave - Bugs: bug #46197, print causes octvate to crash

 
 

bug #46197: print causes octvate to crash

Submitted by:  None
Submitted on:  Tue 13 Oct 2015 09:30:39 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: Need InfoAssigned to: None
Originator Name: Mikael FremlingOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 29 Jan 2016 04:05:42 AM UTC, comment #7:

Since this comes up so often, would it be worth implementing the "visible off" workaround automatically "behind the scenes" until mesa fixes the underlying bug?

Does any of you know how to identify which systems the bug will apply to? In the worst case, it could just turn visible off before printing and on afterwards for all systems.

Lachlan Andrew <lachlan>
Project Member
Fri 23 Oct 2015 03:27:26 PM UTC, comment #6:

Yes, unfortunately this tells you are using a currently buggy driver for your hardware. As explained by Michael in comment #1 the workaround is to first turn your figure invisible, print and then turn it back visible.

Pantxo Diribarne <pantxo>
Project Member
Fri 23 Oct 2015 02:13:55 PM UTC, comment #5:

For now the workaround will have to be to disable the opengl rendering and fall back to gnuplot

graphics_toolkit ("gnuplot")

glxinfo says among other thing that:
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)

Is this helpfull?

Anonymous
Thu 22 Oct 2015 10:25:35 AM UTC, comment #4:

Hi,

The warning you are seeing is probably iniquitous, it just tells you that if you try to zoom, the zoom.m function from the plot package will be run instead of the core Octave one. If you want to get rid of it, simply unload the "plot" package:

What we need to know about your hardware is the driver you use for opengl rendering.

@Michael G: can you provide verbatim a command that the OP can run in a terminal to know if he is using HD500/6000 board and MESA driver? Those are known to cause problems when printing (and clicking in a figure).

Pantxo Diribarne <pantxo>
Project Member
Thu 22 Oct 2015 09:58:36 AM UTC, comment #3:

I don't know if this is relevand but i get a warning regarding the zoom fuction on startup

warning: function /usr/share/octave/packages/plot-1.1.0/zoom.m shadows a core library function
warning: called from
load_packages_and_dependencies at line 47 column 5
load_packages at line 60 column 3
pkg at line 422 column 7
/usr/share/octave/4.0.0/m/startup/octaverc at line 22 column 1

(attaching hardware specs as appended file)

Anonymous
Sat 17 Oct 2015 07:26:16 AM UTC, comment #2:

I'll close this report as the OP did not provide the informations on his video hardware necessary to diagnose this bug.

Pantxo Diribarne <pantxo>
Project Member
Tue 13 Oct 2015 09:54:42 AM UTC, comment #1:

You might take a look at bug #45348

This is an outstanding problem in the mesa drivers for
some hardware. It would help if you reported your
hardware, particularly the video.

In any case, the workaround is:
set(gcf(), "visible", "off")
print q.pdf
set(gcf(), "visible", "on");

Michael Godfrey <godfrey>
Project Member
Tue 13 Oct 2015 09:30:39 AM UTC, original submission:

I have had this problem also in octave 3.8.
I can generate plots as expected but whenever i try to save them octave crashes.

I don't not get any more infomation than what is included bellow. (attaching the octave-workspace)

Any ideas?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #35257:  specs.txt added by None (15KiB - text/plain - Full specs of system)
file #35177:  octave-workspace added by None (33B - application/octet-stream - The octave workspace file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 22 Oct 2015 09:59:24 AM UTCNoneAttached File-=>Added specs.txt, #35257
    Sat 17 Oct 2015 07:26:16 AM UTCpantxoStatusNone=>Need Info
      Open/ClosedOpen=>Closed
    Tue 13 Oct 2015 09:30:39 AM UTCNoneAttached File-=>Added octave-workspace, #35177

    Back to the top


    Powered by Savane 3.1-cleanup1