I can confirm that on debian unstable I get the evince crash from an inkscape-produced pdf file. I pushed it a bit further and found that:
1. if I use the pdf2pdf script here: https://github.com/marten/dotfiles/blob/master/bin/pdf2pdf
to try to clean it up I can clean up the derived latex document so that evince works on it, but interestingly the pdf file straight out of inkscape's command line export crashes pdf2pdf!
2. on an ubuntu 14.10 machine evince is slow and puts out reports of incorrect pdf, but it doesn't crash
markgalassi@mozart:~/h/misc/teaching/hackingcamp/teacher-manual$ dpkg -l inkscape
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-========================-=================-=================-======================================================
ii inkscape 0.48.5-3 amd64 vector-based drawing program
markgalassi@mozart:~/h/misc/teaching/hackingcamp/teacher-manual$ dpkg -l evince
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-========================-=================-=================-======================================================
ii evince 3.14.1-2 amd64 Document (PostScript, PDF) viewer
Interestingly the pdf2pdf thing which makes it fail is that it runs gs under the hood like this:
but if I don't use the CompatibilityLevel=1.2 option then gs works fine.
I'm attaching the svg file and the Makefile rule I use to get the PDF file is:
%.pdf: %.svg
inkscape --export-pdf=$@ $<
for my own purposes I will exploring using tikz output for my latex documents, but I thought this might help with the bug reports. I'd conclude that it's a problem with both inkscape (which is doing some funky stuff with textures in the pdf file) and with evince (which shouldn't crash!)
I can confirm that on debian unstable I get the evince crash from an inkscape-produced pdf file. I pushed it a bit further and found that:
1. if I use the pdf2pdf script here: https:/ /github. com/marten/ dotfiles/ blob/master/ bin/pdf2pdf
to try to clean it up I can clean up the derived latex document so that evince works on it, but interestingly the pdf file straight out of inkscape's command line export crashes pdf2pdf!
2. on an ubuntu 14.10 machine evince is slow and puts out reports of incorrect pdf, but it doesn't crash
markgalassi@ mozart: ~/h/misc/ teaching/ hackingcamp/ teacher- manual$ dpkg -l inkscape Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= -====== ======= ====-== ======= ======= =-===== ======= ======= ======= ======= ======= ======= ======= mozart: ~/h/misc/ teaching/ hackingcamp/ teacher- manual$ dpkg -l evince Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= -====== ======= ====-== ======= ======= =-===== ======= ======= ======= ======= ======= ======= =======
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii inkscape 0.48.5-3 amd64 vector-based drawing program
markgalassi@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii evince 3.14.1-2 amd64 Document (PostScript, PDF) viewer
Interestingly the pdf2pdf thing which makes it fail is that it runs gs under the hood like this:
markgalassi@ mozart: ~/h/misc/ teaching/ hackingcamp/ teacher- manual$ gs -dCompatibility Level=1. 2 -q -dNOPAUSE -dSAFER -sDEVICE=pdfwrite -sOutputFile= software- layers- clean.pdf software-layers.pdf mozart: ~/h/misc/ teaching/ hackingcamp/ teacher- manual$
Segmentation fault
markgalassi@
but if I don't use the CompatibilityLe vel=1.2 option then gs works fine.
I'm attaching the svg file and the Makefile rule I use to get the PDF file is:
%.pdf: %.svg
inkscape --export-pdf=$@ $<
for my own purposes I will exploring using tikz output for my latex documents, but I thought this might help with the bug reports. I'd conclude that it's a problem with both inkscape (which is doing some funky stuff with textures in the pdf file) and with evince (which shouldn't crash!)