[cups.bugs] [MOD] STR #3622: backendRunLoop seems to go into infinite loops when sockets are closed

Benjamin Berg benjamin at sipsolutions.net
Mon Jul 19 08:10:43 PDT 2010


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

[STR New]

When I printed a file that caused a PS error on the network printer, the
socket process went into an infinite loop with the following showing up in
strace. I think the tcp/ip connection is already closed at this point.

This is on Debian GNU/Linux.

select(6, [0 4 5], [], NULL, {5, 0})    = 1 (in [5], left {4, 999998})
read(5, "", 1024)                       = 0
time(NULL)                              = 1279549600
select(6, [0 4 5], [], NULL, {5, 0})    = 1 (in [5], left {4, 999998})
read(5, "", 1024)                       = 0
time(NULL)                              = 1279549600
select(6, [0 4 5], [], NULL, {5, 0})    = 1 (in [5], left {4, 999998})
read(5, "", 1024)                       = 0

Link: http://www.cups.org/str.php?L3622
Version: 1.4.4





More information about the cups mailing list