[Pkg-cups-devel] Bug#478828: cupsys: USB backend hogs CPU if printer is not connected

Ansgar Burchardt ansgar at 2008.43-1.org
Thu May 1 10:49:13 UTC 2008


Package: cupsys
Version: 1.3.6-3
Severity: normal


Hi,

the CUPS USB backend hogs the CPU when CUPS tries to print something,
but the printer isn't connected.

A strace on the backend shows this:
    open("/dev/usblp15", O_RDWR|O_EXCL|O_LARGEFILE) = -1 ENOENT (No such
    file or directory)
    open("/dev/usb/lp15", O_RDWR|O_EXCL|O_LARGEFILE) = -1 ENOENT (No such
    file or directory)
    open("/dev/usb/usblp15", O_RDWR|O_EXCL|O_LARGEFILE) = -1 ENOENT (No such
    file or directory)
And so on for usblp0 .. usblp15.

Please add an delay in this loop after all possible files are tried.

Regards,
Ansgar

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.1 (PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cupsys depends on:
ii  adduser               3.107              add and remove users and groups
ii  cupsys-common         1.3.6-3            Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0] 1.5.20             Debian configuration management sy
ii  gs-esp                8.15.3.dfsg.1-1    The Ghostscript PostScript interpr
ii  libavahi-compat-libdn 0.6.22-3           Avahi Apple Bonjour compatibility 
ii  libc6                 2.7-10             GNU C Library: Shared libraries
ii  libcupsimage2         1.3.6-3            Common UNIX Printing System(tm) - 
ii  libcupsys2            1.3.6-3            Common UNIX Printing System(tm) - 
ii  libdbus-1-3           1.2.1-1            simple interprocess messaging syst
ii  libgnutls26           2.2.2-1            the GNU TLS library - runtime libr
ii  libkrb53              1.6.dfsg.3~beta1-4 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.7-6.1          OpenLDAP libraries
ii  libpam0g              0.99.7.1-6         Pluggable Authentication Modules l
ii  libpaper1             1.1.23             library for handling paper charact
ii  libslp1               1.2.1-7.2          OpenSLP libraries
ii  lsb-base              3.1-24             Linux Standard Base 3.1 init scrip
ii  perl-modules          5.8.8-12           Core Perl modules
ii  procps                1:3.2.7-8          /proc file system utilities
ii  ssl-cert              1.0.18             simple debconf wrapper for OpenSSL
ii  xpdf-utils [poppler-u 3.02-1.3           Portable Document Format (PDF) sui

Versions of packages cupsys recommends:
ii  cupsys-client                1.3.6-3     Common UNIX Printing System(tm) - 
ii  smbclient                    1:3.0.28a-2 a LanManager-like simple client fo

-- debconf information excluded





More information about the Pkg-cups-devel mailing list