FS#59959 - ghostscript 9.24-2 exits with error on conversion pdf -> ps, might inhibit CUPS printing

Attached to Project: Arch Linux
Opened by Pepe Gnu (pepegnu) - Thursday, 06 September 2018, 12:20 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 07 September 2018, 17:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

ghostscript 9.24-2 converts postscript from pdf but exits with error.

Detected because it inhibits CUPS to print on an ipp connected postscript printer,
Head of /var/log/cups/error_log being:

E [06/Sep/2018:13:02:55 +0200] [Job 108] Job stopped due to filter errors; please consult the error_log file for details.
D [06/Sep/2018:13:02:55 +0200] [Job 108] The following messages were recorded from 01:02:54 PM to 01:02:55 PM
D [06/Sep/2018:13:02:55 +0200] [Job 108] last-document boolean true
D [06/Sep/2018:13:02:55 +0200] [Job 108] document-format mimeMediaType application/vnd.cups-postscript
D [06/Sep/2018:13:02:55 +0200] [Job 108] compression keyword none
D [06/Sep/2018:13:02:55 +0200] [Job 108] ---- end-of-attributes-tag ----
D [06/Sep/2018:13:02:55 +0200] [Job 108] Pages 12, Duplex None, Color CMYK, Size A4
....

Additional info:

Seems to be related to:
Bug 695873 - ghostscript can't find the Resource directory and the ICC profiles director
(https://bugs.ghostscript.com/show_bug.cgi?id=695873)

* package version(s)

ghostscript 9.24-2

* config and/or log files etc.

None

Steps to reproduce:

Easiest, probably, by (tested on a fully updated Arch rolling, Linux i5 4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018 x86_64 GNU/Linux):

pdf2ps dummy.pdf

This produces dummy.ps, but exits with error throwing:

./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_rgb.icc
| ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
Error: /rangecheck in .installpagedevice
Operand stack:
--nostringval-- --dict:205/211(ro)(L)-- --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 2015 1 3 %oparray_pop 2014 1 3 %oparray_pop 1998 1 3 %oparray_pop --nostringval-- 1936 1 4 %oparray_pop --nostringval-- 1920 1 4 %oparray_pop --nostringval-- --nostringval--
Dictionary stack:
--dict:967/1684(ro)(G)-- --dict:1/20(G)-- --dict:78/200(L)-- --dict:78/200(L)--
Current allocation mode is local
GPL Ghostscript 9.24: Unrecoverable error, exit code 1
./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc
| ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 07 September 2018, 17:37 GMT
Reason for closing:  Fixed
Comment by Andrey Kashlak (andreymal) - Thursday, 06 September 2018, 12:32 GMT
I have the same problem with any job (printer test page also does not work)

Downgrade to ghostscript 9.23-3 works good (but this is vulnerable ghostscript)
Comment by Andreas Radke (AndyRTR) - Thursday, 06 September 2018, 15:25 GMT
Please try 9.24-4 in testing. If it keeps crashing please report it to the upstream bugtracker.
Comment by Andrey Kashlak (andreymal) - Thursday, 06 September 2018, 15:31 GMT
9.24-4 still does not work for me

Perhaps https://bugs.ghostscript.com/show_bug.cgi?id=699724 is the same bug
Comment by Darrell (0strodamus) - Thursday, 06 September 2018, 20:41 GMT Comment by Andreas Radke (AndyRTR) - Friday, 07 September 2018, 15:47 GMT
Please try 9.24-5 in testing repo.
Comment by Chris Severance (severach) - Friday, 07 September 2018, 16:06 GMT Comment by Sergej Pupykin (sergej) - Friday, 07 September 2018, 17:09 GMT
confirm that 9.24-5 fixes it (HP LaserJet)

Loading...