Created attachment 7738 [details] Print output of digikam The attached file is the output of digikam when printing a photo. Ghostscript segfaults with the following command line (PPD file also attached): cat digikam.pdf | PPD=Photosmart-Pro-B8800-series.ppd /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Glossy -sOutputType=2 -r1200x1200 -dDEVICEWIDTHPOINTS=303 -dDEVICEHEIGHTPOINTS=446 -dcupsMediaType=3 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -dcupsInteger0=74 -scupsPageSizeName=Photo4x6.FB -I/usr/share/cups/fonts -c -f -_ > out.raster
Created attachment 7739 [details] PPD file of this example
The segfault is independent of most of the parameters. This minimum command line is enough to reproduce it: cat digikam.pdf | PPD=Photosmart-Pro-B8800-series.ppd /usr/bin/gs -dSAFER -sDEVICE=cups -dDEVICEWIDTHPOINTS=303 -dDEVICEHEIGHTPOINTS=446 -_ > out.raster Removing any more parameter now, or removing the PPD env var setting lets the segfault go away.
Especially removing the -dSAFER or -dPARANOIDSAFER from the sample command lines lets the segfault go away. So the first Ghostscript command line works perfectly well without -dPARANOIDSAFER.
Created attachment 7740 [details] backtrace for full command line
Created attachment 7741 [details] backtrace for simplified command line
Fixed in: b5ef299133e7248ca88819d2fa446828e173ad24 in master, and: a26ed9754118ab5a6027346f2e4d0c41077dfc1c In the gs904 branch.