Bug 445555

Summary: Busy-loop when CUPS backend fails
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: foomaticAssignee: Tim Waugh <twaugh>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-28 18:41:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235704    

Description Tim Waugh 2008-05-07 15:36:18 UTC
Description of problem:
The foomatic-rip filter can go into a busy loop when the CUPS backend fails. 
Observed with an smb://... URI for a password-protected share, with the
gutenprint-ijs-simplified foomatic driver for an Epson Stylus D68.

Version-Release number of selected component (if applicable):
foomatic-3.0.2-59.fc8

How reproducible:
100%

Steps to Reproduce:
1.Set up an smb:// queue with no auth info in the URI, pointing at a share that
is set to refuse guest logins.
2.Use the recommended Epson Stylus D68 PPD, i.e. gutenprint-ijs-simplified
(foomatic).
3.Print a job.
4.Run 'top' and observe CPU usage.
  
Actual results:
foomatic-rip is busy-looping

Additional info:
It's because the foomatic renderer process is not correctly collecting the child
process's status and propagating it.

Comment 1 Tim Waugh 2008-05-07 15:46:48 UTC
Fix checked into devel.  Requires further testing with newer upstream
foomatic-filters.

Comment 2 Tim Waugh 2008-05-08 08:30:56 UTC
Fixed in CVS for F-8 and F-9.  F-7 is not affected.

Comment 3 Fedora Update System 2008-09-05 13:06:06 UTC
foomatic-3.0.2-65.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/foomatic-3.0.2-65.fc8

Comment 4 Fedora Update System 2008-09-05 13:08:00 UTC
foomatic-3.0.2-65.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/foomatic-3.0.2-65.fc9

Comment 5 Fedora Update System 2008-09-11 17:04:10 UTC
foomatic-3.0.2-66.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update foomatic'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7884

Comment 6 Fedora Update System 2008-09-11 17:09:25 UTC
foomatic-3.0.2-66.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update foomatic'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-7924

Comment 7 Fedora Update System 2008-09-25 00:00:09 UTC
foomatic-3.0.2-67.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update foomatic'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7884

Comment 8 Fedora Update System 2008-09-25 00:21:56 UTC
foomatic-3.0.2-67.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update foomatic'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-7924

Comment 9 Fedora Update System 2008-09-28 18:41:21 UTC
foomatic-3.0.2-67.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2008-09-28 18:43:31 UTC
foomatic-3.0.2-67.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.