[Pkg-cups-devel] Bug#489045: cups: infinite loop, 100%CPU use, while trying to print with HPJetDirect

Martin Pitt mpitt at debian.org
Thu Nov 13 11:34:47 UTC 2008


Hi Samuel,

Samuel Thibault [2008-11-11 14:46 +0100]:
> Right but here the issue is on the input side: device_fd got to EOF,
> thus select() returning it and read() on it returning 0. The attached
> patch at least prevents select from returning, avoiding 100% CPU usage.

Thanks for your analysis and the patch! It looks correct to me, and I
applied it to the package bzr. I forwarded it to upstream
(http://www.cups.org/str.php?L3001) and will wait a day or two for
upstream's comment before uploading it.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20081113/a38b76f0/attachment.pgp 


More information about the Pkg-cups-devel mailing list