[cups.bugs] [MOD] STR #3381: cups-polld wedged at 100% processor usage (reproduced)

Maciej Bliziński maciej.blizinski at gmail.com
Mon Oct 19 05:17:27 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Re-submitting STR #3257:

There's a problem in which cups-polld (v1.3.9 to v1.3.11, also v1.4.0)
daemons start consuming 100% of 1 CPU each. The issue occurs after certain
time from the startup, within the range from few hours to few days.
Individual cups-polld processes get into that state one by one, and then
stay in that state indefinitely. Their behavior resembles being stuck in
busy-wait loop.

After testing, it seems to me that the problem is specific to Sun Studio
11. Not sure whether it's a compiler bug or a bug in the software that's
exposed by this specific compiler version.

I got it to reproduce using a binary with debugging symbols compiled in.
Here's an example call stack:

(dbx) where
current thread: t at 1
=>[1] httpGets(line = 0x8036058 "", length = 32768, http = 0x808a2a8),
line 1035 in "http.c"
  [2] httpUpdate(http = 0x808a2a8), line 2007 in "http.c"
  [3] cupsGetResponse(http = 0x808a2a8, resource = 0x8051d4c "/"), line
387 in "request.c"
  [4] cupsDoIORequest(http = 0x808a2a8, request = 0x80ad9f8, resource =
0x8051d4c "/", infile = -1, outfile = -1), line 263 in "request.c"
  [5] cupsDoRequest(http = 0x808a2a8, request = 0x80ad9f8, resource =
0x8051d4c "/"), line 327 in "request.c"
  [6] poll_server(http = 0x808a2a8, sock = 3, port = 631, interval = 900,
prefix = 0x804781c "[cups-polld
printserver-iplex.mtv.corp.google.com:631]"), line 293 in "cups-polld.c"
  [7] main(argc = 5, argv = 0x8047c70), line 173 in "cups-polld.c"

Link: http://www.cups.org/str.php?L3381
Version: 1.4.0





More information about the cups-devel mailing list