[Pkg-cups-devel] Bug#374933: /usr/bin/lpstat: 'lpstat -l -d -p -v' leads to infinite loop with more than one printer instance

Chris Lawrence lawrencc at debian.org
Thu Jun 22 05:04:12 UTC 2006


Package: cupsys-client
Version: 1.2.1-2
Severity: important
File: /usr/bin/lpstat

On my system (and presumably others), the command line
> lpstat -l -d -p -v
or
> lpstat -l -d -p

leads to an infinite loop that will consume all system memory and CPU.

It seems to get stuck when I have more than one extra instance of the
printer in my .lpoptions file (e.g. hl5170dn/bond, hl5170dn/duplex).
When I only have zero or one instances, there is no problem.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.20
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages cupsys-client depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libcupsys2                    1.2.1-2    Common UNIX Printing System(tm) - 
ii  libgnutls13                   1.4.0-2    the GNU TLS library - runtime libr
ii  zlib1g                        1:1.2.3-11 compression library - runtime

Versions of packages cupsys-client recommends:
ii  cupsys-bsd                    1.2.1-2    Common UNIX Printing System(tm) - 

-- no debconf information




More information about the Pkg-cups-devel mailing list