Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1687183 - ghostscript upgrade 9.26.1 breaks printing
Summary: ghostscript upgrade 9.26.1 breaks printing
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 28
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Osvald 🛹
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-10 18:20 UTC by texrexter
Modified: 2019-03-12 01:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
cupsd debug2 log (deleted)
2019-03-12 01:10 UTC, texrexter
no flags Details
cupsd strace output (deleted)
2019-03-12 01:12 UTC, texrexter
no flags Details

Description texrexter 2019-03-10 18:20:51 UTC
Description of problem:
Printing from Chrome is broken after upgrade to ghostscript-9.26-1.fc28.x86_64.   Downgrading to ghostscript-9.23-1.fc28.x86_64 resolves the issue.

Version-Release number of selected component (if applicable):

ghostscript-9.26-1.fc28.x86_64

How reproducible:
Print any page from Chrome google-chrome-stable-72.0.3626.121-1.x86_64

Steps to Reproduce:
1.
2.
3.

Actual results:
Nothing printed.  Either lpq or lpstat (sorry, can't remember which) shows that "filter failed"


Expected results:


Additional info:

Here is some ps output.  The output shows when I tried to restart the print job from the control center.  

 username 22219  9345 22219  9225 Sun Mar 10 11:35:55 2019 -                            00:00:13 gnome-control-center
S lp       22288  2695 22288 22288 Sun Mar 10 11:36:31 2019 -                            00:00:00 /usr/lib/cups/notifier/dbus dbus://
S lp       22290  2695 22290 22290 Sun Mar 10 11:36:31 2019 -                            00:00:00 Stylus-CX5000 150 username New Tab 1 PageSize=Letter Collate ColorModel=CMYK Duplex=None job-uuid=urn:uuid:4bffbcb5-3ed3-3172-6afb-a71b748731f4 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1552234419 time-at-processing=1552235792
S lp       22291  2695 22291 22291 Sun Mar 10 11:36:31 2019 -                            00:00:00 Stylus-CX5000 150 username New Tab 1 PageSize=Letter Collate ColorModel=CMYK Duplex=None job-uuid=urn:uuid:4bffbcb5-3ed3-3172-6afb-a71b748731f4 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1552234419 time-at-processing=1552235792
S lp       22292  2695 22292 22292 Sun Mar 10 11:36:31 2019 -                            00:00:00 usb://EPSON/Stylus%20CX5000?serial=006040607251800100&interface=1 150 username New Tab 1 PageSize=Letter Collate ColorModel=CMYK Duplex=None job-uuid=urn:uuid:4bffbcb5-3ed3-3172-6afb-a71b748731f4 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1552234419 time-at-p
Z lp       22296 22290 22296 22290 Sun Mar 10 11:36:31 2019 -                            00:00:00 [gs] <defunct>

Comment 1 Martin Osvald 🛹 2019-03-11 07:21:05 UTC
Hello,

thank you for reporting this problem!


To investigate this problem further, please, may I ask you to perform the below steps and attach the resulting files? (Note: all the commands need to be run under user root and the affected version ghostscript-9.26-1.fc28.x86_64 installed)

1. Set cupsd logging level from 'warn' to 'debug2' in /etc/cups/cupsd.conf:

~~~
LogLevel debug2
~~~

2. Restart cupsd:

~~~
# systemctl restart cups
~~~

3. On some terminal, execute the below strace command (and let it running):

~~~
# strace -qfTttvys 4096 -o cupsd-strace.log -p `pidof cupsd`
~~~

4. Print some page through chrome (or perform the same steps which led to the reported problem).

5. As soon as it fails, terminate the strace command by ctrl-c and execute the below command:

~~~
# journalctl -u cups -e &> cupsd.log
~~~

6. Now attach the below resulting files to this Bugzilla:

- cupsd-strace.log
- cupsd.log

7. Now you can set the cups log level back to 'warn' again.


Otherwise, you mention that problematic version is ghostscript-9.26-1.fc28 and downgrading to ghostscript-9.23-1.fc28 solved your problem, but I am wondering whether ghostscript-9.25-1.fc28 is failing for you too or is ghostscript-9.23-1.fc28 the most recent version which works for you?

Thank you and regards,
-Martin

Comment 2 texrexter 2019-03-12 01:10:36 UTC
Created attachment 1543089 [details]
cupsd debug2 log

Comment 3 texrexter 2019-03-12 01:12:03 UTC
Created attachment 1543090 [details]
cupsd strace output

Comment 4 texrexter 2019-03-12 01:19:54 UTC
Martin,
Please see the attached files as requested.  I did not try other versions of ghostscript.  I simply allowed dnf to upgrade and downgrade for me.   However, when I went to re-upgrade to 9.26.1 in the dnf gui tool, it showed 9.24.4 (I believe) as the version it was requesting me to upgrade to.  So, I ran "dnf upgrade  ghostscript-9.26-1.fc28.x86_64" from the command line instead.

I can try other versions if you tell me what you would like to see.  I figured there was nothing between 9.23.1 and 9.26.1 in the repo.


Note You need to log in before you can comment on or make changes to this bug.