[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
For a more comprehensive fix that catches all the cases where warning are generated when the global intrepreter lock has been released and _PyThreadState_Current set to NULL, you can try the following patch to pygobject-2. --- pygobject-2-2.28.6.orig/gobject/gobjectmodule.c +++ pygobject-2-2.28.6/gobject/gobjectmodule.c @@ -2307,7 +2307,7 @@ _log_func(const gchar *log_domain, const gchar *message, gpointer user_data) { -if (G_LIKELY(Py_IsInitialized())) +if (G_LIKELY(Py_IsInitialized()) && (NULL != _PyThreadState_Current)) { PyGILState_STATE state; PyObject* warning = user_data; This seems a bit like wallpapering over the cracks, but it was the simplest fix I could come up with. Roger -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pygobject-2 in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: Invalid Status in “hplip” package in Ubuntu: Invalid Status in “pango” package in Ubuntu: New Status in “pygobject-2” package in Ubuntu: New Status in “python-defaults” package in Ubuntu: New Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
So I am marking the HPLIP tasks invalid and I have also added a Pango task as moving away a bogus config file of Pango also solves the problem. ** Changed in: hplip Status: New => Invalid ** Changed in: hplip (Ubuntu) Status: Confirmed => Invalid ** Also affects: pango (Ubuntu) Importance: Undecided Status: New ** Changed in: pango (Ubuntu) Importance: Undecided => Medium ** Changed in: pygobject-2 (Ubuntu) Importance: Undecided => Medium ** Changed in: python-defaults (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pygobject-2 in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: Invalid Status in “hplip” package in Ubuntu: Invalid Status in “pango” package in Ubuntu: New Status in “pygobject-2” package in Ubuntu: New Status in “python-defaults” package in Ubuntu: New Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
I switched to trying to resolve my case of the bug by fixing the cause of the warning. In my case this is a warning from pango that it could not find a loadable module. /usr/lib/i386-linux-gnu/pango/1.8.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory' The directory /usr/lib/i386-linux-gnu/pango does not even exist on my installation. However in /etc/pango/pango.modules there is a long list of modules supposedly in that directory including an entry for pango- basic-fc.so. I found some comments on the web that pango-basic-fc.so is now statically linked in recent revisions of pango. So I just renamed the pango.modules file to pango.modules.old. Everything now works fine. This would seem to prove that this is a bug in the python infrastructure. It is definitely not a bug in hplip. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pygobject-2 in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Status in “pygobject-2” package in Ubuntu: New Status in “python-defaults” package in Ubuntu: New Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
I suspect that this is happening because python has hooked itself if into the GTK logging system. So it looks like _PyErr_WarnEx should really check whether _PyThreadState_Current is non NULL before proceding. This rreally looks like a horrible can of worms. Can the python guys please look at this. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pygobject-2 in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Status in “pygobject-2” package in Ubuntu: New Status in “python-defaults” package in Ubuntu: New Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
Here is a slighlty more informative gdb run with the python-qt4 debug symbols loaded. You can see from this that the crash occurs because the qt4 sip code calls Py_BEGIN_ALLOW_THREADS This sets _PyThreadState_Current to NULL, and then sipCpp = new sipQApplication(nargc, argv); Somewhere in the setup of this object a call to the Python warning mechansim occurs with the trhead state still NULL. (gdb) ignore 1 1149 Will ignore next 1149 crossings of breakpoint 1. (gdb) run Starting program: /usr/bin/python /usr/bin/hp-systray -g -x [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". HP Linux Imaging and Printing System (ver. 3.14.3) System Tray Status Service ver. 2.0 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. hp-systray[3194]: debug: Locking: /home/roger/.hplip/hp-systray.lock hp-systray[3194]: debug: Creating pipe: hpssd (5) ==> systemtray (4) hp-systray[3194]: debug: Creating pipe: hpssd (6) ==> hpdio (4) hp-systray[3194]: debug: Creating pipe: hpdio (8) ==> hpssd (7) hp-systray(hpdio)[3196]: debug: PID=3196 hp-systray(hpssd)[3195]: debug: PID=3195 hp-systray(hpssd)[3195]: debug: Entering main dbus loop... [New Thread 0xb40a9b40 (LWP 3197)] [New Thread 0xb36ffb40 (LWP 3198)] /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK set_interactive(1) hp-systray(qt4)[3194]: debug: PID=3194 hp-systray(qt4)[3194]: debug: Go to here 1! Hardware watchpoint 1: _PyThreadState_Current Old value = (PyThreadState *) 0x835d050 New value = (PyThreadState *) 0x0 PyEval_SaveThread () at ../Python/ceval.c:340 340 if (tstate == NULL) (gdb) finish Run till exit from #0 PyEval_SaveThread () at ../Python/ceval.c:340 init_type_QApplication (sipSelf=0xb7a664f4, sipArgs= (['/usr/bin/hp-systray', '-g', '-x'],), sipKwds=0x0, sipUnused=0xbfffe880, sipParseErr=0xbfffe88c) at /build/buildd/python-qt4-4.10.4+dfsg/sip/QtGui/qapplication.sip:886 886 sipCpp = new sipQApplication(nargc, argv); Value returned is $2 = (PyThreadState *) 0x835d050 (gdb) next 885 Py_BEGIN_ALLOW_THREADS (gdb) next 886 sipCpp = new sipQApplication(nargc, argv); (gdb) next Program received signal SIGSEGV, Segmentation fault. do_warn.29441 ( message=message@entry='/usr/lib/i386-linux-gnu/pango/1.8.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory', category=category@entry=, stack_level=stack_level@entry=1) at ../Python/_warnings.c:594 594 if (!setup_context(stack_level, &filename, &lineno, &module, ®istry)) (gdb) bt #0 do_warn.29441 ( message=message@entry='/usr/lib/i386-linux-gnu/pango/1.8.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory', category=category@entry=, stack_level=stack_level@entry=1) at ../Python/_warnings.c:594 #1 0x081f34cf in PyErr_WarnEx (category=, text=0x8726768 "/usr/lib/i386-linux-gnu/pango/1.8.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory", stack_level=1) at ../Python/_warnings.c:720 #2 0xb4e5aaec in ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so #3 0xb67152f7 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb6715523 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xb45637d6 in ?? () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 #6 0xb535fdfe in g_type_module_use () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #7 0xb456389b in ?? () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 #8 0xb4563967 in ?? () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 #9 0xb4567e8c in ?? () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 #10 0xb456818c in ?? () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 #11 0xb45691f7 in pango_itemize_with_base_dir () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 #12 0xb4570d5f in ?? () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 ---Type to continue, or q to quit--- #13 0xb4572116 in pango_layout_get_unknown_glyphs_count () from /usr/lib/i386-linux-gnu/libpango-1.0.so.0 #14 0xb481c130 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 #15 0xb481fc03 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 #16 0xb535cb43 in g_type_create_instance () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #17 0xb533f8fe in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #18 0xb53418f1 in g_object_newv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #19 0xb5342010 in g_object_new () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #20 0xb48219f4 in gtk_entry_new () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 #21 0xb48126c5 in ?? () from /usr/lib/i386-
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
I had a quick try with python-dbg but got some error messages very early one in the initialisation process. I have not looked into them any further. However I have no do a run with a hardware break point on _PyThreadState_Current. This show that it is the /usr/lib/python2.7 /dist-packages/PyQt4/QtGui.so module that is causing the problem by calling PyEval_SaveThread () just before the crash. This has the affect of setting the current thread state to NULL. So this no looks like it could be a problem with the Qt4 support in Python not handling multithreading correctly. I think this is a far as I can go diagnosing this. I was hoping I could find some way of hacking a work around into hp-systray but this seems unlikely. (gdb) ignore 1 1147 Will ignore next 1147 crossings of breakpoint 1. (gdb) run Starting program: /usr/bin/python /usr/bin/hp-systray -g -x [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". HP Linux Imaging and Printing System (ver. 3.14.3) System Tray Status Service ver. 2.0 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. hp-systray[3456]: debug: Locking: /home/roger/.hplip/hp-systray.lock hp-systray[3456]: debug: Creating pipe: hpssd (5) ==> systemtray (4) hp-systray[3456]: debug: Creating pipe: hpssd (6) ==> hpdio (4) hp-systray[3456]: debug: Creating pipe: hpdio (8) ==> hpssd (7) hp-systray(hpdio)[3458]: debug: PID=3458 hp-systray(hpssd)[3457]: debug: PID=3457 hp-systray(hpssd)[3457]: debug: Entering main dbus loop... [New Thread 0xb40a9b40 (LWP 3459)] [New Thread 0xb36ffb40 (LWP 3460)] /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK set_interactive(1) hp-systray(qt4)[3456]: debug: PID=3456 hp-systray(qt4)[3456]: debug: Go to here 1! Hardware watchpoint 1: _PyThreadState_Current Old value = (PyThreadState *) 0x835d050 New value = (PyThreadState *) 0x0 PyEval_SaveThread () at ../Python/ceval.c:340 340 if (tstate == NULL) (gdb) bt #0 PyEval_SaveThread () at ../Python/ceval.c:340 #1 0xb6413d58 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so #2 0xb723fd86 in ?? () from /usr/lib/python2.7/dist-packages/sip.so #3 0x08144c11 in wrap_init.25210 (self=, args=(['/usr/bin/hp-systray', '-g', '-x'],), wrapped=0xb723faa0, kwds=0x0) at ../Objects/typeobject.c:4748 #4 0x0814481c in wrapper_call.11136 (wp=wp@entry=0xb7285eac, args=args@entry=(['/usr/bin/hp-systray', '-g', '-x'],), kwds=kwds@entry=0x0) at ../Objects/descrobject.c:1035 #5 0x081045a9 in PyObject_Call (kw=0x0, arg=(['/usr/bin/hp-systray', '-g', '-x'],), func=) at ../Objects/abstract.c:2529 #6 PyEval_CallObjectWithKeywords ( func=func@entry=, arg=arg@entry=(['/usr/bin/hp-systray', '-g', '-x'],), kw=kw@entry=0x0) at ../Python/ceval.c:3889 #7 0x0817c6ed in wrapperdescr_call.11249 (descr=0xb72922ac, args=, kwds=0x0) at ../Objects/descrobject.c:343 #8 0x081572f5 in PyObject_Call (kw=0x0, arg=(, ['/usr/bin/hp-systray', '-g', '-x']), func=) at ../Objects/abstract.c:2529 #9 do_call (nk=, na=, pp_stack=0xbfffea1c, ---Type to continue, or q to quit--- func=) at ../Python/ceval.c:4238 #10 call_function (oparg=, pp_stack=0xbfffea1c) at ../Python/ceval.c:4043 #11 PyEval_EvalFrameEx ( f=f@entry=Frame 0xb421731c, for file /usr/share/hplip/ui4/systemtray.py, line 301, in __init__ (self=, args=['/usr/bin/hp-systray', '-g', '-x'], read_pipe=4), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #12 0x080c7212 in PyEval_EvalCodeEx (closure=, defcount=0, defs=0x0, kwcount=, kws=, argcount=, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252 #13 function_call.15346 (func=func@entry=, arg=arg@entry=(, ['/usr/bin/hp-systray', '-g', '-x'], 4), kw=kw@entry=0x0) at ../Objects/funcobject.c:526 #14 0x08114a22 in PyObject_Call (kw=0x0, arg=(, ['/usr/bin/hp-systray', '-g', '-x'], 4), func=) at ../Objects/abstract.c:2529 #15 instancemethod_call.8775 (func=, func@entry=, arg=(, ['/usr/bin/hp-systray', '-g', '-x'], 4), arg@entry=(['/usr/bin/hp-systray', '-g', '-x'], 4), kw=kw@entry=0x0) at ../Objects/classobject.c:2602 ---Type to continue, or q to quit--- #16 0x08114362 in PyObject_Call (kw=0x0, arg=(['/usr/bin/hp-systray', '-g', '-x'], 4), func=) at ../Objects/abstract.c:2529 #17 slot_tp_init.25855 (self=self@entry=, args=args@entry=(['/usr/bin/hp-systray', '-g', '-x'], 4), kwds=kwds@entry=0x0) at ../Objects/typeobject.c:5692 #18 0x0814415f in type_call.25519 (type=, args=(['/usr/bin/hp-systray', '-g', '-x'], 4), kwds=0x0) at ../Objects/typeobject.c:745 #19 0x081572f5 in PyObject_Call (kw=0x0, arg=(['/usr/bin/hp-systray', '-g', '
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
another candidate for the real issue are the pygobject bindings. ** Also affects: pygobject-2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pygobject-2 in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Status in “pygobject-2” package in Ubuntu: New Status in “python-defaults” package in Ubuntu: New Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
does this work with the python-dbg interpreter? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Status in “pygobject-2” package in Ubuntu: New Status in “python-defaults” package in Ubuntu: New Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
Added python-defaults task so that the Python experts will see this bug report. ** Also affects: python-defaults (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Status in “python-defaults” package in Ubuntu: New Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
This looks like a bug in the python interpreter. The routine setup_context in Python/_warnings.c looks like this. setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno, PyObject **module, PyObject **registry) { PyObject *globals; /* Setup globals and lineno. */ PyFrameObject *f = PyThreadState_GET()->frame; PyThreadState_GET is a macro defined in Include/pystate.h #ifdef Py_DEBUG #define PyThreadState_GET() PyThreadState_Get() #else #define PyThreadState_GET() (_PyThreadState_Current) #endif Py_DEBUG does not appear to have been defined when this version of python was compiled. So the contents of _PyThreadState_Current are used as a pointer. Unfortunately it looks like this routine can be called when it is set to NULL. I put a break on the do_warn function in the interpreter and ran hp-systray -g -x. The first time it triggers (_PyThreadState_Current is non NULL and all is OK. The second time it is NULL and the crash occurs. This may be because this warning is being triggered deep in the initialisation code of a python object. I do not know whether this is a python bug or an hplip bug. Maybe a python expert can comment on this. P.S. the python assembly code is heavily inline optimised by gcc so is very hard to relate to real line numbers. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
This bug still exists on 14.04 Trusty Tahr. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
To the HPLIP developers at HP, it seems that the do_warn() function used by systray is generally broken, causing a segmentation fault whenever it is called. Can you have a look into this? Thanks. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 860680] Re: systray.py crashed with SIGSEGV
This bug has many duplicates. It appears that systray.py will crash whenever a warning message is generated. The oither bugs report a number of different warning messages. The following bugs are definite duplicates. #862779 #1046036 #1046635 #1157504 #1287596 #1299676 #1299764 The following are potential duplicates #917727 #923137 #963315 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/860680 Title: systray.py crashed with SIGSEGV Status in HP Linux Imaging and Printing: New Status in “hplip” package in Ubuntu: Confirmed Bug description: system reboot and after loading the desktop the error happened. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: hplip-data 3.11.7-1ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 NonfreeKernelModules: wl ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CrashCounter: 1 Date: Tue Sep 27 11:33:43 2011 EcryptfsInUse: Yes ExecutablePath: /usr/share/hplip/systray.py InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922) InterpreterPath: /usr/bin/python2.7 Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11 MachineType: Dell Inc. Inspiron N7010 PackageArchitecture: all Papersize: letter PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7 ProcCmdline: python /usr/bin/hp-systray ProcCwd: /home/rbrown ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7 SegvAnalysis: Segfault happened at: 0x49c60b: mov0x10(%rax),%rdi PC (0x0049c60b) ok source "0x10(%rax)" (0x0010) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: hplip StacktraceTop: ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 Title: systray.py crashed with SIGSEGV UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 10/20/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A09 dmi.board.name: 08VFX1 dmi.board.vendor: Dell Inc. dmi.board.version: A09 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A09 dmi.modalias: dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09: dmi.product.name: Inspiron N7010 dmi.product.version: A09 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp