[Bug 860680] Re: systray.py crashed with SIGSEGV
Roger James
860680 at bugs.launchpad.net
Mon Apr 28 15:14:33 UTC 2014
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 at 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 at entry=<type at remote 0xb43a878c>,
stack_level=stack_level at 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 at 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 at entry=<type at remote 0xb43a878c>,
stack_level=stack_level at entry=1) at ../Python/_warnings.c:594
#1 0x081f34cf in PyErr_WarnEx (category=<type at remote 0xb43a878c>,
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 <return> to continue, or q <return> 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-linux-gnu/libgtk-x11-2.0.so.0
#22 0xb535cb43 in g_type_create_instance ()
from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#23 0xb533f478 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#24 0xb480ff32 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#25 0xb533f8b4 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#26 0xb53418f1 in g_object_newv ()
from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#27 0xb5342010 in g_object_new ()
from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#28 0xb48127a4 in gtk_combo_box_entry_new ()
from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#29 0xb59b3a2d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb59aef68 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0xb59951cd in QGtkStyle::QGtkStyle() ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0xb590b58f in QStyleFactory::create(QString const&) ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#33 0xb55d818b in QApplication::style() ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0xb55d85d5 in QApplicationPrivate::initialize() ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0xb55d871c in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#36 0xb55d89c5 in QApplication::QApplication(int&, char**, int) ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#37 0xb6413aa4 in sipQApplication::sipQApplication (this=0x8576868,
a0=@0xb66864f0: 3, a1=0x837bf18) at sipQtGuipart9.cpp:35930
#38 0xb6413d80 in 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
#39 0xb723fd86 in sipSimpleWrapper_init (self=0xb7a664f4,
---Type <return> to continue, or q <return> to quit---
args=(['/usr/bin/hp-systray', '-g', '-x'],), kwds=0x0)
at /build/buildd/sip4-4.15.5/siplib/siplib.c:9532
#40 0x08144c11 in wrap_init.25210 (self=<SystemTrayApp at remote 0xb7a664f4>,
args=(['/usr/bin/hp-systray', '-g', '-x'],),
wrapped=0xb723faa0 <sipSimpleWrapper_init>, kwds=0x0)
at ../Objects/typeobject.c:4748
#41 0x0814481c in wrapper_call.11136 (wp=wp at entry=0xb7285ecc,
args=args at entry=(['/usr/bin/hp-systray', '-g', '-x'],),
kwds=kwds at entry=0x0) at ../Objects/descrobject.c:1035
#42 0x081045a9 in PyObject_Call (kw=0x0,
arg=(['/usr/bin/hp-systray', '-g', '-x'],),
func=<method-wrapper at remote 0xb7285ecc>) at ../Objects/abstract.c:2529
#43 PyEval_CallObjectWithKeywords (
func=func at entry=<method-wrapper at remote 0xb7285ecc>,
arg=arg at entry=(['/usr/bin/hp-systray', '-g', '-x'],), kw=kw at entry=0x0)
at ../Python/ceval.c:3889
#44 0x0817c6ed in wrapperdescr_call.11249 (descr=0xb72902ac,
args=<optimised out>, kwds=0x0) at ../Objects/descrobject.c:343
#45 0x081572f5 in PyObject_Call (kw=0x0,
arg=(<SystemTrayApp at remote 0xb7a664f4>, ['/usr/bin/hp-systray', '-g', '-x']), func=<wrapper_descriptor at remote 0xb72902ac>)
at ../Objects/abstract.c:2529
#46 do_call (nk=<optimised out>, na=<optimised out>, pp_stack=0xbfffea2c,
---Type <return> to continue, or q <return> to quit---
func=<wrapper_descriptor at remote 0xb72902ac>) at ../Python/ceval.c:4238
#47 call_function (oparg=<optimised out>, pp_stack=0xbfffea2c)
at ../Python/ceval.c:4043
#48 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
#49 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
#50 function_call.15346 (func=func at entry=<function at remote 0xb42193e4>,
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
#51 0x08114a22 in PyObject_Call (kw=0x0,
arg=(<SystemTrayApp at remote 0xb7a664f4>, ['/usr/bin/hp-systray', '-g', '-x'], 4), func=<function at remote 0xb42193e4>) at ../Objects/abstract.c:2529
#52 instancemethod_call.8775 (func=<function at remote 0xb42193e4>,
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---
#53 0x08114362 in PyObject_Call (kw=0x0,
arg=(['/usr/bin/hp-systray', '-g', '-x'], 4),
func=<instancemethod at remote 0xb76e2824>) at ../Objects/abstract.c:2529
#54 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
#55 0x0814415f in type_call.25519 (type=<optimised out>,
args=(['/usr/bin/hp-systray', '-g', '-x'], 4), kwds=0x0)
at ../Objects/typeobject.c:745
#56 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
#57 do_call (nk=<optimised out>, na=<optimised out>, pp_stack=0xbfffee1c,
func=<PyQt4.QtCore.pyqtWrapperType at remote 0xb505fd84>)
at ../Python/ceval.c:4238
#58 call_function (oparg=<optimised out>, pp_stack=0xbfffee1c)
at ../Python/ceval.c:4043
#59 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
#60 0x0815707c in fast_function (nk=<optimised out>, na=<optimised out>, n=1,
---Type <return> to continue, or q <return> to quit---
pp_stack=0xbfffeeec, func=<function at remote 0xb42193ac>)
at ../Python/ceval.c:4106
#61 call_function (oparg=<optimised out>, pp_stack=0xbfffeeec)
at ../Python/ceval.c:4041
#62 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
#63 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
#64 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
#65 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=0xbffff06c, arena=0x83ae0b0) at ../Python/pythonrun.c:1370
#66 0x080ac82e in PyRun_FileExFlags (fp=fp at entry=0x8378730,
filename=filename at entry=0xbffff38b "/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=0xbffff06c)
at ../Python/pythonrun.c:1356
#67 0x080acdfb in PyRun_SimpleFileExFlags (fp=0x8378730,
filename=<optimised out>, closeit=1, flags=0xbffff06c)
at ../Python/pythonrun.c:948
#68 0x080aceee in PyRun_AnyFileExFlags (fp=fp at entry=0x8378730,
filename=<optimised out>, filename at entry=0xbffff38b "/usr/bin/hp-systray",
closeit=closeit at entry=1, flags=flags at entry=0xbffff06c)
at ../Python/pythonrun.c:752
#69 0x080adb58 in Py_Main (argc=argc at entry=4, argv=argv at entry=0xbffff1a4)
at ../Modules/main.c:640
#70 0x080adc37 in main (argc=4, argv=0xbffff1a4) 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