Hello. This bug was opened following this bug on CUPS bug tracker : https://github.com/apple/cups/issues/5394 I wanted to print some documents with a freshly installed ghostscript 9.24 on an Archlinux. But I got an error "filter failed" in cups web interface. Here is the output of gs -dSAFER -dNOPAUSE -dBATCH -sOutputFile=%stdout -sDEVICE=cups -dcupsColorSpace=17 -c "showpage" : GPL Ghostscript 9.24 (2018-03-21) Copyright (C) 2018 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. | ./base/gsicc_manage.c:1863: gsicc_verify_device_profiles(): Mismatch of ICC profiles and device color model | ./base/gsicc_manage.c:1990: gsicc_set_device_profile(): Error in device profiles Unrecoverable error: rangecheck in .putdeviceprops
Chris, is it possible that there is a relation between this bug and the bug reported here: https://github.com/OpenPrinting/cups-filters/issues/59 There also the "cups" device fails, but only if -dSAFER or -dPARANOIDSAFER is used. -dNOSAFER solves the problem described there. Would using -dNOSAFER be a security risk?
Nope, this bug has nothing to do with the SAFER issues. The SAFER issues were fixed with: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0704d18b1031 I have a possible solution for this issue, but I need to check with one of the other engineers before I commit the change.
Chris, did this fix for -dSAFER make it into GS 9.24?
Yes
Fixed in: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bc3df0773fcc
(In reply to Chris Liddell (chrisl) from comment #5) > Fixed in: > > http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bc3df0773fcc Yes, I confirm it. Archlinux produced a new version of ghostscript 9.24 with this patch. No more problems with my printer. Thanks for the fix.