bugGNU Octave - Bugs: bug #45348, print file.eps or any other suffix...

 
 

bug #45348: print file.eps or any other suffix causes mesa abort with Intel HD6000 drivers

Submitter:  Michael Godfrey <godfrey>
Submitted:  Thu 18 Jun 2015 11:10:10 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:  Godfrey Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 13 Oct 2015 11:48:44 PM UTC, comment #5: 

I noticed that the new mesa libs produce a different
dump from before:
++vebatim++

>> print zzz.pdf

panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Error: /syntaxerror in -file-
Operand stack:
   STnoshfill
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1951   1   3   %oparray_pop   1950   1   3   %oparray_pop   --nostringval--   1934   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
Dictionary stack:
   -Segmentation fault (core dumped)
-dict:1192/1684(ro)(G)--   --dict:0/20(G)--   --dict:83/200(L)--   --dict:37/64(L)--
Current allocation mode is local
Last OS error: Not a directory
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
_verbatim_
Notice the STnoshfill at the top of the dump.
This is a symbol defined in Binary file /usr/lib64/./libgl2ps.so.1.3.8
This suggests that it is a call to gl2ps that causes the seg fault.

This is not all that helpful, but it may suggest something to whoever
knows how gl2ps is used in the print process.

Tell me if a full bt would be helpful.


Michael Godfrey <godfrey>
Group Member
Mon 12 Oct 2015 11:15:17 PM UTC, comment #4: 

The mesa... files were just updated on Fedora 22, but
the seg fault is still present for Intel HD6000 hardware...
I assume that the bug report to them is still outstanding.

Michael Godfrey <godfrey>
Group Member
Fri 19 Jun 2015 04:26:22 PM UTC, comment #3: 

This definitely not an Octave bug. Maybe it would
be best to re-title it to include Intel HD 6000 so
that others are less likely to duplicate it.

And, anyhow, close it.

I just checked and the Intel HD 5000 graphics works
just fine. And, the assert that causes the crash was only
added very recently, so on the HD 6000 the appearance of
it working seems to have included some serious buffer
mismanagement.

Michael Godfrey <godfrey>
Group Member
Fri 19 Jun 2015 04:17:37 PM UTC, comment #2: 

Do you want to close the report since there is little Octave can do?  Do you want to re-title to mention HD6000 drivers and Mesa versions involved?

Rik <rik5>
Group administrator
Thu 18 Jun 2015 11:45:03 AM UTC, comment #1: 

This does appear to be specific to my HD 6000 graphics.
print works correctly on FC22 system with mesa 10.5.4-1
but other graphics hardware (radeon).

So, this does not deserve much concern with respect to
Octave and the drivers for HD 6000 are obviously still
unstable, so best to be patient.

Michael Godfrey <godfrey>
Group Member
Thu 18 Jun 2015 11:10:10 AM UTC, original submission:  

Use of print with a visible plot always crashes.

The system messages is:
vbo/vbo_exec_draw.c:278: vbo_exec_vtx_unmap: Assertion `exec->vtx.buffer_ptr != ((void *)0)' failed.

This appears to have started with mesa 10.5.4-1 and
still happens with mesa 10.5.7

If figure(1, "visible", "off");
is used the output is generated orrectly.


Of course, this may be specific to the drivers for Intel HD 6000
graphics which seem to be fairly unstable.

Michael Godfrey <godfrey>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by godfrey (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-19 rik5 Open/ClosedOpen Closed
        Summaryprint file.eps or any other suffix causes mesa abort print file.eps or any other suffix causes mesa abort with Intel HD6000 drivers

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code