[cups.bugs] [MOD] STR #4254: cupsd hangs when accessing remotely over ssl

Paul Conklin paul.conklin at cerner.com
Sat Jan 5 22:30:58 PST 2013


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

[STR New]

when accessing the SSL side of the web interface, cupsd appears to hang and
can not be stopped with service cups stop.

[root at localhost ~]# ps -ef | grep cups | grep -v grep
root      2103     1  0 00:23 ?        00:00:00 /usr/sbin/cupsd -C
/etc/cups/cupsd.conf
[root at localhost ~]# strace -p 2103
Process 2103 attached - interrupt to quit
select(16, [15], NULL, NULL, {1, 611000}) = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0} <unfinished ...>
Process 2103 detached
[root at localhost ~]# service cups stop
cups: stopped scheduler.                                   [  OK  ]
[root at localhost ~]# strace -p 2103
Process 2103 attached - interrupt to quit
select(16, [15], NULL, NULL, {1, 286000}) = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {3, 0} <unfinished ...>
Process 2103 detached
[root at localhost ~]# tail /var/log/cups/error_log
d [06/Jan/2013:00:23:40 -0600] select_timeout: JobHistoryUpdate=0
d [06/Jan/2013:00:23:40 -0600] select_timeout(0): 86400 seconds to do
nothing
d [06/Jan/2013:00:23:47 -0600] cupsdAcceptClient(lis=0x2b125a03cce0(10))
Clients=0
D [06/Jan/2013:00:23:47 -0600] [Client 14] Accepted from 192.168.1.133:631
(IPv4)
d [06/Jan/2013:00:23:47 -0600] cupsdAddSelect(fd=14,
read_cb=0x2b1240f2b3c0, write_cb=(nil), data=0x2b125a08fe80)
d [06/Jan/2013:00:23:47 -0600] select_timeout: JobHistoryUpdate=0
d [06/Jan/2013:00:23:47 -0600] [Client 14] cupsdReadClient error=0,
used=0, state=HTTP_WAITING, data_encoding=HTTP_ENCODE_LENGTH,
data_remaining=0, request=(nil)(), file=-1
d [06/Jan/2013:00:23:47 -0600] [Client 14] Saw first byte 16,
auto-negotiating SSL/TLS session.
D [06/Jan/2013:00:23:47 -0600] [Client 14] Encrypting connection.
I [06/Jan/2013:00:23:47 -0600] Generating SSL server key...
[root at localhost ~]# date
Sun Jan  6 00:29:39 CST 2013
[root at localhost ~]# ps -ef | grep cups | grep -v grep
root      2103     1  0 00:23 ?        00:00:00 /usr/sbin/cupsd -C
/etc/cups/cupsd.conf

Link: https://www.cups.org/str.php?L4254
Version: 1.6.1





More information about the cups mailing list