Ghostscript command line: /usr/bin/gs :Unrecoverable error: undefined in .putdeviceprops
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GS-GPL |
Fix Released
|
Medium
|
|||
ghostscript (Ubuntu) |
Fix Released
|
High
|
Marc Deslauriers | ||
Trusty |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Xenial |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Bionic |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Cosmic |
Fix Released
|
High
|
Marc Deslauriers |
Bug Description
PDF file data fail to rendering to raster data.
We were reported a bug from our printer users:
I print file use papersize A5 (Ubuntu 16.04.1(
But, after I update (apt-get upgrade) to Ubuntu 16.04.5(
"Filter Error"
I figure out that all the papersize with define "LeadingEdge" can't print success after update.
(with "LeadingEdge":A5, Statement, A4(without "LeadingEdge") is print Okay).
I view the "CUPS Error Log",there is an error reports when print job fails:
"Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=
Unrecoverable error: undefined in .putdeviceprops"
Ubuntu 18.04(x64), Ghostscript 9.22 also have the same problem.
-------
ghostscript had confirm that this a bug of ghostscript 9.22(and the later version).
Below information is the correspondence of ghostscript:
https:/
-------
Our printer driver users(also users of Ubuntu 16.04) can't do their normal print jobs.
So, we are eagerly hopping that you can offer us a patch(Ubuntu 16.04) to fix this bug?
CVE References
affects: | linphone (Ubuntu) → ghostscript (Ubuntu) |
Changed in ghostscript (Ubuntu): | |
importance: | Undecided → High |
Changed in ghostscript (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Till Kamppeter (till-kamppeter) |
Changed in ghostscript (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in gs-gpl: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Created attachment 15946
Research file of ghostscript command test in 9.25.
PDF file data fail to rendering to raster data.
We were reported a bug from our printer users: x64),Ghostscrip t 9.18) is Okay.
I print file use papersize A5 (Ubuntu 16.04.1(
But, after I update (apt-get upgrade) to Ubuntu 16.04.5( x64),Ghostscrip t 9.25, I print the same file with the same driver there is an error reports:
"Filter Error"
I figure out that all the papersize with define "LeadingEdge" can't print success after update.
(with "LeadingEdge":A5, Statement, A4(without "LeadingEdge") is print Okay).
I view the "CUPS Error Log",there is an error reports when print job fails: %stdout -sMediaType=Plain -sOutputType= Pass=1, Direction= 1 -r600x600 -dLeadingEdge=1 -dMediaPosition=7 -dDEVICEWIDTHPO INTS=420 -dDEVICEHEIGHTP OINTS=595 -dcupsBitsPerCo lor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -scupsPageSizeN ame=A5 -I/usr/ share/cups/ fonts -c \'<</.HWMargins [14.400000 14.400000 14.399994 14.400024] /Margins[0 0]>>setpagedevice\' -f -_
"Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=
Unrecoverable error: undefined in .putdeviceprops"
I think that this is a bug of ghostscript 9.25.
Below information are the research of I do:
(I am using Ubuntu 16.04.5( x64),Ghostscrip t 9.25) Pass=1, Direction= 1 -r600x600 -dLeadingEdge=1 -dMediaPosition=7 -dDEVICEWIDTHPO INTS=420 -dDEVICEHEIGHTP OINTS=595 -dcupsBitsPerCo lor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -scupsPageSizeN ame=A5 -o ~/Desktop/ out_A5. prn ~/Desktop/ d00017- 001.pdf
I am running gs command below (with "-dLeadingEdge=1"):
gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sMediaType=Plain -sOutputType=
Reports an error:
Unrecoverable error: undefined in .putdeviceprops
I am running gs command below (without "-dLeadingEdge=1"): Pass=1, Direction= 1 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPO INTS=420 -dDEVICEHEIGHTP OINTS=595 -dcupsBitsPerCo lor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -scupsPageSizeN ame=A5 -o ~/Desktop/ out_A5. prn ~/Desktop/ d00017- 001.pdf
gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sMediaType=Plain -sOutputType=
Reports no error.
Above all, we think this is a bug of ghostscript that ghostscript can't deal with the flag "-dLeadingEdge" on version 9.25 (version 9.18 is Okay.).
My questions are:
1. Do you have any plan to fix it?
2. Is there any workaround?