Bug 286648

Summary: crash when suspend
Product: [I don't know] kde Reporter: Jerome Hauser <jhauser>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jerome Hauser 2011-11-15 03:38:44 UTC
Application: python2 (0.7.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
close lid so laptop goes into suspend.  When I come back, open lid.  Crash dialog box is open

The crash can be reproduced some of the time.

-- Backtrace:
Application: synaptiks (python2.7), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f48dd70d720 (LWP 2113))]

Thread 3 (Thread 0x7f48c8c5a700 (LWP 2128)):
#0  0x00007f48dc18b773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f48d42484f2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f48d4249aaf in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f48d4f3bb7d in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007f48d1cf1abf in XRecordEnableContext () from /usr/lib/libXtst.so.6
#5  0x00007f48d21d8d54 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#6  0x00007f48d21d8775 in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#7  0x00007f48d21d0ef7 in _call_function_pointer (argcount=4, resmem=0x7f48c8c59380, restype=<optimized out>, atypes=<optimized out>, avalues=0x7f48c8c59350, pProc=0x7f48d1cf1a20 <XRecordEnableContext>, flags=4353) at /build/buildd/python2.7-2.7.2/Modules/_ctypes/callproc.c:827
#8  _ctypes_callproc (pProc=0x7f48d1cf1a20 <XRecordEnableContext>, argtuple=0x0, flags=4353, argtypes=<optimized out>, restype=<_ctypes.PyCSimpleType at remote 0x21919b0>, checker=0x0) at /build/buildd/python2.7-2.7.2/Modules/_ctypes/callproc.c:1174
#9  0x00007f48d21c85f7 in PyCFuncPtr_call (self=<optimized out>, inargs=<optimized out>, kwds=0x0) at /build/buildd/python2.7-2.7.2/Modules/_ctypes/_ctypes.c:3911
#10 0x000000000041ad2a in PyObject_Call (func=<_FuncPtr(__name__='XRecordEnableContext') at remote 0x2271120>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#11 0x00000000004b6b9e in do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7f48c8c596a0, func=<_FuncPtr(__name__='XRecordEnableContext') at remote 0x2271120>) at ../Python/ceval.c:4239
#12 call_function (oparg=<optimized out>, pp_stack=0x7f48c8c596a0) at ../Python/ceval.c:4044
#13 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#14 0x00000000004bcd2d in PyEval_EvalCodeEx (co=0x22633b0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#15 0x00000000004b6a5b in fast_function (nk=<optimized out>, na=4, n=<optimized out>, pp_stack=0x7f48c8c59890, func=<function at remote 0x2266de8>) at ../Python/ceval.c:4117
#16 call_function (oparg=<optimized out>, pp_stack=0x7f48c8c59890) at ../Python/ceval.c:4042
#17 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#18 0x00000000004bcd2d in PyEval_EvalCodeEx (co=0x21eca30, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#19 0x0000000000448edf in function_call (func=<function at remote 0x226a398>, arg=(<EventRecorder(_started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f48dd68f8b0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f48dd68f8b0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f48dd68f8b0>) at remote 0x2462f90>) at remote 0x2462ed0>, _callback=<instancemethod at remote 0x213ecd0>, _context=113246209L, _event_signal_map={2: <PyQt4.QtCore.pyqtBoundSignal at remote 0x246ad80>, 3: <PyQt4.QtCore.pyqtBoundSignal at remote 0x246ae40>}) at remote 0x246d680>,), kw=0x0) at ../Objects/funcobject.c:526
#20 0x000000000041ad2a in PyObject_Call (func=<function at remote 0x226a398>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#21 0x000000000043074e in instancemethod_call (func=<function at remote 0x226a398>, arg=(<EventRecorder(_started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f48dd68f8b0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f48dd68f8b0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f48dd68f8b0>) at remote 0x2462f90>) at remote 0x2462ed0>, _callback=<instancemethod at remote 0x213ecd0>, _context=113246209L, _event_signal_map={2: <PyQt4.QtCore.pyqtBoundSignal at remote 0x246ad80>, 3: <PyQt4.QtCore.pyqtBoundSignal at remote 0x246ae40>}) at remote 0x246d680>,), kw=0x0) at ../Objects/classobject.c:2578
#22 0x000000000041ad2a in PyObject_Call (func=<instancemethod at remote 0x213e960>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#23 0x00000000004b5d76 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x213e960>, arg=(), kw=<optimized out>) at ../Python/ceval.c:3890
#24 0x00007f48d8476f22 in sip_api_call_method (isErr=0x0, method=<instancemethod at remote 0x213e960>, fmt=0x7f48d81c1153 "") at /build/buildd/sip4-4.12.4/siplib/siplib.c:1742
#25 0x00007f48d80c26f0 in sipVH_QtCore_11 (sipGILState=PyGILState_UNLOCKED, sipMethod=<instancemethod at remote 0x213e960>) at sipQtCorepart0.cpp:4381
#26 0x00007f48d80f5137 in sipQThread::run (this=0x2679180) at sipQtCorepart2.cpp:2877
#27 0x00007f48da4a3d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007f48dd2ffefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#29 0x00007f48dc19789d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#30 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f48c1df8700 (LWP 2180)):
#0  0x00007f48dc18b773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f48d8d90f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f48d8d91429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f48da5b5f3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f48da589cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f48da589ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f48da4a127f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f48da56ccbf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f48da4a3d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f48dd2ffefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f48dc19789d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f48dd70d720 (LWP 2113)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f48d81a548d in pyqtBoundSignal_emit () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#8  0x00000000004ba151 in ext_do_call (nk=0, na=0, flags=<optimized out>, pp_stack=0x7fff9452c2f0, func=<built-in method emit of PyQt4.QtCore.pyqtBoundSignal object at remote 0x2ba8c60>) at ../Python/ceval.c:4331
#9  PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2705
#10 0x00000000004b6d77 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=0x7fff9452c430, func=<function at remote 0x23a0ed8>) at ../Python/ceval.c:4107
#11 call_function (oparg=<optimized out>, pp_stack=0x7fff9452c430) at ../Python/ceval.c:4042
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#13 0x00000000004bcd2d in PyEval_EvalCodeEx (co=0x2386bb0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#14 0x0000000000448edf in function_call (func=<function at remote 0x2393398>, arg=(<SystemBus(_bus_type=1, _signals_lock=<thread.lock at remote 0x7f48dd68f850>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1ebdaa0>, data={}) at remote 0x246b8c0>, _signal_sender_matches={<SignalMatch at remote 0x21fff50>: <NameOwnerWatch at remote 0x246e110>, <SignalMatch at remote 0x246f110>: <NameOwnerWatch at remote 0x2ba6c10>}, _signal_recipients_by_object_path={'/org/freedesktop/DBus': {'org.freedesktop.DBus': {'NameOwnerChanged': [<SignalMatch at remote 0x246f050>, <SignalMatch at remote 0x246f290>]}}, u'/org/freedesktop/UPower': {u'org.freedesktop.UPower': {u'Resuming': [<...>, <...>]}}}) at remote 0x241dd10>, <dbus.lowlevel.SignalMessage at remote 0x2bacc78>), kw=0x0) at ../Objects/funcobject.c:526
#15 0x000000000041ad2a in PyObject_Call (func=<function at remote 0x2393398>, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#16 0x000000000043074e in instancemethod_call (func=<function at remote 0x2393398>, arg=(<SystemBus(_bus_type=1, _signals_lock=<thread.lock at remote 0x7f48dd68f850>, _Connection__call_on_disconnection=[], _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_remove=<function at remote 0x1ebdaa0>, data={}) at remote 0x246b8c0>, _signal_sender_matches={<SignalMatch at remote 0x21fff50>: <NameOwnerWatch at remote 0x246e110>, <SignalMatch at remote 0x246f110>: <NameOwnerWatch at remote 0x2ba6c10>}, _signal_recipients_by_object_path={'/org/freedesktop/DBus': {'org.freedesktop.DBus': {'NameOwnerChanged': [<SignalMatch at remote 0x246f050>, <SignalMatch at remote 0x246f290>]}}, u'/org/freedesktop/UPower': {u'org.freedesktop.UPower': {u'Resuming': [<...>, <...>]}}}) at remote 0x241dd10>, <dbus.lowlevel.SignalMessage at remote 0x2bacc78>), kw=0x0) at ../Objects/classobject.c:2578
#17 0x000000000042418c in PyObject_Call (func=<instancemethod at remote 0x213ea00>, arg=<optimized out>, kw=0x0) at ../Objects/abstract.c:2529
#18 0x00000000004274ec in PyObject_CallFunctionObjArgs (callable=<instancemethod at remote 0x213ea00>) at ../Objects/abstract.c:2760
#19 0x00007f48d16ab78b in DBusPyConnection_HandleMessage (conn=<optimized out>, msg=<optimized out>, callable=<optimized out>) at ../../_dbus_bindings/conn.c:79
#20 0x00007f48d16ac38a in _filter_message (conn=<optimized out>, message=<optimized out>, user_data=0x213ea00) at ../../_dbus_bindings/conn-methods.c:197
#21 0x00007f48d88d3986 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#22 0x00007f48d1073395 in ?? () from /usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2
#23 0x00007f48d8d90a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f48d8d91258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f48d8d91429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f48da5b5ed6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f48d6a8607e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f48da589cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f48da589ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f48da58e789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007f48d793bd9e in meth_QApplication_exec_ (sipArgs=<optimized out>) at sipQtGuipart9.cpp:28467
#32 0x00000000004b6569 in call_function (oparg=<optimized out>, pp_stack=0x7fff9452cdd0) at ../Python/ceval.c:4021
#33 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#34 0x00000000004bcd2d in PyEval_EvalCodeEx (co=0x2051630, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#35 0x00000000004b6a5b in fast_function (nk=<optimized out>, na=0, n=<optimized out>, pp_stack=0x7fff9452cfc0, func=<function at remote 0x2458488>) at ../Python/ceval.c:4117
#36 call_function (oparg=<optimized out>, pp_stack=0x7fff9452cfc0) at ../Python/ceval.c:4042
#37 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2666
#38 0x00000000004bcd2d in PyEval_EvalCodeEx (co=0x7f48dd6509b0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#39 0x00000000004bd802 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:667
#40 0x00000000004dcc22 in run_mod (mod=<optimized out>, filename=<optimized out>, globals={'__builtins__': <module at remote 0x7f48dd6cdad0>, '__file__': '/usr/bin/synaptiks', '__package__': None, 'sys': <module at remote 0x7f48dd6cdb78>, '__requires__': 'synaptiks==0.7.0', 'load_entry_point': <function at remote 0x7f48dd5d0938>, '__name__': '__main__', '__doc__': None}, locals={'__builtins__': <module at remote 0x7f48dd6cdad0>, '__file__': '/usr/bin/synaptiks', '__package__': None, 'sys': <module at remote 0x7f48dd6cdb78>, '__requires__': 'synaptiks==0.7.0', 'load_entry_point': <function at remote 0x7f48dd5d0938>, '__name__': '__main__', '__doc__': None}, flags=<optimized out>, arena=<optimized out>) at ../Python/pythonrun.c:1346
#41 0x00000000004dd7e4 in PyRun_FileExFlags (fp=0x1c96f00, filename=0x7fff9452ea09 "/usr/bin/synaptiks", start=<optimized out>, globals={'__builtins__': <module at remote 0x7f48dd6cdad0>, '__file__': '/usr/bin/synaptiks', '__package__': None, 'sys': <module at remote 0x7f48dd6cdb78>, '__requires__': 'synaptiks==0.7.0', 'load_entry_point': <function at remote 0x7f48dd5d0938>, '__name__': '__main__', '__doc__': None}, locals={'__builtins__': <module at remote 0x7f48dd6cdad0>, '__file__': '/usr/bin/synaptiks', '__package__': None, 'sys': <module at remote 0x7f48dd6cdb78>, '__requires__': 'synaptiks==0.7.0', 'load_entry_point': <function at remote 0x7f48dd5d0938>, '__name__': '__main__', '__doc__': None}, closeit=1, flags=0x7fff9452d300) at ../Python/pythonrun.c:1332
#42 0x00000000004de2ee in PyRun_SimpleFileExFlags (fp=0x1c96f00, filename=<optimized out>, closeit=1, flags=0x7fff9452d300) at ../Python/pythonrun.c:936
#43 0x00000000004ee6dd in Py_Main (argc=<optimized out>, argv=<optimized out>) at ../Modules/main.c:599
#44 0x00007f48dc0d730d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#45 0x000000000041cb69 in _start ()

This bug may be a duplicate of or related to bug 283173.

Possible duplicates by query: bug 285687, bug 285343, bug 284317, bug 284236, bug 283815.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-11-15 08:23:54 UTC

*** This bug has been marked as a duplicate of bug 283173 ***