hplip-gui: hp-systray 100% CPU, trying to acquire lock

Bug #556368 reported by Mark Purcell
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned
hplip (Debian)
Confirmed
Unknown

Bug Description

From: Dominique Brazziel <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hplip-gui: hp-systray 100% CPU, trying to acquire lock
Date: Mon, 15 Feb 2010 10:39:41 -0500

[Message part 1 (text/plain, inline)]
Package: hplip-gui
Version: 3.9.12-2
Severity: important

    Severe performance degradation occurs from time to time. I've learned
to check '.xsession-errors' and sometimes find:

    Unable to lock /home/username/.hplip/hp-systray.lock. Is hp-systray already running?

But no attempt was made to start a second hp-systray. I can't tell what else
was running in the system when the loop started because there are no timestamps
in .xsession-errors. I suspect that hal and/or python upgrades may have something
to do with the problem but am not sure. hp-check.log is attached.

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

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip-gui depends on:
ii dbus-x11 1.2.20-2 simple interprocess messaging syst
ii gksu 2.0.2-2+b1 graphical frontend to su
ii hplip 3.9.12-2 HP Linux Printing and Imaging Syst
ii hplip-cups 3.9.12-2 HP Linux Printing and Imaging - CU
ii python-qt4 4.6-1 Python bindings for Qt4
ii python-qt4-dbus 4.6-1 DBus Support for PyQt4
ii python-reportlab 2.3-1 ReportLab library to create PDF do

Versions of packages hplip-gui recommends:
ii xsane 0.996-3 featureful graphical frontend for

hplip-gui suggests no packages.

-- no debconf information
hp-check[8053]: info: :
Initializing. Please wait...
Debian

testing

scheduler is running

1.4.2

Linux dell2400 2.6.32-2-amd64 #1 SMP Thu Feb 4 01:59:06 UTC 2010 x86_64 GNU/Linux

