systray.py crashed with SIGSEGV in XFreeColormap()

Bug #505460 reported by Philip Muškovac
58
This bug affects 10 people
Affects Status Importance Assigned to Milestone
HPLIP
Incomplete
Undecided
Unassigned
hplip (Ubuntu)
Expired
Medium
Unassigned
qt4-x11 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: hplip

I don't remember it crashing, maybe it crashed on shutdown.

ProblemType: Crash
Architecture: i386
CupsErrorLog:
 E [10/Jan/2010:13:40:59 +0100] Unable to remove temporary file "/var/spool/cups/tmp/.fontconfig" - Is a directory
 E [10/Jan/2010:13:40:59 +0100] Unable to remove temporary file "/var/spool/cups/tmp/.hplip" - Is a directory
Date: Sun Jan 10 13:08:47 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/share/hplip/systray.py
InterpreterPath: /usr/bin/python2.6
Lpstat:
 device for Officejet_7300: hp:/net/Officejet_7300_series?ip=192.168.1.51
 device for Officejet_7300_fax: hpfax:/net/Officejet_7300_series?ip=192.168.1.51
MachineType: ASUSTeK Computer INC. 1000H
Package: hplip-data 3.9.12-2ubuntu3
PackageArchitecture: all
Papersize: a4
PpdFiles:
 Officejet_7300_fax: HP Fax hpijs
 Officejet_7300: HP Officejet 7300 Series, hpcups 3.9.12
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-10-generic root=UUID=f2364b6a-ed8d-421f-ba05-2387ef7371fd ro crashkernel=384M-2G:64M,2G-:128M
ProcCmdline: python /usr/bin/hp-systray
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
SegvAnalysis:
 Segfault happened at: 0x3a44ff0 <XFreeColormap+32>: mov 0x4d0(%esi),%eax
 PC (0x03a44ff0) ok
 source "0x4d0(%esi)" (0x000004d0) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: hplip
StacktraceTop:
 XFreeColormap () from /usr/lib/libX11.so.6
 ~QSystemTrayIconSys (this=0x0,
 QSystemTrayIconPrivate::remove_sys (this=0x9d25f08)
 ~QSystemTrayIcon (this=0x9d1d608,
 ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtGui.so
Tags: lucid
Title: systray.py crashed with SIGSEGV in XFreeColormap()
Uname: Linux 2.6.32-10-generic i686
UserGroups: adm admin cdrom dialout lpadmin netdev plugdev sambashare
dmi.bios.date: 12/30/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1305
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1000H
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTek Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1305:bd12/30/2008:svnASUSTeKComputerINC.:pn1000H:pvrx.x:rvnASUSTeKComputerINC.:rn1000H:rvrx.xx:cvnASUSTekComputerINC.:ct10:cvrx.x:
dmi.product.name: 1000H
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
Philip Muškovac (yofel) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 XFreeColormap (dpy=0x0, cmap=83886166) at ../../src/FreeCmap.c:43
 ~QSystemTrayIconSys (this=0x9d3f430)
 QSystemTrayIconPrivate::remove_sys (this=0x9d25f08)
 ~QSystemTrayIcon (this=0x9d1d608)
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in hplip (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Philip Muškovac (yofel)
visibility: private → public
Revision history for this message
AlexT (aletum) wrote :

It might be of some help but I had the very same XFreeColormap() crash at the exact same location 0x033f0db0 mov 0x4d0(%esi),%eax
But in my case I was running a prog I wrote in C++ using QtCreator. The backtrace was:
0 XFreeColormap /usr/lib/libX11.so.6 0x033f0db0
1 ?? /usr/lib/libQtGui.so.4 0x02ce58d4
2 ?? /usr/lib/libQtGui.so.4 0x02ce52a8
3 QSystemTrayIcon::~QSystemTrayIcon() /usr/lib/libQtGui.so.4 0x02ccfda0
4 QObjectPrivate::deleteChildren() /usr/lib/libQtCore.so.4 0x00c8346f
5 QObject::~QObject() /usr/lib/libQtCore.so.4 0x00c8b7cf
Hope that'll help.

Revision history for this message
AlexT (aletum) wrote :

The funny bit here is that when I replaced QSystemTrayIcon with KSystemTrayIcon, no crash occured. So, apparently a Qt bug.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Added Qt task as replacing Qt solves the problem.

Added also PLIP upstream, as one could perhaps also solve the problem by a workaround in HPLIP.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

KSystemTrayIcon is a subclass of QSystemTrayIcon, Qt must be triggering the bug elsewhere.

Changed in qt4-x11 (Ubuntu):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hplip (Ubuntu):
status: New → Confirmed
Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Philip,
Thank you for submitting this bug and reporting a problem with the hplip package. You made this bug report in 2010 and Ubuntu and hplip have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 505460
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu better.
G
[Ubuntu Bug Squad volunteer triager]

Changed in hplip:
status: New → Incomplete
Changed in hplip (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for hplip (Ubuntu) because there has been no activity for 60 days.]

Changed in hplip (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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