Segmentation fault while adding printer

Asked by Arvind

1. Operating System: Oracle Linux 6.4 (OEL 6.4)
2. Product Name: LaserJet Professional P1606DN
3. Output of 'hp-check -t' :-

Saving output in log file: /home/pipladmin/hp-check.log

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

Copyright (c) 2001-13 Hewlett-Packard 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

---------------
| SYSTEM INFO |
---------------

 Kernel: 2.6.32-358.18.1.el6.x86_64 #1 SMP Tue Aug 27 13:25:08 PDT 2013 GNU/Linux
 Host: f1crp3.fortishealthcare.com
 Proc: 2.6.32-358.18.1.el6.x86_64 #1 SMP Tue Aug 27 13:25:08 PDT 2013 GNU/Linux
 Distribution: rhel 6.0
 Bitness: 64 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.14.10
HPLIP-Home: /usr/share/hplip

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.14.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.14.10
html=/usr/share/doc/hplip-3.14.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

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

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
eula = 1
version = 3.14.10
installed = 1

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = HP_Corp-Ggn_P16060DN_FIN
working_dir = .
device_uri = "hpfax:/net/HP_LaserJet_400_MFP_M425dn?ip=192.168.132.8"

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[upgrade]
notify_upgrade = false
last_upgraded_time = 1430135924.51883
latest_available_version = 3.15.4
pending_upgrade_time = 0

[installation]
version = 3.14.10
date_time = 04/29/2015 20:08:39

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list =
interval = 5

 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

--------------------------
| External Dependencies |
--------------------------

 policykit Admin-Policy-framework OPTIONAL - 0.96 OK -
 gs Ghostscript REQUIRED 7.05 8.70 OK -
 network Network-wget OPTIONAL - 1.12 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.21 OK -
 avahi-utils avahi-utils OPTIONAL - 0.6.25 OK -
 dbus DBus REQUIRED - 1.2.24 OK -
 cups CUPS REQUIRED 1.1 1.4.2 OK 'CUPS Scheduler is running'
 error: xsane SANE-GUI OPTIONAL 0.9 - INCOMPAT 'xsane needs to be installed'

-------------------------
| General Dependencies |
-------------------------

 reportlab Python-PDF-Lib OPTIONAL 2.0 2.3 OK -
 libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
 pil Python-Image-Lib OPTIONAL - 1.1.6 OK -
 pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.6.2 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - 2.12 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 0.83.0 OK -
 python-devel Python-SDK REQUIRED 2.2 2.6.6 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.6.2 OK -
 cups-devel CUPS-SDK REQUIRED - 1.4.2 OK -
 sane-devel SANE-SDK REQUIRED - 1.0.21 OK -
 libusb USB-Lib REQUIRED - 1.0 OK -
 sane Scan-Lib REQUIRED - 1.0.21 OK -
 cups-image CUPS-Image-Lib REQUIRED - 1.4.2 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.5 OK -
 python-xml Python-XML-Lib REQUIRED - 2.0.1 OK -
 error: python-notify Desktop-notifications OPTIONAL - - MISSING 'python-notify needs to be installed'

------------------------------
| Compile Time Dependencies |
------------------------------

 gcc gcc-Compiler REQUIRED - 4.4.7 OK -
 libtool Build-tools REQUIRED - 2.2.6 OK -
 make GNU-Build-tools REQUIRED 3.0 3.81 OK -

----------------------
| Python Extentions |
----------------------

 cupsext CUPS-Extension REQUIRED - 3.14.10 OK -
 pcardext PhotoCard-Extension REQUIRED - 3.14.10 OK -
 hpmudext IO-Extension REQUIRED - 3.14.10 OK -

-----------------------
| Scan Configuration |
-----------------------

 hpaio HPLIP-SANE-Backend REQUIRED - 3.14.10 OK 'hpaio found in /etc/sane.d/dll.conf'
 scanext Scan-SANE-Extension REQUIRED - 3.14.10 OK -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

4. Explanation of Problem :-

When i am trying to install one of the network printer on my server i am getting error Segmentation fault . the IP of the printer is pinging. when i am checking the logs i am getting these errors.

Apr 27 14:27:30 f1crp3 python: io/hpmud/jd.c 93: unable to read device-id
Apr 27 14:27:30 f1crp3 python: io/hpmud/jd.c 872: invalid ip 10.10.11.172
Apr 27 14:27:30 f1crp3 kernel: hp-setup[8519]: segfault at 0 ip 00007f3941ea2704 sp 00007fffdfa43580 error 4 in libc-2.12.so[7f3941dfa000+18a000].

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Srikanth (srikanth-lokare) said :
#1

Hi,

Can you please download and install the latest HPLIP 3.15.4 release from http://hplipopensource.com/hplip-web/install/install/index.html. Installation instructions can also be found in the same page. Let us know if the problem still persists.

Thanks and Regards,
Srikanth Lokare

Can you help with this problem?

Provide an answer of your own, or ask Arvind for more information if necessary.

To post a message you must log in.