hp-check[8053]: info: :
hp-check[8053]: info: :---------------
hp-check[8053]: info: :| SYSTEM INFO |
hp-check[8053]: info: :---------------
hp-check[8053]: info: :
hp-check[8053]: info: :[01mBasic system information:[0m
hp-check[8053]: info: :Linux dell2400 2.6.32-2-amd64 #1 SMP Thu Feb 4 01:59:06 UTC 2010 x86_64 GNU/Linux
hp-check[8053]: info: :
hp-check[8053]: info: :[01mDistribution:[0m
hp-check[8053]: info: :debian testing
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking Python version...[0m
hp-check[8053]: info: :OK, version 2.5.5 installed
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking PyQt 4.x version...[0m
hp-check[8053]: info: :OK, version 4.6 installed.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for CUPS...[0m
hp-check[8053]: info: :Status: scheduler is running
hp-check[8053]: info: :Version: 1.4.2
hp-check[8053]: info: :error_log is set to level: warn
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[8053]: info: :dbus daemon is running.
hp-check[8053]: info: :python-dbus version: 0.83.0
hp-check[8053]: info: :
hp-check[8053]: info: :
hp-check[8053]: info: :------------------------------------
hp-check[8053]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[8053]: info: :------------------------------------
hp-check[8053]: 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[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: CUPS - Common Unix Printing System...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: CUPS devel- Common Unix Printing System development files...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: CUPS image - CUPS image development files...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[8053]: info: :To install this dependency, execute this command:
hp-check[8053]: info: :su -c "apt-get install --force-yes -y libcupsys2-dev cupsys-bsd"
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: DBus - Message bus system...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: gcc - GNU Project C and C++ Compiler...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: libcrypto - OpenSSL cryptographic library...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: libjpeg - JPEG library...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP networking library development files...[0m
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[8053]: info: :To install this dependency, execute this command:
hp-check[8053]: info: :su -c "apt-get install --force-yes -y libsnmp-dev"
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: libpthread - POSIX threads library...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: libtool - Library building support services...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: libusb - USB library...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: make - GNU make utility to maintain groups of programs...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: PolicyKit - Administrative policy framework...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus Support for PyQt4...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: Python DBus - Python bindings for DBus...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: Python devel - Python development files...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: Python XML libraries...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: Python 2.3 or greater - Required for fax functionality...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: Python 2.2 or greater - Python programming language...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: Reportlab - PDF library for Python...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: SANE - Scanning library...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: SANE - Scanning library development files...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: scanimage - Shell scanning program...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for dependency: xsane - Graphical scanner frontend for SANE...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[8053]: info: :To install this dependency, execute this command:
hp-check[8053]: info: :su -c "apt-get install --force-yes -y sane"
hp-check[8053]: info: :
hp-check[8053]: info: :
hp-check[8053]: info: :----------------------
hp-check[8053]: info: :| HPLIP INSTALLATION |
hp-check[8053]: info: :----------------------
hp-check[8053]: info: :
hp-check[8053]: info: :
hp-check[8053]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[8053]: info: :HPLIP 3.9.12 currently installed in '/usr/share/hplip'.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[8053]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.12

[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.9.12.29
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[8053]: info: :
hp-check[8053]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[8053]: info: :# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

hp-check[8053]: info: :
hp-check[8053]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[8053]: info: :[last_used]
printer_name =
working_dir = .
device_uri = "hp:/usb/Deskjet_3840?serial=TH48P1511M040R"

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

[installation]
version = 3.9.12.29
date_time = 02/15/2010 10:34:22

[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

hp-check[8053]: info: :
hp-check[8053]: info: :--------------------------
hp-check[8053]: info: :| DISCOVERED USB DEVICES |
hp-check[8053]: info: :--------------------------
hp-check[8053]: info: :
hp-check[8053]: info: : Device URI Model
hp-check[8053]: info: : ------------------------------------------ -----------------------------------
hp-check[8053]: info: : hp:/usb/Deskjet_3840?serial=TH48P1511M040R HP Deskjet 3840
hp-check[8053]: info: :
hp-check[8053]: info: :---------------------------------
hp-check[8053]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[8053]: info: :---------------------------------
hp-check[8053]: info: :
hp-check[8053]: info: :
hp-check[8053]: info: :[01mHPDJ3845[0m
hp-check[8053]: info: :[01m--------[0m
hp-check[8053]: info: :Type: Printer
hp-check[8053]: info: :Device URI: hp:/usb/Deskjet_3840?serial=TH48P1511M040R
hp-check[8053]: info: :PPD: /etc/cups/ppd/HPDJ3845.ppd
hp-check[8053]: info: :PPD Description: HP Deskjet 3840, hpcups 3.9.10
hp-check[8053]: info: :Printer status: printer HPDJ3845 is idle. enabled since Thu 21 Jan 2010 04:28:09 PM EST
error: Unable to connect to dbus session bus.
hp-check[8053]: info: :Communication status: Good
hp-check[8053]: info: :
hp-check[8053]: info: :
hp-check[8053]: info: :----------------------
hp-check[8053]: info: :| SANE CONFIGURATION |
hp-check[8053]: info: :----------------------
hp-check[8053]: info: :
hp-check[8053]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[8053]: info: :[01m'hpaio' in '/etc/sane.d/dll.d/hplip'...[0m
hp-check[8053]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[8053]: info: :
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

hp-check[8053]: info: :
hp-check[8053]: info: :---------------------
hp-check[8053]: info: :| PYTHON EXTENSIONS |
hp-check[8053]: info: :---------------------
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
hp-check[8053]: info: :OK, found.
hp-check[8053]: info: :
hp-check[8053]: info: :
hp-check[8053]: info: :
hp-check[8053]: info: :-----------------
hp-check[8053]: info: :| USB I/O SETUP |
hp-check[8053]: info: :-----------------
hp-check[8053]: info: :
hp-check[8053]: info: :[01mChecking for permissions of USB attached printers...[0m
hp-check[8053]: info: :
HP Device 0x7504 at 002:002:
hp-check[8053]: info: : Device URI: hp:/usb/Deskjet_3840?serial=TH48P1511M040R
hp-check[8053]: info: : Device node: /dev/bus/usb/002/002
hp-check[8053]: info: : Mode: 0664
hp-check[8053]: info: :getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/002
# owner: root
# group: lp
user::rw-
user:kgudeahn:rw-
group::rw-
mask::rw-
other::r--

hp-check[8053]: info: :
hp-check[8053]: info: :---------------
hp-check[8053]: info: :| USER GROUPS |
hp-check[8053]: info: :---------------
hp-check[8053]: info: :
hp-check[8053]: info: :kgudeahn adm disk dialout cdrom floppy audio src video plugdev staff lpadmin netdev powerdev pulse admin

hp-check[8053]: info: :
hp-check[8053]: info: :-----------
hp-check[8053]: info: :| SUMMARY |
hp-check[8053]: info: :-----------
hp-check[8053]: info: :
error: 3 errors and/or warnings.
hp-check[8053]: info: :
hp-check[8053]: info: :[01mSummary of needed commands to run to satisfy missing dependencies:[0m
hp-check[8053]: info: :su -c "apt-get install --force-yes -y libcupsys2-dev cupsys-bsd"
hp-check[8053]: info: :su -c "apt-get install --force-yes -y libsnmp-dev"
hp-check[8053]: info: :su -c "apt-get install --force-yes -y sane"
hp-check[8053]: info: :
hp-check[8053]: info: :Please refer to the installation instructions at:
hp-check[8053]: info: :http://hplip.sourceforge.net/install/index.html

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

Changed in hplip (Debian):
status: Unknown → New
Changed in hplip (Debian):
status: New → Confirmed
Revision history for this message
Boyd Stephen Smith Jr. (bss03) wrote :

Possibly related to https://bugs.launchpad.net/debian/+source/hplip/+bug/391570 ? I am using 3.10.6 and I attached debug / strace output to 391570.

Revision history for this message
Boyd Stephen Smith Jr. (bss03) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.