Bug 699713 - Cannot print with HPLIP and ghostscript 9.24
Summary: Cannot print with HPLIP and ghostscript 9.24
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: CUPS driver (show other bugs)
Version: unspecified
Hardware: PC Linux
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-04 18:14 UTC by Frederic Bezies
Modified: 2018-09-05 11:35 UTC (History)
5 users (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Bezies 2018-09-04 18:14:59 UTC
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
Comment 1 Till Kamppeter 2018-09-04 20:29:01 UTC
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?
Comment 2 Chris Liddell (chrisl) 2018-09-04 20:36:04 UTC
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.
Comment 3 Till Kamppeter 2018-09-04 20:47:54 UTC
Chris, did this fix for -dSAFER make it into GS 9.24?
Comment 4 Chris Liddell (chrisl) 2018-09-04 20:49:10 UTC
Yes
Comment 5 Chris Liddell (chrisl) 2018-09-05 07:46:27 UTC
Fixed in:

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bc3df0773fcc
Comment 6 Frederic Bezies 2018-09-05 11:35:31 UTC
(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.