abrt 1.0.0 detected a crash. Attached file: backtrace cmdline: python /usr/bin/hp-systray component: python executable: /usr/bin/python kernel: 2.6.31.5-127.fc12.i686.PAE package: python-2.6.2-2.fc12 rating: 3 reason: Process was terminated by signal 11
Created attachment 375312 [details] File: backtrace
Thank you for reporting this bug. How reproducable is this problem? If you run the program from a terminal, is an error message printed? What version of hplip-gui do you have installed? Looking at the backtrace, it looks like the problem occurred in the program's single thread in XFreeColormap Reassigning component from "python" to "hplip-gui"
*** Bug 543317 has been marked as a duplicate of this bug. ***
*** Bug 543960 has been marked as a duplicate of this bug. ***
*** Bug 542148 has been marked as a duplicate of this bug. ***
*** Bug 544898 has been marked as a duplicate of this bug. ***
*** Bug 545580 has been marked as a duplicate of this bug. ***
*** Bug 548764 has been marked as a duplicate of this bug. ***
*** Bug 550867 has been marked as a duplicate of this bug. ***
*** Bug 554238 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > How reproducable is this problem? To me it looks like it crashes only when you close the icon in the tray. I'll let you know better.
Ok, here are informations you asked. (In reply to comment #2) > How reproducable is this problem? Always: just open hp-systray, right click the system tray icon and click on "Quit". > If you run the program from a terminal, is > an error message printed? Not much informative, just "Segmentation fault (core dumped)". $ hp-systray HP Linux Imaging and Printing System (ver. 3.9.8) System Tray Status Service ver. 2.0 Copyright (c) 2001-9 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. /usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py:122: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK set_interactive(1) Segmentation fault (core dumped) > What version of hplip-gui do you have installed? Mine is hplip-gui-3.9.8-21.fc12.x86_64
Looks like a qt bug to me.
Created attachment 385716 [details] 0001-Don-t-call-XFreeColormap-with-a-NULL-display.patch This looks like it should fix it.
Thanks (is that patch really from 2001? :) )
It's not from 2001, it was created using 'git format-patch' which always uses that date in the From header. Hmm, my local qt build finished and I tested it, but I'm still getting crashes -- I think it's for some other reason now though...
I think QtGui as a whole doesn't work that great if its display is NULL. ;-)
Indeed. A few lines further up, just outside the context of that patch, is another test to see if display is NULL. I figured that meant it was a possibility -- plus see the stack trace from bug #554238: Program terminated with signal 11, Segmentation fault. #0 XFreeColormap (dpy=0x0, cmap=69206028) at FreeCmap.c:43 43 LockDisplay(dpy); Thread 1 (Thread 6374): #0 XFreeColormap (dpy=0x0, cmap=69206028) at FreeCmap.c:43 No locals. #1 0x0417bb1c in QSystemTrayIconSys::~QSystemTrayIconSys ( this=<value optimized out>, __in_chrg=<value optimized out>) at util/qsystemtrayicon_x11.cpp:213 display = 0x0 [...]
I encounter same problem : " Core was generated by `python /usr/bin/hp-systray --force-startup'. Program terminated with signal 11, Segmentation fault. #0 XFreeColormap (dpy=0x0, cmap=90177548) at FreeCmap.c:43 43 FreeCmap.c: No such file or directory. in FreeCmap.c Thread 1 (Thread 30426):" architecture: i686 cmdline: python /usr/bin/hp-systray --force-startup component: hplip coredump: /var/cache/abrt/ccpp-1264371774-30426/coredump executable: /usr/bin/python kernel: 2.6.31.12-174.2.3.fc12.i686 package: hplip-gui-3.9.8-21.fc12 rating: 4 reason: Process was terminated by signal 11 (Segmentation fault) release: Fedora release 12 (Constantine)
*** Bug 558882 has been marked as a duplicate of this bug. ***
*** Bug 564388 has been marked as a duplicate of this bug. ***
*** Bug 568710 has been marked as a duplicate of this bug. ***
*** Bug 569703 has been marked as a duplicate of this bug. ***
*** Bug 559454 has been marked as a duplicate of this bug. ***
*** Bug 569829 has been marked as a duplicate of this bug. ***
*** Bug 569969 has been marked as a duplicate of this bug. ***
*** Bug 570147 has been marked as a duplicate of this bug. ***
*** Bug 571159 has been marked as a duplicate of this bug. ***
*** Bug 571552 has been marked as a duplicate of this bug. ***
*** Bug 571989 has been marked as a duplicate of this bug. ***
How to reproduce ----- 1.Open hplip-gui while Printer is not connected 2.In the notification area , right click hplip-applet and choose quit 3. Comment ----- This crash happened while trying to reproduce BUG564388 , which also occured with same steps
How to reproduce -----
*** Bug 574189 has been marked as a duplicate of this bug. ***
*** Bug 572780 has been marked as a duplicate of this bug. ***
How to reproduce ----- 1.Don't know...I wasn't printing or using anything to do with hplips 2. 3. Comment ----- HP Systray was active not using printer at all
Comment ----- It crash at startup
How to reproduce ----- 1. Right click the systray icon and select Quit. 2. 3. Comment ----- I was just quitting the application. I had updated several packages with yumex before that (including several kde libraries, the crash might be related to that?).
How to reproduce ----- 1.Right click and Quit 2. 3. Comment ----- I just finished getting to the desktop when I exited the HP Print manager
*** Bug 575659 has been marked as a duplicate of this bug. ***
How to reproduce ----- 1.Right click - Quit 2. 3. Comment ----- I had just turned on my computer and being as the printer is not connected right now I quit the HP manager in the ystem Tray.
it seems the explicit deleting objects is needed after self.quit. I made a patch to fix the crash in hp-systray. It works fine for me diff -up hplip-3.9.8/ui4/systemtray.py.than hplip-3.9.8/ui4/systemtray.py --- hplip-3.9.8/ui4/systemtray.py.than 2010-03-23 17:10:04.000000000 +0100 +++ hplip-3.9.8/ui4/systemtray.py 2010-03-23 17:11:32.000000000 +0100 @@ -489,6 +489,7 @@ class SystemTrayApp(QApplication): log.debug("Exiting") self.sendMessage('', '', EVENT_SYSTEMTRAY_EXIT) self.quit() + del self.tray_icon def toolboxTriggered(self):
reassign to correct component.
Thanks! Reported upstream.
hplip-3.10.2-5.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/hplip-3.10.2-5.fc13
hplip-3.10.2-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/hplip-3.10.2-2.fc12
hplip-3.10.2-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/hplip-3.10.2-1.fc11
hplip-3.10.2-5.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update hplip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/hplip-3.10.2-5.fc13
hplip-3.10.2-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update hplip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/hplip-3.10.2-1.fc11
hplip-3.10.2-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update hplip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/hplip-3.10.2-2.fc12
(In reply to comment #51) > hplip-3.10.2-2.fc12 has been pushed to the Fedora 12 testing repository. If > problems still persist, please make note of it in this bug report. > If you want to test the update, you can install it with > su -c 'yum --enablerepo=updates-testing update hplip'. You can provide > feedback for this update here: > http://admin.fedoraproject.org/updates/hplip-3.10.2-2.fc12 this update works for me and solve this bug , thanks .
How to reproduce ----- 1.Don't know 2. 3. Comment ----- It appeared immediately after login
How to reproduce ----- 1.Dont know 2. 3.
How to reproduce ----- 1. Sorry, I don't know how this occurred 2. 3. Comment ----- I only noticed the issue after bootup.
How to reproduce ----- 1. 2. 3. Comment ----- It happends sometimes on startup when it loads the HP icon in the system tray.
hplip-3.10.2-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
hplip-3.10.2-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
hplip-3.10.2-8.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.