[Bug 283173] New: synaptiks-0.7 crashed after suspend with ALPS touchpad

Sven Eden sven.eden at gmx.de
Sun Oct 2 13:49:52 BST 2011


https://bugs.kde.org/show_bug.cgi?id=283173

           Summary: synaptiks-0.7 crashed after suspend with ALPS touchpad
           Product: kde
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: sven.eden at gmx.de


Application: python2 (0.7.0)
KDE Platform Version: 4.7.1 (4.7.1) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0.4-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
This crash happens every first time the system wakes up from suspend. If
synaptiks is then restarted, I can suspend the laptop and wake it up without a
problem. It only happens after the first suspend after a reboot of the machine

- Custom settings of the application:
I am using a 3.0.4 kernel with gentoo patches and the ALPS-enabling patch from
here: http://people.canonical.com/~sforshee/alps-touchpad/ (version 0.7)
discussed here: https://bugs.gentoo.org/show_bug.cgi?id=318567 making the
system to accept the ALPS touchpad as if it were a synaptics tp.

Although this is a custom patch not accepted upstream (yet), it might be a
chance for the synaptiks author to share their experience with the patch author
to eventually make ALPS touchpads, which gain on relevance these days, work as
well on linux as synaptics touchpads do. Therefore I decided to file this
report.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f02b0570700 (LWP 4238)):
#0  0x00007f02c7632173 in poll () from /lib64/libc.so.6
#1  0x00007f02bf24c6ba in _xcb_conn_wait (c=0x2350790, cond=<optimized out>,
vector=0x0, count=0x0) at
/var/tmp/portage/x11-libs/libxcb-1.7/work/libxcb-1.7/src/xcb_conn.c:313
#2  0x00007f02bf24dce7 in xcb_wait_for_reply (c=0x2350790, request=12,
e=0x7f02b056f0a0) at
/var/tmp/portage/x11-libs/libxcb-1.7/work/libxcb-1.7/src/xcb_in.c:378
#3  0x00007f02bf8d5a5d in _XReply (dpy=0x234f540, rep=0x7f02b056f110, extra=0,
discard=0) at
/var/tmp/portage/x11-libs/libX11-1.4.4/work/libX11-1.4.4/src/xcb_io.c:601
#4  0x00007f02bd13db60 in XRecordEnableContext (dpy=0x234f540,
context=<optimized out>, callback=0x7f02c80e2010, closure=0x0) at
/var/tmp/portage/x11-libs/libXtst-1.2.0/work/libXtst-1.2.0/src/XRecord.c:849
#5  0x00007f02bc4a0d50 in ffi_call_unix64 () from /usr/lib64/libffi.so.5
#6  0x00007f02bc4a06d4 in ffi_call (cif=0x7f02b056f410, fn=0x7f02bd13daa0
<XRecordEnableContext>, rvalue=<optimized out>, avalue=<optimized out>) at
src/x86/ffi64.c:484
#7  0x00007f02bc6b4005 in _call_function_pointer (argcount=4,
resmem=0x7f02b056f300, restype=<optimized out>, atypes=<optimized out>,
avalues=0x7f02b056f2d0, pProc=0x7f02bd13daa0 <XRecordEnableContext>,
flags=4353) at
/var/tmp/portage/dev-lang/python-2.7.2-r2/work/Python-2.7.2/Modules/_ctypes/callproc.c:827
#8  _ctypes_callproc (pProc=0x7f02bd13daa0 <XRecordEnableContext>,
argtuple=<optimized out>, flags=4353, argtypes=<optimized out>,
restype=0x1e54ef0, checker=0x0) at
/var/tmp/portage/dev-lang/python-2.7.2-r2/work/Python-2.7.2/Modules/_ctypes/callproc.c:1174
#9  0x00007f02bc6adb58 in PyCFuncPtr_call (self=<optimized out>,
inargs=<optimized out>, kwds=0x0) at
/var/tmp/portage/dev-lang/python-2.7.2-r2/work/Python-2.7.2/Modules/_ctypes/_ctypes.c:3911
#10 0x00007f02c7b55062 in PyObject_Call (func=0x1ecec80, arg=<optimized out>,
kw=<optimized out>) at Objects/abstract.c:2529
#11 0x00007f02c7becda6 in do_call (nk=<optimized out>, na=<optimized out>,
pp_stack=0x7f02b056f680, func=0x1ecec80) at Python/ceval.c:4231
#12 call_function (oparg=<optimized out>, pp_stack=0x7f02b056f680) at
Python/ceval.c:4036
#13 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
Python/ceval.c:2666
#14 0x00007f02c7bef229 in PyEval_EvalCodeEx (co=0x1eeec30, globals=<optimized
out>, locals=<optimized out>, args=<optimized out>, argcount=4, kws=0x234f500,
kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253
#15 0x00007f02c7bed9ad in fast_function (nk=<optimized out>, na=4, n=<optimized
out>, pp_stack=0x7f02b056f8a0, func=0x1ef7b18) at Python/ceval.c:4109
#16 call_function (oparg=<optimized out>, pp_stack=0x7f02b056f8a0) at
Python/ceval.c:4034
#17 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
Python/ceval.c:2666
#18 0x00007f02c7bef229 in PyEval_EvalCodeEx (co=0x1eda330, globals=<optimized
out>, locals=<optimized out>, args=<optimized out>, argcount=1, kws=0x0,
kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253
#19 0x00007f02c7b7af91 in function_call (func=0x1f5f0c8, arg=0x1c7a0d0, kw=0x0)
at Objects/funcobject.c:526
#20 0x00007f02c7b55062 in PyObject_Call (func=0x1f5f0c8, arg=<optimized out>,
kw=<optimized out>) at Objects/abstract.c:2529
#21 0x00007f02c7b6408d in instancemethod_call (func=0x1f5f0c8, arg=0x1c7a0d0,
kw=0x0) at Objects/classobject.c:2578
#22 0x00007f02c7b55062 in PyObject_Call (func=0x1e35370, arg=<optimized out>,
kw=<optimized out>) at Objects/abstract.c:2529
#23 0x00007f02c7be7cd6 in PyEval_CallObjectWithKeywords (func=0x1e35370,
arg=0x7f02c806b050, kw=<optimized out>) at Python/ceval.c:3882
#24 0x00007f02c2c4b9db in sip_api_call_method () from
/usr/lib64/python2.7/site-packages/sip.so
#25 0x00007f02c28698f7 in sipVH_QtCore_11(PyGILState_STATE, _object*) () from
/usr/lib64/python2.7/site-packages/PyQt4/QtCore.so
#26 0x00007f02c289d5d0 in sipQThread::run() () from
/usr/lib64/python2.7/site-packages/PyQt4/QtCore.so
#27 0x00007f02c4c6ae95 in QThreadPrivate::start (arg=0x2343740) at
thread/qthread_unix.cpp:331
#28 0x00007f02c78f5d4c in start_thread () from /lib64/libpthread.so.0
#29 0x00007f02c763aded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f02c80ac700 (LWP 4137)):
[KCrash Handler]
#6  0x00007f02c297bbda in pyqtBoundSignal_emit () from
/usr/lib64/python2.7/site-packages/PyQt4/QtCore.so
#7  0x00007f02c7bed626 in ext_do_call (nk=0, na=0, flags=<optimized out>,
pp_stack=0x7fff4b9f8dc0, func=0x20e2c68) at Python/ceval.c:4323
#8  PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
Python/ceval.c:2705
#9  0x00007f02c7bedd81 in fast_function (nk=<optimized out>, na=<optimized
out>, n=<optimized out>, pp_stack=0x7fff4b9f8f30, func=0x2057cf8) at
Python/ceval.c:4099
#10 call_function (oparg=<optimized out>, pp_stack=0x7fff4b9f8f30) at
Python/ceval.c:4034
#11 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
Python/ceval.c:2666
#12 0x00007f02c7bef229 in PyEval_EvalCodeEx (co=0x204b3b0, globals=<optimized
out>, locals=<optimized out>, args=<optimized out>, argcount=2, kws=0x0,
kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253
#13 0x00007f02c7b7af91 in function_call (func=0x20591b8, arg=0x238bc68, kw=0x0)
at Objects/funcobject.c:526
#14 0x00007f02c7b55062 in PyObject_Call (func=0x20591b8, arg=<optimized out>,
kw=<optimized out>) at Objects/abstract.c:2529
#15 0x00007f02c7b6408d in instancemethod_call (func=0x20591b8, arg=0x238bc68,
kw=0x0) at Objects/classobject.c:2578
#16 0x00007f02c7b55062 in PyObject_Call (func=0x1e351e0, arg=<optimized out>,
kw=<optimized out>) at Objects/abstract.c:2529
#17 0x00007f02c7b55868 in PyObject_CallFunctionObjArgs (callable=0x1e351e0) at
Objects/abstract.c:2760
#18 0x00007f02ba39569b in DBusPyConnection_HandleMessage (conn=<optimized out>,
msg=<optimized out>, callable=<optimized out>) at conn.c:79
#19 0x00007f02ba396451 in _filter_message (conn=<optimized out>,
message=<optimized out>, user_data=0x1e351e0) at conn-methods.c:197
#20 0x00007f02c2e6ee6c in dbus_connection_dispatch (connection=0x233ae10) at
/var/tmp/portage/sys-apps/dbus-1.4.14/work/dbus-1.4.14/dbus/dbus-connection.c:4603
#21 0x00007f02b9d5ff55 in message_queue_dispatch (source=<optimized out>,
callback=<optimized out>, user_data=<optimized out>) at
/var/tmp/portage/dev-libs/dbus-glib-0.94-r1/work/dbus-glib-0.94/dbus/dbus-gmain.c:90
#22 0x00007f02c332a83e in g_main_dispatch (context=0x21aafc0) at gmain.c:2441
#23 g_main_context_dispatch (context=0x21aafc0) at gmain.c:3014
#24 0x00007f02c332b028 in g_main_context_iterate (context=0x21aafc0, block=1,
dispatch=1, self=<optimized out>) at gmain.c:3092
#25 0x00007f02c332b2bd in g_main_context_iteration (context=0x21aafc0,
may_block=1) at gmain.c:3155
#26 0x00007f02c4d7f8ef in QEventDispatcherGlib::processEvents (this=0x21a7cf0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f02c117d3ce in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f02c4d53ce2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f02c4d53f24 in QEventLoop::exec (this=0x7fff4b9f97c0, flags=...) at
kernel/qeventloop.cpp:201
#30 0x00007f02c4d583ab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#31 0x00007f02c209f00b in meth_QApplication_exec_ () from
/usr/lib64/python2.7/site-packages/PyQt4/QtGui.so
#32 0x00007f02c7bed558 in call_function (oparg=<optimized out>,
pp_stack=0x7fff4b9f9930) at Python/ceval.c:4013
#33 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
Python/ceval.c:2666
#34 0x00007f02c7bef229 in PyEval_EvalCodeEx (co=0x1c56e30, globals=<optimized
out>, locals=<optimized out>, args=<optimized out>, argcount=0, kws=0x1971bf8,
kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253
#35 0x00007f02c7bed9ad in fast_function (nk=<optimized out>, na=0, n=<optimized
out>, pp_stack=0x7fff4b9f9b50, func=0x2128488) at Python/ceval.c:4109
#36 call_function (oparg=<optimized out>, pp_stack=0x7fff4b9f9b50) at
Python/ceval.c:4034
#37 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at
Python/ceval.c:2666
#38 0x00007f02c7bef229 in PyEval_EvalCodeEx (co=0x7f02c7fefa30,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at
Python/ceval.c:3253
#39 0x00007f02c7bef342 in PyEval_EvalCode (co=<optimized out>,
globals=<optimized out>, locals=<optimized out>) at Python/ceval.c:667
#40 0x00007f02c7c0918c in run_mod (mod=<optimized out>, filename=<optimized
out>, globals=0x18e6f60, locals=0x18e6f60, flags=<optimized out>,
arena=<optimized out>) at Python/pythonrun.c:1346
#41 0x00007f02c7c09fa2 in PyRun_FileExFlags (fp=0x1978de0,
filename=0x7fff4b9fb380 "/usr/bin/synaptiks", start=<optimized out>,
globals=0x18e6f60, locals=0x18e6f60, closeit=1, flags=0x7fff4b9f9ea0) at
Python/pythonrun.c:1332
#42 0x00007f02c7c0ab7f in PyRun_SimpleFileExFlags (fp=0x1978de0,
filename=0x7fff4b9fb380 "/usr/bin/synaptiks", closeit=1, flags=0x7fff4b9f9ea0)
at Python/pythonrun.c:936
#43 0x00007f02c7c1bd96 in Py_Main (argc=<optimized out>, argv=<optimized out>)
at Modules/main.c:606
#44 0x00007f02c7582ebd in __libc_start_main () from /lib64/libc.so.6
#45 0x00000000004007d9 in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list