[Bug 860680] Re: systray.py crashed with SIGSEGV

Roger James 860680 at bugs.launchpad.net
Sun Apr 27 17:13:11 UTC 2014


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=<SystemTrayApp at remote 0xb7a664f4>, 
    args=(['/usr/bin/hp-systray', '-g', '-x'],), wrapped=0xb723faa0, kwds=0x0)
    at ../Objects/typeobject.c:4748
#4  0x0814481c in wrapper_call.11136 (wp=wp at entry=0xb7285eac, 
    args=args at entry=(['/usr/bin/hp-systray', '-g', '-x'],), 
    kwds=kwds at entry=0x0) at ../Objects/descrobject.c:1035
#5  0x081045a9 in PyObject_Call (kw=0x0, 
    arg=(['/usr/bin/hp-systray', '-g', '-x'],), 
    func=<method-wrapper at remote 0xb7285eac>) at ../Objects/abstract.c:2529
#6  PyEval_CallObjectWithKeywords (
    func=func at entry=<method-wrapper at remote 0xb7285eac>, 
    arg=arg at entry=(['/usr/bin/hp-systray', '-g', '-x'],), kw=kw at entry=0x0)
    at ../Python/ceval.c:3889
#7  0x0817c6ed in wrapperdescr_call.11249 (descr=0xb72922ac, 
    args=<optimised out>, kwds=0x0) at ../Objects/descrobject.c:343
#8  0x081572f5 in PyObject_Call (kw=0x0, 
    arg=(<SystemTrayApp at remote 0xb7a664f4>, ['/usr/bin/hp-systray', '-g', '-x']), func=<wrapper_descriptor at remote 0xb72922ac>)
    at ../Objects/abstract.c:2529
#9  do_call (nk=<optimised out>, na=<optimised out>, pp_stack=0xbfffea1c, 
---Type <return> to continue, or q <return> to quit---
    func=<wrapper_descriptor at remote 0xb72922ac>) at ../Python/ceval.c:4238
#10 call_function (oparg=<optimised out>, pp_stack=0xbfffea1c)
    at ../Python/ceval.c:4043
#11 PyEval_EvalFrameEx (
    f=f at entry=Frame 0xb421731c, for file /usr/share/hplip/ui4/systemtray.py, line 301, in __init__ (self=<SystemTrayApp at remote 0xb7a664f4>, args=['/usr/bin/hp-systray', '-g', '-x'], read_pipe=4), throwflag=throwflag at entry=0)
    at ../Python/ceval.c:2666
#12 0x080c7212 in PyEval_EvalCodeEx (closure=<optimised out>, defcount=0, 
    defs=0x0, kwcount=<optimised out>, kws=<optimised out>, 
    argcount=<optimised out>, args=<optimised out>, locals=0x0, 
    globals=<optimised out>, co=<optimised out>) at ../Python/ceval.c:3252
#13 function_call.15346 (func=func at entry=<function at remote 0xb421841c>, 
    arg=arg at entry=(<SystemTrayApp at remote 0xb7a664f4>, ['/usr/bin/hp-systray', '-g', '-x'], 4), kw=kw at entry=0x0) at ../Objects/funcobject.c:526
#14 0x08114a22 in PyObject_Call (kw=0x0, 
    arg=(<SystemTrayApp at remote 0xb7a664f4>, ['/usr/bin/hp-systray', '-g', '-x'], 4), func=<function at remote 0xb421841c>) at ../Objects/abstract.c:2529
#15 instancemethod_call.8775 (func=<function at remote 0xb421841c>, 
    func at entry=<instancemethod at remote 0xb76e2824>, 
    arg=(<SystemTrayApp at remote 0xb7a664f4>, ['/usr/bin/hp-systray', '-g', '-x'], 4), arg at entry=(['/usr/bin/hp-systray', '-g', '-x'], 4), kw=kw at entry=0x0)
    at ../Objects/classobject.c:2602
---Type <return> to continue, or q <return> to quit---
#16 0x08114362 in PyObject_Call (kw=0x0, 
    arg=(['/usr/bin/hp-systray', '-g', '-x'], 4), 
    func=<instancemethod at remote 0xb76e2824>) at ../Objects/abstract.c:2529
#17 slot_tp_init.25855 (self=self at entry=<SystemTrayApp at remote 0xb7a664f4>, 
    args=args at entry=(['/usr/bin/hp-systray', '-g', '-x'], 4), 
    kwds=kwds at entry=0x0) at ../Objects/typeobject.c:5692
#18 0x0814415f in type_call.25519 (type=<optimised out>, 
    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', '-x'], 4), 
    func=<PyQt4.QtCore.pyqtWrapperType at remote 0xb505fd84>)
    at ../Objects/abstract.c:2529
#20 do_call (nk=<optimised out>, na=<optimised out>, pp_stack=0xbfffee0c, 
    func=<PyQt4.QtCore.pyqtWrapperType at remote 0xb505fd84>)
    at ../Python/ceval.c:4238
#21 call_function (oparg=<optimised out>, pp_stack=0xbfffee0c)
    at ../Python/ceval.c:4043
