The troubleshoot.txt is a real troubleshoot.txt and not an error_log.
The error_log snippet in it does not contain any job and so it is not
usable. Please attach /etc/cups/cupsd.conf and also the error_log as I
asked you for as two separate uncompressed files (then it is easier for
me to look into them directly out of the browser).

For me Ghostscript sometimes crashed without segfault when running print
jobs with your printer model selection and your files. So probably you
are still suffering the same problem.

I can reproduce the crash without CUPS. To do so, I print your attached
PDF file into a PDF file out of evince (evince re-renders the PDF, it
does not pass it through) and then I run following command line (this is
ONE command line):

cat ~/ghostscript/gpl/testfiles/EntryConditions-evince.pdf |
PPD=/etc/cups/ppd/R220.ppd RIP_MAX_CACHE=1g /usr/bin/gs -dQUIET
-dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr
-sOutputFile=%stdout -I/usr/share/cups/fonts -sMediaClass=Standard
-sMediaType=Plain -r720x360 -dDEVICEWIDTHPOINTS=595
-dDEVICEHEIGHTPOINTS=842 -dcupsBitsPerColor=8 -dcupsColorOrder=0
-dcupsColorSpace=1 -dcupsRowFeed=5 -scupsPageSizeName=A4 -c -f -_ >
out.raster 2>log

Using a smaller RIP_MAX_CACHE the segfault disappears:

cat ~/ghostscript/gpl/testfiles/EntryConditions-evince.pdf |
PPD=/etc/cups/ppd/R220.ppd RIP_MAX_CACHE=64m /usr/bin/gs -dQUIET
-dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr
-sOutputFile=%stdout -I/usr/share/cups/fonts -sMediaClass=Standard
-sMediaType=Plain -r720x360 -dDEVICEWIDTHPOINTS=595
-dDEVICEHEIGHTPOINTS=842 -dcupsBitsPerColor=8 -dcupsColorOrder=0
-dcupsColorSpace=1 -dcupsRowFeed=5 -scupsPageSizeName=A4 -c -f -_ >
out.raster 2>log

So try

cupsctl RIPCache=64m

Note that this is not a perfect solutions, other files segfault with
small RIPCache and work with big RIPCache, as the attached file.

** Attachment added: "PDF file which needs a big RIPCache"
   http://launchpadlibrarian.net/40812563/CityMap.pdf

-- 
gs crashed with SIGSEGV
https://bugs.launchpad.net/bugs/534525
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to