stopped "/usr/lib/cups/filter/<everyfilter> failed"

Bug #996468 reported by Lapo Pieri on 2012-05-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Undecided
Unassigned

Bug Description

After updating debian unstable I was unable to print on a system otherwise perfectly working, error message are always:

stopped "/usr/lib/cups/filter/texttopdf failed"
or
stopped "/usr/lib/cups/filter/hpcups failed"

cfg:
s.o.: Debian Unstable
printer: M1212mf

hp-check-t:

hp-check[2582]: info: :
Initializing. Please wait...
Debian

unstable

scheduler is running

1.5.2

Linux rtk1 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux

hp-check[2582]: info: :
hp-check[2582]: info: :---------------
hp-check[2582]: info: :| SYSTEM INFO |
hp-check[2582]: info: :---------------
hp-check[2582]: info: :
hp-check[2582]: info: :Basic system information:
hp-check[2582]: info: :Linux rtk1 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux
hp-check[2582]: info: :
hp-check[2582]: info: :Distribution:
hp-check[2582]: info: :debian unstable
hp-check[2582]: info: :
hp-check[2582]: info: :Checking Python version...
hp-check[2582]: info: :OK, version 2.7.3 installed
hp-check[2582]: info: :
hp-check[2582]: info: :Checking PyQt 4.x version...
hp-check[2582]: info: :OK, version 4.9.1 installed.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for CUPS...
hp-check[2582]: info: :Status: scheduler is running
hp-check[2582]: info: :Version: 1.5.2
hp-check[2582]: info: :error_log is set to level: warn
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dbus/python-dbus...
hp-check[2582]: info: :dbus daemon is running.
hp-check[2582]: info: :python-dbus version: 0.84.0
hp-check[2582]: info: :
hp-check[2582]: info: :
hp-check[2582]: info: :------------------------------------
hp-check[2582]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[2582]: info: :------------------------------------
hp-check[2582]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: DBus - Message bus system...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: libtool - Library building support services...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: libusb - USB library...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: Python devel - Python development files...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: Python XML libraries...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: SANE - Scanning library...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[2582]: info: :
hp-check[2582]: info: :
hp-check[2582]: info: :----------------------
hp-check[2582]: info: :| HPLIP INSTALLATION |
hp-check[2582]: info: :----------------------
hp-check[2582]: info: :
hp-check[2582]: info: :
hp-check[2582]: info: :Currently installed HPLIP version...
hp-check[2582]: info: :HPLIP 3.12.2 currently installed in '/usr/share/hplip'.
hp-check[2582]: info: :
hp-check[2582]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[2582]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.12.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

hp-check[2582]: info: :
hp-check[2582]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[2582]: info: :[plugin]
installed = 1
eula = 1

hp-check[2582]: info: :
hp-check[2582]: info: :Current contents of '~/.hplip/hplip.conf' file:
error: Could not access file: No such file or directory
hp-check[2582]: info: :
hp-check[2582]: info: :--------------------------
hp-check[2582]: info: :| DISCOVERED USB DEVICES |
hp-check[2582]: info: :--------------------------
hp-check[2582]: info: :
hp-check[2582]: info: :No devices found.
hp-check[2582]: info: :
hp-check[2582]: info: :---------------------------------
hp-check[2582]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[2582]: info: :---------------------------------
hp-check[2582]: info: :
hp-check[2582]: info: :
hp-check[2582]: info: :HP_LaserJet_6L
hp-check[2582]: info: :--------------
hp-check[2582]: info: :Type: Printer
hp-check[2582]: info: :Device URI: hp:/par/HP_LaserJet_6L?device=/dev/parport0
hp-check[2582]: info: :PPD: /etc/cups/ppd/HP_LaserJet_6L.ppd
hp-check[2582]: info: :PPD Description: HP LaserJet 6L Foomatic/ljet4 (recommended)
hp-check[2582]: info: :Printer status: printer HP_LaserJet_6L is idle. enabled since Thu 08 Mar 2012 02:43:12 PM CET
error: Unable to communicate with device (code=12): hp:/par/HP_LaserJet_6L?device=/dev/parport0
error: Device not found
error: Communication status: Failed
hp-check[2582]: info: :
hp-check[2582]: info: :M1212
hp-check[2582]: info: :-----
hp-check[2582]: info: :Type: Printer
hp-check[2582]: info: :Device URI: hp:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPI8E2796
hp-check[2582]: info: :PPD: /etc/cups/ppd/M1212.ppd
hp-check[2582]: info: :PPD Description: HP LaserJet Professional m1212nf MFP, hpcups 3.12.2, requires proprietary plugin
hp-check[2582]: info: :Printer status: printer M1212 is idle. enabled since Tue 08 May 2012 12:09:33 PM CEST
 Can't detect file type
