lunaryorn/synaptiks — Issue #44: Segmentation Fault / Synaptics 0.8.1
Author: edubbler
Created: 2012-02-25 23:23:48+00:00
State: open

Here's the output from systemsetting crashing when I go to touchpad config:

Application: systemsettings (1.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.7 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
trying to access touchpad settings.
If I run synaptiks from command line it will get "Segmentation Fault" with
Python versions 2.6 & 2.7. Python 2.5 and 3.2 get the following error
"Traceback (most recent call last):
File "/usr/local/bin/synaptiks", line 5, in
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources"

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff1edb69760 (LWP 6476))]

Thread 2 (Thread 0x7ff1d5a32700 (LWP 6578)):
#0 0x00007ff1e8d50155 in __pthread_mutex_lock (mutex=0x7ff1d000cf18) at
pthread_mutex_lock.c:61
#1 0x00007ff1e887cda9 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ff1e887d5f2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ff1e887da99 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ff1eb729df6 in QEventDispatcherGlib::processEvents
(this=0x7ff1d0002ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5 0x00007ff1eb6f95f2 in QEventLoop::processEvents (this=,
flags=...) at kernel/qeventloop.cpp:149
#6 0x00007ff1eb6f9847 in QEventLoop::exec (this=0x7ff1d5a31df0, flags=...) at
kernel/qeventloop.cpp:204
#7 0x00007ff1eb5f9307 in QThread::exec (this=) at
thread/qthread.cpp:501
#8 0x00007ff1eb6d93af in QInotifyFileSystemWatcherEngine::run (this=0x1d85840)
at io/qfilesystemwatcher_inotify.cpp:248
#9 0x00007ff1eb5fc32b in QThreadPrivate::start (arg=0x1d85840) at
thread/qthread_unix.cpp:298
#10 0x00007ff1e8d4db50 in start_thread (arg=) at
pthread_create.c:304
#11 0x00007ff1eafc790d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff1edb69760 (LWP 6476)):
[KCrash Handler]
#6 createClassType (client=0x7ff1c1870580, ctd=0x7ff1c187fa20, mod_dict=) at
/build/buildd-sip4_4.13.2-1-amd64-oTGNAQ/sip4-4.13.2/siplib/siplib.c:5502
#7 0x00007ff1c0e32698 in sip_api_init_module (client=0x7ff1c1870580,
mod_dict=) at
/build/buildd-sip4_4.13.2-1-amd64-oTGNAQ/sip4-4.13.2/siplib/siplib.c:1418
#8 0x00007ff1c15242bc in initkdecore () at
sip/kdecore/sipkdecorepart0.cpp:5361
#9 0x00007ff1c2167825 in _PyImport_LoadDynamicModule () from
/usr/lib/libpython2.7.so.1.0
#10 0x00007ff1c220c5ec in import_submodule.39442 () from
/usr/lib/libpython2.7.so.1.0
#11 0x00007ff1c21d6032 in load_next.39447 () from /usr/lib/libpython2.7.so.1.0
#12 0x00007ff1c220cc44 in import_module_level.isra.9 () from
/usr/lib/libpython2.7.so.1.0
#13 0x00007ff1c220668a in PyImport_ImportModuleLevel () from
/usr/lib/libpython2.7.so.1.0
#14 0x00007ff1c2108faf in builtin___import__ () from
/usr/lib/libpython2.7.so.1.0
#15 0x00007ff1c21e93b3 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#16 0x00007ff1c21e9d07 in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.7.so.1.0
#17 0x00007ff1c213f892 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.7.so.1.0
#18 0x00007ff1c210d9a5 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.7.so.1.0
#19 0x00007ff1c210dcd2 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#20 0x00007ff1c210f372 in PyImport_ExecCodeModuleEx () from
/usr/lib/libpython2.7.so.1.0
#21 0x00007ff1c220be66 in load_source_module.39384 () from
/usr/lib/libpython2.7.so.1.0
#22 0x00007ff1c21cca66 in load_package.39430 () from
/usr/lib/libpython2.7.so.1.0
#23 0x00007ff1c220c5ec in import_submodule.39442 () from
/usr/lib/libpython2.7.so.1.0
#24 0x00007ff1c21d6032 in load_next.39447 () from /usr/lib/libpython2.7.so.1.0
#25 0x00007ff1c220cc44 in import_module_level.isra.9 () from
/usr/lib/libpython2.7.so.1.0
#26 0x00007ff1c220668a in PyImport_ImportModuleLevel () from
/usr/lib/libpython2.7.so.1.0
#27 0x00007ff1c2108faf in builtin___import__ () from
/usr/lib/libpython2.7.so.1.0
#28 0x00007ff1c21e93b3 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#29 0x00007ff1c21e9d07 in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.7.so.1.0
#30 0x00007ff1c213f892 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.7.so.1.0
#31 0x00007ff1c210d9a5 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.7.so.1.0
#32 0x00007ff1c210dcd2 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#33 0x00007ff1c210f372 in PyImport_ExecCodeModuleEx () from
/usr/lib/libpython2.7.so.1.0
#34 0x00007ff1c220be66 in load_source_module.39384 () from
/usr/lib/libpython2.7.so.1.0
#35 0x00007ff1c220c5ec in import_submodule.39442 () from
/usr/lib/libpython2.7.so.1.0
#36 0x00007ff1c21d6032 in load_next.39447 () from /usr/lib/libpython2.7.so.1.0
#37 0x00007ff1c220cbff in import_module_level.isra.9 () from
/usr/lib/libpython2.7.so.1.0
#38 0x00007ff1c220668a in PyImport_ImportModuleLevel () from
/usr/lib/libpython2.7.so.1.0
#39 0x00007ff1c2108faf in builtin___import__ () from
/usr/lib/libpython2.7.so.1.0
#40 0x00007ff1c21e93b3 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#41 0x00007ff1c21e9f1b in call_function_tail () from
/usr/lib/libpython2.7.so.1.0
#42 0x00007ff1c21854de in PyObject_CallFunction () from
/usr/lib/libpython2.7.so.1.0
#43 0x00007ff1c2167f5d in PyImport_Import () from /usr/lib/libpython2.7.so.1.0
#44 0x00007ff1c216930c in PyImport_ImportModule () from
/usr/lib/libpython2.7.so.1.0
#45 0x00007ff1c25b1387 in ImportModule (moduleName=...) at
../../kpythonpluginfactory/kpythonpluginfactory.cpp:298
#46 0x00007ff1c25b233d in KPythonPluginFactory::create (this=0x1f16db0,
iface=, parentWidget=0x0, parent=0x20d0250, args=...,
keyword=...) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:153
#47 0x00007ff1ed764bde in create (parent=0x20d0250, this=0x1f16db0,
args=..., keyword=..., parentWidget=0x0) at
../../kdecore/util/kpluginfactory.h:531
#48 createInstance (error=0x7fff73612950, args=..., parent=0x20d0250,
parentWidget=0x0, this=0x1a6b550) at ../../kdecore/services/kservice.h:553
#49 createInstance (error=0x7fff73612950, args=..., parent=0x20d0250,
this=0x1a6b550) at ../../kdecore/services/kservice.h:530
#50 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline,
parent=0x20d0250, args=...) at ../../kutils/kcmoduleloader.cpp:89
#51 0x00007ff1ed769c48 in KCModuleProxyPrivate::loadModule (this=0x20cfeb0) at
../../kutils/kcmoduleproxy.cpp:106
#52 0x00007ff1ed76a965 in KCModuleProxy::realModule (this=) at
../../kutils/kcmoduleproxy.cpp:83
#53 0x00007ff1ed76a9a2 in KCModuleProxy::showEvent (this=0x20d0250,
ev=0x7fff736137e0) at ../../kutils/kcmoduleproxy.cpp:197
#54 0x00007ff1ec3ec8a5 in QWidget::event (this=0x20d0250, event=0x7fff736137e0)
at kernel/qwidget.cpp:8568
#55 0x00007ff1ec39bec4 in notify_helper (e=0x7fff736137e0, receiver=0x20d0250,
this=0x17a6940) at kernel/qapplication.cpp:4555
#56 QApplicationPrivate::notify_helper (this=0x17a6940, receiver=0x20d0250,
e=0x7fff736137e0) at kernel/qapplication.cpp:4527
#57 0x00007ff1ec3a0d43 in QApplication::notify (this=0x7fff73615c00,
receiver=0x20d0250, e=0x7fff736137e0) at kernel/qapplication.cpp:4416
#58 0x00007ff1ed0f9ae6 in KApplication::notify (this=0x7fff73615c00,
receiver=0x20d0250, event=0x7fff736137e0) at
../../kdeui/kernel/kapplication.cpp:311
#59 0x00007ff1eb6fa80c in QCoreApplication::notifyInternal
(this=0x7fff73615c00, receiver=0x20d0250, event=0x7fff736137e0) at
kernel/qcoreapplication.cpp:876
#60 0x00007ff1ec3eecc0 in sendEvent (event=0x7fff736137e0, receiver=0x20d0250)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 QWidgetPrivate::show_helper (this=0x20d0290) at kernel/qwidget.cpp:7541
#62 0x00007ff1ec3eeab7 in QWidgetPrivate::showChildren (this=,
spontaneous=false) at kernel/qwidget.cpp:7849
#63 0x00007ff1ec3eebad in QWidgetPrivate::show_helper (this=) at
kernel/qwidget.cpp:7488
#64 0x00007ff1ec3eefb2 in QWidget::setVisible (this=0x20b16b0,
visible=) at kernel/qwidget.cpp:7763
#65 0x00007ff1ec3eeb26 in show (this=0x20b16b0) at
../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#66 QWidgetPrivate::showChildren (this=, spontaneous=false) at
kernel/qwidget.cpp:7851
#67 0x00007ff1ec3eebad in QWidgetPrivate::show_helper (this=) at
kernel/qwidget.cpp:7488
#68 0x00007ff1ec3eefb2 in QWidget::setVisible (this=0x1b9b2f0,
visible=) at kernel/qwidget.cpp:7763
#69 0x00007ff1ec3d0869 in show (this=0x1b9b2f0) at
../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#70 QStackedLayout::setCurrentIndex (this=0x1a3acb0, index=2) at
kernel/qstackedlayout.cpp:311
#71 0x00007ff1ed129427 in KPageViewPrivate::_k_pageSelected (this=0x1a91900,
index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:235
#72 0x00007ff1ed1295f2 in KPageView::qt_metacall (this=0x1a43470,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff73613d30) at
./kpageview.moc:100
#73 0x00007ff1ed12c8e0 in KPageWidget::qt_metacall (this=0x1a43470,
_c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fff73613d30) at
./kpagewidget.moc:76
#74 0x00007ff1eb70edf9 in QMetaObject::activate (sender=0x211b590, m=, local_signal_index=, argv=0x7fff73613d30) at
kernel/qobject.cpp:3566
#75 0x00007ff1ec915057 in QItemSelectionModel::selectionChanged
(this=, _t1=..., _t2=...) at
.moc/release-shared/moc_qitemselectionmodel.cpp:166
#76 0x00007ff1ec91aa91 in QItemSelectionModel::emitSelectionChanged
(this=0x211b590, newSelection=..., oldSelection=...) at
itemviews/qitemselectionmodel.cpp:1600
#77 0x00007ff1ec91be41 in QItemSelectionModel::select (this=0x211b590,
selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#78 0x00007ff1ed12a16c in select (command=..., selection=..., this=) at ../../kdeui/paged/kpageview_p.cpp:619
#79 KDEPrivate::SelectionModel::select (this=, selection=...,
command=...) at ../../kdeui/paged/kpageview_p.cpp:613
#80 0x00007ff1ec8e77f5 in QListView::setSelection (this=,
rect=..., command=...) at itemviews/qlistview.cpp:1379
#81 0x00007ff1ec8c39ba in QAbstractItemView::mousePressEvent (this=0x196f650,
event=) at itemviews/qabstractitemview.cpp:1690
#82 0x00007ff1ec3ec8d9 in QWidget::event (this=0x196f650, event=0x7fff73614f00)
at kernel/qwidget.cpp:8357
#83 0x00007ff1ec7a9436 in QFrame::event (this=0x196f650, e=0x7fff73614f00) at
widgets/qframe.cpp:557
#84 0x00007ff1ec8bd15b in QAbstractItemView::viewportEvent (this=0x196f650,
event=0x7fff73614f00) at itemviews/qabstractitemview.cpp:1644
#85 0x00007ff1eb6fa998 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=,
receiver=0x1d65e80, event=0x7fff73614f00) at kernel/qcoreapplication.cpp:986
#86 0x00007ff1ec39be8f in notify_helper (e=0x7fff73614f00, receiver=0x1d65e80,
this=0x17a6940) at kernel/qapplication.cpp:4551
#87 QApplicationPrivate::notify_helper (this=0x17a6940, receiver=0x1d65e80,
e=0x7fff73614f00) at kernel/qapplication.cpp:4527
#88 0x00007ff1ec3a1613 in QApplication::notify (this=,
receiver=0x1d65e80, e=0x7fff73614f00) at kernel/qapplication.cpp:4098
#89 0x00007ff1ed0f9ae6 in KApplication::notify (this=0x7fff73615c00,
receiver=0x1d65e80, event=0x7fff73614f00) at
../../kdeui/kernel/kapplication.cpp:311
#90 0x00007ff1eb6fa80c in QCoreApplication::notifyInternal
(this=0x7fff73615c00, receiver=0x1d65e80, event=0x7fff73614f00) at
kernel/qcoreapplication.cpp:876
#91 0x00007ff1ec39ce92 in sendEvent (event=, receiver=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#92 QApplicationPrivate::sendMouseEvent (receiver=0x1d65e80,
event=0x7fff73614f00, alienWidget=0x1d65e80, nativeWidget=0x196f650,
buttonDown=0x1d65e80, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3166
#93 0x00007ff1ec419255 in QETWidget::translateMouseEvent (this=0x196f650,
event=) at kernel/qapplication_x11.cpp:4515
#94 0x00007ff1ec41811a in QApplication::x11ProcessEvent (this=0x7fff73615c00,
event=0x7fff736157c0) at kernel/qapplication_x11.cpp:3641
#95 0x00007ff1ec440852 in x11EventSourceDispatch (s=0x179dff0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#96 0x00007ff1e887d0cf in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#97 0x00007ff1e887d8c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#98 0x00007ff1e887da99 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#99 0x00007ff1eb729d8f in QEventDispatcherGlib::processEvents (this=0x1769450,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#100 0x00007ff1ec4404de in QGuiEventDispatcherGlib::processEvents
(this=, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#101 0x00007ff1eb6f95f2 in QEventLoop::processEvents (this=,
flags=...) at kernel/qeventloop.cpp:149
#102 0x00007ff1eb6f9847 in QEventLoop::exec (this=0x7fff73615b90, flags=...) at
kernel/qeventloop.cpp:204
#103 0x00007ff1eb6fe8d7 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#104 0x000000000040b225 in ?? ()
#105 0x00007ff1eaf0dead in __libc_start_main (main=,
argc=, ubp_av=, init=,
fini=, rtld_fini=, stack_end=0x7fff73615eb8) at
libc-start.c:228
#106 0x000000000040b279 in _start ()

Possible duplicates by query: bug 292659, bug 292633, bug 292573.

Reported using DrKonqi