Red Hat Bugzilla – Bug 489762
Gtk+ "lpr" printing backend freezes the sub process
Last modified: 2014-06-02 09:23:12 EDT
Description of problem:
I want to use kprinter as backend pour Gtk printing. But, when printing, kprinter stays freezed, until I kill its parent. The print process finish successfully when the parent process is killed.
This seems to be a not closed pipe in the parent.
The reason for kprinter is because I need to use kerberos with CUPS, but gtk CUPS backend does not support kerberos.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure ~/gtkrc-2.0 to enable lpr backend
2. start gtk-demo and launch a print test
3. once kprinter is opened, validate print in kprinter
4. kprinter freezed
5. kill gtk-demo
kprinter freezes until gtk-demo is killed.
kprinter print the job, terminates, and parent process is still available for further job.
Seems to be related to the already solved #390159 on Gnome's bugzilla.
Created attachment 334958 [details]
Patch to close the io channel on unref at the end of printing
The following patch (based on the upstream commit) solves my problem.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in the last planned RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX. To request that Red Hat re-consider this request, please re-open the bugzilla via appropriate support channels and provide additional business and/or technical details about its importance to you.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).