hp-check[2582]: info: :Required plug-in status: Installed
hp-check[2582]: info: :Communication status: Good
hp-check[2582]: info: :
hp-check[2582]: info: :M1212_fax
hp-check[2582]: info: :---------
hp-check[2582]: info: :Type: Fax
hp-check[2582]: info: :Device URI: hpfax:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPI8E2796
hp-check[2582]: info: :PPD: /etc/cups/ppd/M1212_fax.ppd
hp-check[2582]: info: :PPD Description: HP Fax hpcups
hp-check[2582]: info: :Printer status: printer M1212_fax is idle. enabled since Mon 07 May 2012 12:07:54 PM CEST
hp-check[2582]: info: :Required plug-in status: Installed
hp-check[2582]: info: :Communication status: Good
hp-check[2582]: info: :
hp-check[2582]: info: :
hp-check[2582]: info: :----------------------
hp-check[2582]: info: :| SANE CONFIGURATION |
hp-check[2582]: info: :----------------------
hp-check[2582]: info: :
hp-check[2582]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[2582]: info: :'hpaio' in '/etc/sane.d/dll.d/hplip'...
hp-check[2582]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking output of 'scanimage -L'...
hp-check[2582]: info: :device `hpaio:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPI8E2796' is a Hewlett-Packard HP_LaserJet_Professional_M1212nf_MFP all-in-one

hp-check[2582]: info: :
hp-check[2582]: info: :---------------------
hp-check[2582]: info: :| PYTHON EXTENSIONS |
hp-check[2582]: info: :---------------------
hp-check[2582]: info: :
hp-check[2582]: info: :Checking 'cupsext' CUPS extension...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking 'pcardext' Photocard extension...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking 'hpmudext' I/O extension...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :Checking 'scanext' SANE scanning extension...
hp-check[2582]: info: :OK, found.
hp-check[2582]: info: :
hp-check[2582]: info: :
hp-check[2582]: info: :
hp-check[2582]: info: :---------------
hp-check[2582]: info: :| USER GROUPS |
hp-check[2582]: info: :---------------
hp-check[2582]: info: :
hp-check[2582]: info: :root

error: User needs to be member of group 'lp' to enable print, scan & fax.
error: User needs to be member of group 'lpadmin' to manage printers.
hp-check[2582]: info: :
hp-check[2582]: info: :-----------
hp-check[2582]: info: :| SUMMARY |
hp-check[2582]: info: :-----------
hp-check[2582]: info: :
error: 3 errors and/or warnings.
hp-check[2582]: info: :
hp-check[2582]: info: :Please refer to the installation instructions at:
hp-check[2582]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[2582]: info: :
hp-check[2582]: info: :Done.

more info from /var/log/cups/error_log:

.....
E [08/May/2012:00:48:12 +0200] PID 9652 (/usr/lib/cups/filter/hpcups) crashed on signal 11.
E [08/May/2012:00:48:21 +0200] [Job 237] Job stopped due to filter errors; please consult the error_log file for details.
.....

seems that filter crashed due to SIGSEGV

Lapo

Sanjay Kumar (sanjay-kumar14) wrote :

Hi,

Thanks for reporting the issue in HPLIP. To help us understand and analyze the issue please follow following things.

=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/install/install/index.html:
=> Reconfigure print queue with the commands mentioned below.
       =>system-config-printer (remove all print queues)
                     or
         Go to system ->Administration -> printing (then remove all print queues)
       =>hp-setup (for adding print queue)
=>Enable/Clear Logs as mentioned below

=>Try to print any document and If issue is not resolved then execute following steps

    a)Open /etc/cups/cupsd.conf in root mode and replace

        LogLevel warn

          with

       LogLevel debug
       hpLogLevel 15

    b) Open Terminal and run following commands:
       => su
       => /etc/init.d/cups restart
                  or
          service cups restart

       => rm /tmp/*.out /tmp/*.bmp
       => cat /dev/null > /var/log/cups/error_log
       => cat /dev/null > /var/log/messages
       => cat /dev/null > /var/log/syslog
       => hp-check -t > /tmp/hpcheck.log

    c) Try to print any document and then please send following files
          => /var/log/syslog (if present),
          => /var/log/messages (if present),
          => /var/log/cups/error_log
          => /tmp/*.bmp
          => /tmp/*.out
          => /tmp/hpcheck.log
          => document used for printing
          =>scanned copy of printed document

    d) Please let me know the application used for testing.

Hi,
thank you for the replay and all the informations!

In meanwhile I did downgrade libtiff4 from version 3.9.6-5 to 3.9.6-2
in debian unstable and this has solved problem relative to postscript
file.

All other format aren't printed at all; if I print pdf (with xpdf that
use lp as printer backend) I got page out from printer but completly
blank, if I print .txt file (directly with $ lp p1.txt as you can see
in logs attached) I got the same error I described before.

 04:42 Wed 09 May 12 , Sanjay Kumar wrote:
>...

I've done everythings you indicated to me and:

> c) Try to print any document and then please send following
> files

The log refers to

1)
lapo@rtk1:~$ lp p1.txt
 (p1.txt contain just a line with: "prova stampante" and a cr)

2)
lapo@rtk1:~$ xpdf filterek.pdf &
[1] 3241
lapo@rtk1:~$ request id is M1212-257 (0 file(s))

[1]+ Segmentation fault (core dumped) xpdf filterek.pdf
lapo@rtk1:~$

3)
(a wrong attempt to print from gnu-pcb... sorry)
$ cancel M1212-256
$ cancel M1212-257

4)
lapo@rtk1:$ lp ev_adf4360_7-1.0.ps
request id is M1212-260 (1 file(s))

That works correctly

> => /var/log/syslog (if present),
> => /var/log/messages (if present),
> => /var/log/cups/error_log

done

> => /tmp/*.bmp

done, but there where other 11 pages of 3.8MB so I decide to suppress
and they came from xpdf fault (thus I selected to print only pag #1...)

> => /tmp/*.out

done

> => /tmp/hpcheck.log

done

> => document used for printing

done

> =>scanned copy of printed document

I'll do it soon...

> d) Please let me know the application used for testing.

mainly lp :)

Many thanks for you effort! I can survive converting everythings to ps
and print with libtiff4 downgraded :)

Lapo

Raphaël Droz (raphael-droz) wrote :

same "Can't detect file type" issue using an Epson CX6400. Happens when "piping" to lp, but the lp <file> syntax works !

error log attached.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers