Public bug reported:
Ubuntu 13.04
cups: 1.6.2-1ubuntu5
I'm trying to connect to a remove cups server as a client. In
/etc/cups/client.conf I have set
ServerName myserver.foo:631 (also tried without :631)
cups-browsed then runs at 100% CPU. It has been killed using the -9
option. Printing to the remote server does not work (it used to work in
precise).
I've straced the process and it goes into an infinte loop here (IP
address of server replaced with 111.111.111.111):
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(7, {sa_family=AF_INET, sin_port=htons(631),
sin_addr=inet_addr("111.111.111.111")}, 16) = -1 EINPRO
GRESS (Operation now in progress)
fcntl(7, F_SETFL, O_RDWR) = 0
poll([{fd=7, events=POLLIN|POLLOUT}], 1, 250) = 1 ([{fd=7, revents=POLLOUT}])
getpeername(7, {sa_family=AF_INET, sin_port=htons(631),
sin_addr=inet_addr("111.111.111.111")}, [16]) = 0
uname({sys="Linux", node="lap75107", ...}) = 0
sendto(7, "POST /admin/ HTTP/1.1\r\nContent-L"..., 195, 0, NULL, 0) = 195
sendto(7, "\2\0@\3\0\0\0\n\1G\0\22attributes-charset\0\5"..., 391, 0, NULL, 0)
= 391
poll([{fd=7, events=POLLIN}], 1, 1000) = 1 ([{fd=7,
revents=POLLIN|POLLERR|POLLHUP}])
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7,
revents=POLLIN|POLLERR|POLLHUP}])
recvfrom(7, "HTTP/1.1 403 Forbidden\r\nDate: Th"..., 2048, 0, NULL, NULL) = 79
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7,
revents=POLLIN|POLLERR|POLLHUP}])
recvfrom(7, 0x1ca74cc, 2048, 0, 0, 0) = -1 ECONNRESET (Connection reset by
peer)
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7, revents=POLLIN|POLLHUP}])
recvfrom(7, "", 2048, 0, NULL, NULL) = 0
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7, revents=POLLIN|POLLHUP}])
recvfrom(7, "", 2048, 0, NULL, NULL) = 0
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7, revents=POLLIN|POLLHUP}])
recvfrom(7, "", 2048, 0, NULL, NULL) = 0
...
I tried editing cups-browsed.conf. I changed the protocol to cups from
dnssd, which gave the same problem. Changing to n one stopped the hang,
but then I couldn't access the remote server.
** Affects: cups (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1207203
Title:
cups-browsed hangs at 100% CPU
Status in “cups” package in Ubuntu:
New
Bug description:
Ubuntu 13.04
cups: 1.6.2-1ubuntu5
I'm trying to connect to a remove cups server as a client. In
/etc/cups/client.conf I have set
ServerName myserver.foo:631 (also tried without :631)
cups-browsed then runs at 100% CPU. It has been killed using the -9
option. Printing to the remote server does not work (it used to work
in precise).
I've straced the process and it goes into an infinte loop here (IP
address of server replaced with 111.111.111.111):
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fcntl(7, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(7, {sa_family=AF_INET, sin_port=htons(631),
sin_addr=inet_addr("111.111.111.111")}, 16) = -1 EINPRO
GRESS (Operation now in progress)
fcntl(7, F_SETFL, O_RDWR) = 0
poll([{fd=7, events=POLLIN|POLLOUT}], 1, 250) = 1 ([{fd=7, revents=POLLOUT}])
getpeername(7, {sa_family=AF_INET, sin_port=htons(631),
sin_addr=inet_addr("111.111.111.111")}, [16]) = 0
uname({sys="Linux", node="lap75107", ...}) = 0
sendto(7, "POST /admin/ HTTP/1.1\r\nContent-L"..., 195, 0, NULL, 0) = 195
sendto(7, "\2\0@\3\0\0\0\n\1G\0\22attributes-charset\0\5"..., 391, 0, NULL,
0) = 391
poll([{fd=7, events=POLLIN}], 1, 1000) = 1 ([{fd=7,
revents=POLLIN|POLLERR|POLLHUP}])
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7,
revents=POLLIN|POLLERR|POLLHUP}])
recvfrom(7, "HTTP/1.1 403 Forbidden\r\nDate: Th"..., 2048, 0, NULL, NULL) = 79
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7,
revents=POLLIN|POLLERR|POLLHUP}])
recvfrom(7, 0x1ca74cc, 2048, 0, 0, 0) = -1 ECONNRESET (Connection reset by
peer)
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7, revents=POLLIN|POLLHUP}])
recvfrom(7, "", 2048, 0, NULL, NULL) = 0
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7, revents=POLLIN|POLLHUP}])
recvfrom(7, "", 2048, 0, NULL, NULL) = 0
poll([{fd=7, events=POLLIN}], 1, 60000) = 1 ([{fd=7, revents=POLLIN|POLLHUP}])
recvfrom(7, "", 2048, 0, NULL, NULL) = 0
...
I tried editing cups-browsed.conf. I changed the protocol to cups from
dnssd, which gave the same problem. Changing to n one stopped the
hang, but then I couldn't access the remote server.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1207203/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp