Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 549732

Summary: net-print/cups-2.0.2-r1 causes high CPU load(100%)
Product: Gentoo Linux Reporter: Joakim Tjernlund <joakim.tjernlund>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joakim Tjernlund 2015-05-17 14:49:35 UTC
There is a bug upstreams with a fix, already comitted to cups repo:
http://cups.org/str.php?L4605+P-1+S-2+C0+I0+E0+Q100%25
Comment 1 Joakim Tjernlund 2015-05-17 14:51:51 UTC
Please add epatch_user support too.
Comment 2 Joakim Tjernlund 2015-05-17 15:23:45 UTC
Here is another bug which seems to be fixed by the same patch:
http://cups.org/str.php?L4521+P-1+S-2+C0+I0+E0+Q100%25
Comment 3 Joakim Tjernlund 2015-05-29 16:35:26 UTC
ping?
Comment 4 Shiba 2015-06-13 12:14:50 UTC
Same problem, very annoying.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2015-06-14 09:29:19 UTC
Added user patching to latest ebuild:

>  14 Jun 2015; Sergei Trofimovich <slyfox@gentoo.org> cups-2.0.2-r1.ebuild:
>  Allow user patching, bug #549732 by Joakim Tjernlund.

Didn't look at actual bug yet.
Comment 6 Joakim Tjernlund 2015-06-14 10:06:09 UTC
Been using the patch since I reported this problem with no issues.
Using it at work too.
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2015-06-14 10:51:58 UTC
Pushed backport as:

>*cups-2.0.2-r2 (14 Jun 2015)
>
>  14 Jun 2015; Sergei Trofimovich <slyfox@gentoo.org> +cups-2.0.2-r2.ebuild,
>  +files/cups-2.0.2-poll-CPU-loop-STR-4605.patch:
>  Backport busy CPU loop on a poll(), bug #549732 by Joakim Tjernlund and Shiba.

Please reopen if I completely broke cups.
Thanks!