#22 PyEval_EvalFrameEx (
    f=f at entry=Frame 0xb75ae4ac, for file /usr/share/hplip/ui4/systemtray.py, line 817, in run (read_pipe=4), throwflag=throwflag at entry=0)
    at ../Python/ceval.c:2666
#23 0x0815707c in fast_function (nk=<optimised out>, na=<optimised out>, n=1, 
---Type <return> to continue, or q <return> to quit---
    pp_stack=0xbfffeedc, func=<function at remote 0xb42183e4>)
    at ../Python/ceval.c:4106
#24 call_function (oparg=<optimised out>, pp_stack=0xbfffeedc)
    at ../Python/ceval.c:4041
#25 PyEval_EvalFrameEx (
    f=f at entry=Frame 0xb7cf175c, for file /usr/bin/hp-systray, line 114, in <module> (), throwflag=throwflag at entry=0) at ../Python/ceval.c:2666
#26 0x081a2543 in PyEval_EvalCodeEx (closure=0x0, defcount=0, defs=0x0, 
    kwcount=0, kws=0x0, argcount=0, args=0x0, 
    locals={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM': 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'SYSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated), locals at entry=<code at remote 0xb7d00b18>, 
---Type <return> to continue, or q <return> to quit---
    globals={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM': 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'SYSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated), co=0xb7d00b18) at ../Python/ceval.c:3252
#27 PyEval_EvalCode (co=co at entry=0xb7d00b18, 
    globals=globals at entry={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM': 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': ---Type <return> to continue, or q <return> to quit---
34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'SYSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated), 
    locals=locals at entry={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM': 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'SYSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated)) at ../Python/ceval.c:667
#28 0x080ac4a2 in run_mod.42624 (mod=<optimised out>, 
    filename=<optimised out>, 
    globals={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'E---Type <return> to continue, or q <return> to quit---
VENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM': 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'SYSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated), 
    locals={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM': 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'S---Type <return> to continue, or q <return> to quit---
YSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated), flags=0xbffff05c, arena=0x83ae0b0) at ../Python/pythonrun.c:1370
#29 0x080ac82e in PyRun_FileExFlags (fp=fp at entry=0x8378730, 
    filename=filename at entry=0xbffff373 "/usr/bin/hp-systray", 
    start=start at entry=257, 
    globals=globals at entry={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM': 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'SYSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated), 
    locals=locals at entry={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM'---Type <return> to continue, or q <return> to quit---
: 6, 'STATUS_PRINTER_CANCELING': 1005, 'STATUS_PRINTER_TRAY_2_OUT_OF_PAPER': 1038, 'IO_MODE_DOT4': 3, 'CLEAN_TYPE_PCL': 1, 'PLUGIN_REASON_NONE': 0, 'COPY_TYPE_SCAN_TO_PRINT': 2, 'STATUS_TYPE_LEDM': 10, 'PLUGIN_REASON_FASTER_PRINTING': 2, 'AGENT_KIND_NONE': 0, 'QUEUES_CONFIG_ERROR': 1, 'MODEL_TYPE2_DESKJET_AIO': 2, 'PLUGIN_FILES_CORRUPTED': '-2', 'STATUS_PRINTER_MEDIA_SIZE_MISMATCH': 1023, 'UserConfig': <type at remote 0xb7a53d14>, 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 34, 'SUPPORT_RELEASED': 1, 'STATUS_PRINTER_LOW_CYAN_TONER': 1604, 'AGENT_TYPE_GGK': 10, 'MODEL_TYPE2_OFFICEJET': 4, 'ALIGN_TYPE_9XX': 3, 'PLUGIN_REASON_UI_FEATURES': 32768, 'SYSTRAY_MESSAGES_SHOW_NONE': 3, 'IO_SUPPORT_USB': 2, 'EVENT_START_PRINT_JOB': 500, 'AGENT_TYPE_BLACK_B8800': 39, 'DEVICE_STATE_NOT_FOUND': -1, 'STATUS_TYPE_LJ_XML': 6, 'STATUS_PRINTER_DRY_WAIT_TIME': 1007, 'JOB_STORAGE_TYPE_OFF': 0, 'PC...(truncated), closeit=closeit at entry=1, flags=flags at entry=0xbffff05c)
    at ../Python/pythonrun.c:1356
#30 0x080acdfb in PyRun_SimpleFileExFlags (fp=0x8378730, 
    filename=<optimised out>, closeit=1, flags=0xbffff05c)
    at ../Python/pythonrun.c:948
#31 0x080aceee in PyRun_AnyFileExFlags (fp=fp at entry=0x8378730, 
    filename=<optimised out>, filename at entry=0xbffff373 "/usr/bin/hp-systray", 
    closeit=closeit at entry=1, flags=flags at entry=0xbffff05c)
    at ../Python/pythonrun.c:752
#32 0x080adb58 in Py_Main (argc=argc at entry=4, argv=argv at entry=0xbffff194)
    at ../Modules/main.c:640
#33 0x080adc37 in main (argc=4, argv=0xbffff194) at ../Modules/python.c:23
(gdb)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-defaults 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:	mov    0x10(%rax),%rdi
   PC (0x0049c60b) ok
   source "0x10(%rax)" (0x00000010) 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



More information about the foundations-bugs mailing list