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-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 to continue, or q 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 to continue, or q 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=, args=(['/usr/bin/hp-systray', '-g', '-x'],), wrapped=0xb723faa0 , kwds=0x0) at ../Objects/typeobject.c:4748 #41 0x0814481c in wrapper_call.11136 (wp=wp@entry=0xb7285ecc, args=args@entry=(['/usr/bin/hp-systray', '-g', '-x'],), kwds=kwds@entry=0x0) at ../Objects/descrobject.c:1035 #42 0x081045a9 in PyObject_Call (kw=0x0, arg=(['/usr/bin/hp-systray', '-g', '-x'],), func=) at ../Objects/abstract.c:2529 #43 PyEval_CallObjectWithKeywords ( func=func@entry=, arg=arg@entry=(['/usr/bin/hp-systray', '-g', '-x'],), kw=kw@entry=0x0) at ../Python/ceval.c:3889 #44 0x0817c6ed in wrapperdescr_call.11249 (descr=0xb72902ac, args=, kwds=0x0) at ../Objects/descrobject.c:343 #45 0x081572f5 in PyObject_Call (kw=0x0, arg=(, ['/usr/bin/hp-systray', '-g', '-x']), func=) at ../Objects/abstract.c:2529 #46 do_call (nk=, na=, pp_stack=0xbfffea2c, ---Type to continue, or q to quit--- func=) at ../Python/ceval.c:4238 #47 call_function (oparg=, pp_stack=0xbfffea2c) at ../Python/ceval.c:4043 #48 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 #49 0x080c7212 in PyEval_EvalCodeEx (closure=, defcount=0, defs=0x0, kwcount=, kws=, argcount=, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252 #50 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 #51 0x08114a22 in PyObject_Call (kw=0x0, arg=(, ['/usr/bin/hp-systray', '-g', '-x'], 4), func=) at ../Objects/abstract.c:2529 #52 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--- #53 0x08114362 in PyObject_Call (kw=0x0, arg=(['/usr/bin/hp-systray', '-g', '-x'], 4), func=) at ../Objects/abstract.c:2529 #54 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 #55 0x0814415f in type_call.25519 (type=, 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=) at ../Objects/abstract.c:2529 #57 do_call (nk=, na=, pp_stack=0xbfffee1c, func=) at ../Python/ceval.c:4238 #58 call_function (oparg=, pp_stack=0xbfffee1c) at ../Python/ceval.c:4043 #59 PyEval_EvalFrameEx ( f=f@entry=Frame 0xb75ae4ac, for file /usr/share/hplip/ui4/systemtray.py, line 817, in run (read_pipe=4), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #60 0x0815707c in fast_function (nk=, na=, n=1, ---Type to continue, or q to quit--- pp_stack=0xbfffeeec, func=) at ../Python/ceval.c:4106 #61 call_function (oparg=, pp_stack=0xbfffeeec) at ../Python/ceval.c:4041 #62 PyEval_EvalFrameEx ( f=f@entry=Frame 0xb7cf175c, for file /usr/bin/hp-systray, line 114, in (), throwflag=throwflag@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': , '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@entry=, ---Type to continue, or q 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': , '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@entry=0xb7d00b18, globals=globals@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': , 'ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': ---Type to continue, or q 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@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': , '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=, filename=, globals={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'E---Type to continue, or q 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': , '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': , '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 to continue, or q 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@entry=0x8378730, filename=filename@entry=0xbffff38b "/usr/bin/hp-systray", start=start@entry=257, globals=globals@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': , '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@entry={'STATUS_TYPE_PML_AND_PJL': 9, 'STATUS_PRINTER_HARD_ERROR': 1018, 'EVENT_ERROR_DEVICE_DOES_NOT_SUPPORT_OPERATION': 5034, 'FAX_TYPE_LEDM'---Type to continue, or q 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': , '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@entry=1, flags=flags@entry=0xbffff06c) at ../Python/pythonrun.c:1356 #67 0x080acdfb in PyRun_SimpleFileExFlags (fp=0x8378730, filename=, closeit=1, flags=0xbffff06c) at ../Python/pythonrun.c:948 #68 0x080aceee in PyRun_AnyFileExFlags (fp=fp@entry=0x8378730, filename=, filename@entry=0xbffff38b "/usr/bin/hp-systray", closeit=closeit@entry=1, flags=flags@entry=0xbffff06c) at ../Python/pythonrun.c:752 #69 0x080adb58 in Py_Main (argc=argc@entry=4, argv=argv@entry=0xbffff1a4) at ../Modules/main.c:640 #70 0x080adc37 in main (argc=4, argv=0xbffff1a4) at ../Modules/python.c:23 (gdb)