[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#932246: printer-driver-hpcups: More Info



Package: printer-driver-hpcups
Followup-For: Bug #932246

Dear Maintainer,

I can confirm that this error regarding stack smashing is seen on a recently
updated server, upgrading from hplip and printer-driver-hpcups version
3.16.11+repack0-1.  In attempting to fix the immediate printing issue, I tried
to revert from 3.18.12+dfsg0-2 to 3.18.10+dfsg0-3 for the package
printer-driver-hpcups and I still had the same segfault due to stack smashing.
Reverting further to 3.17.10+repack0-7 has successfully eliminated this error
and allows printing to an HP Laserjet 1200.  I only reverted the
printer-driver-hpcups package.  I did not revert the remaining hplip packages,
which are 3.18.12+dfsg0-2


-- Package-specific info:
Saving output in log file: /home/stanley/hp-check.log

HP Linux Imaging and Printing System (ver. 3.18.12)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.                                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro    
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                      
3. Both compile- and run-time check mode (-b or --both) (Default): This mode    
will check both of the above cases (both compile- and run-time dependencies).   

Check types:                                                                    
a. EXTERNALDEP - External Dependencies                                          
b. GENERALDEP - General Dependencies (required both at compile and run time)    
c. COMPILEDEP - Compile time Dependencies                                       
d. [All are run-time checks]                                                    
PYEXT SCANCONF QUEUES PERMISSION                                                

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

Traceback (most recent call last):
  File "/usr/share/hplip/base/utils.py", line 265, in walkFiles
    names = os.listdir(root)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/include/cups'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/base/utils.py", line 267, in walkFiles
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/hp-check", line 861, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 527, in init
    self.check_dependencies(callback)
  File "/usr/share/hplip/installer/core_install.py", line 620, in check_dependencies
    self.have_dependencies[d] = self.dependencies[d][3]()
  File "/usr/share/hplip/installer/core_install.py", line 1166, in check_cups_image
    return check_file("raster.h", "/usr/include/cups")
  File "/usr/share/hplip/installer/dcheck.py", line 107, in check_file
    for w in utils.walkFiles(dir, recurse=True, abs_paths=True, return_folders=False, pattern=f):
RuntimeError: generator raised StopIteration

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.19.0-5-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages printer-driver-hpcups depends on:
ii  cups                             2.2.10-6
ii  cups-filters [ghostscript-cups]  1.21.6-5
ii  libc6                            2.28-10
ii  libcups2                         2.2.10-6
ii  libcupsimage2                    2.2.10-6
ii  libdbus-1-3                      1.12.16-1
ii  libgcc1                          1:9.1.0-10
ii  libhpmud0                        3.18.12+dfsg0-2
ii  libjpeg62-turbo                  1:1.5.2-2+b1
ii  libstdc++6                       9.1.0-10

printer-driver-hpcups recommends no packages.

Versions of packages printer-driver-hpcups suggests:
ii  hplip      3.18.12+dfsg0-2
pn  hplip-doc  <none>

-- debconf-show failed


Reply to: