On Nov 4, 2016, at 06:47:12, Tom Kacvinsky
wrote: On Nov 4, 2016, at 03:05:49, Dave Plater
wrote: On 03/11/2016 20:41, Tom Kacvinsky wrote:
On Nov 3, 2016, at 13:50:42, Tom Kacvinsky
wrote: <snip/> I am no longer convinced that this is a ghostscript/gv problem, at least for evince. I am using evince-3.14.2-2.8.x86_64.
Here is the relevant tidbit that makes me think this:
Thread 1 "evince" received signal SIGSEGV, Segmentation fault. INT_cairo_surface_set_device_scale (surface=0x0, x_scale=1, y_scale=1) at cairo-surface.c:1712 1712 if (unlikely (surface->status)) (gdb) p surface $1 = (cairo_surface_t *) 0x0
We are de-referencing a NULL pointer, so bad values are being passed into the cairo library. Why this doesn't happen with PDF files but does for PS and EPS, I don't know.
Looking into issues with okular now, I can reproduce the problem there and I believe that this is a gv problem. Looking into to it now. Yes, the okular problem is definitely Ghostscript based. I had to rebuild Ghostscript 9.20 so that libgs.so - needed by spectre, the PS rendering library used by okular - was built. Once I did that and set LD_LIBRARY_PATH to locate this newly built library, okular did the right thing and displayed tiger.eps
It turns out the problem with evince is also Ghostscript based, unlike my previous suspicion that it wasn't. evince depends on libgs. I found this by looking at /proc/<evince pid>/maps. It is an indirect dependency but I haven't found exactly what requires libgs.
In the end, I really think Leap should get an updated version of Ghostscript.
Tom
You need to file a bug and add this information.
Done.
Known bug, marked as duplicate. Fix until official release comes out is this: You can easily fix it yourself though until an update is released: Open the file /usr/share/ghostscript/9.15/Resource/Init/gs_init.ps in a text editor (as root), and change line#2024 to: systemdict /getenv {pop //false} .forceput (i.e. replace "put" with ".forceput") -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org