[Bug 44465] can't add printer, consumes 100% CPU

LarryGrover lgrover at zoominternet.net
Sat May 13 01:41:19 UTC 2006


Public bug reported:

I'm running a fully up to date Dapper system (powerpc, iBook G4).  I
don't have any printers configured.  When I try to add a printer using
gnome-cups-manager, a pop up windown opens containing this text:
"Reading printer database..."

At this point gnome-cups-manager freezes and the CPU load goes to almost
100% (from top), with cupsd and cups-driverd each consuming about 45% of
CPU.  Killing or restarting cupsys (eg, running "/etc/init.d/cupsys
restart") unloads the CPU and allows gnome-cups-manager tol continue to
step 2 of 3, "printer driver", but no manufacturers or printers show up
in gnome-cups-manager window (just blank space).

If I strace gnome-cups-manager, I get a continuous stream of repeating
output.  One chunk of this output is included below:

open("/etc/cups/lpoptions", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/home/grover/.lpoptions", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/usr/share/locale/en_US/cups_en_US.po", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/locale/en/cups_en.po", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/cups_C.po", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
clone(child_stack=0x30965090, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0x30965538, tls=0x3096c950, child_tidptr=0x30965538) = 29288
futex(0x1030831c, FUTEX_WAIT, 1, NULL)  = 0
futex(0x10308318, FUTEX_WAIT, 2, NULL)  = -1 EAGAIN (Resource temporarily unavailable)
futex(0x10308318, FUTEX_WAKE, 1)        = 0
futex(0x10300dd0, FUTEX_WAKE, 1)        = 0
access("/usr/share/locale/en_US/cups_en_US.po", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/locale/en/cups_en.po", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/C/cups_C.po", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
futex(0x1009f18c, FUTEX_WAKE, 1)        = 1
futex(0x10309ae4, FUTEX_WAIT, 1, NULL)  = 0
futex(0x10309ae0, FUTEX_WAIT, 2, NULL)  = -1 EAGAIN (Resource temporarily unavailable)
futex(0x10309ae0, FUTEX_WAKE, 1)        = 0
futex(0x1030b5e0, FUTEX_WAKE, 1)        = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1147482675, 559174}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 9, 4998) = 1
ioctl(3, FIONREAD, [32])                = 0
read(3, "n\2\17i+L%M\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0 \0\1\4"..., 32) = 32
gettimeofday({1147482678, 609992}, NULL) = 0
write(3, "\222\4\0\2\1\0\0030", 8)      = 8
read(3, "\1\2\17j\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0"..., 32) = 32
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1147482678, 610522}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 9, 1947) = 1
ioctl(3, FIONREAD, [32])                = 0
read(3, "n\2\17j+L%\201\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\1"..., 32) = 32
gettimeofday({1147482678, 745051}, NULL) = 0
write(3, "\222\4\0\2\1\0\0030", 8)      = 8
read(3, 0x7ff7d258, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\2\17k\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1147482678, 762194}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 9, 1795) = 1
ioctl(3, FIONREAD, [32])                = 0
read(3, "n\2\17k+L\'\243\2\4\4\0\0\0\0\0\0\0\0\4\4\4\4\4\0\0\37"..., 32) = 32
gettimeofday({1147482679, 208797}, NULL) = 0
write(3, "\222\4\0\2\1\0\0030", 8)      = 8
read(3, 0x7ff7d258, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\2\17l\0\0\0\0\4\4\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0"..., 32) = 32
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1147482679, 209876}, NULL) = 0
poll(

** Affects: gnome-cups-manager (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

-- 
can't add printer, consumes 100% CPU
https://launchpad.net/bugs/44465




More information about the desktop-bugs mailing list