Bug 275883

Summary: systemsettings crashes on custom mouse config
Product: [Applications] systemsettings Reporter: Per (phobie) <kdebugs.phobie>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Per (phobie) 2011-06-17 10:06:03 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-1.slh.4-aptosid-amd64 x86_64
Distribution (Platform): Debian unstable

-- Information about the crash:
drkonqi shows a lot of bugs about "systemsettings -> login screen -> crash" being related to authorisation.
But on my system the modules "Data & Time", "Login Screen" and "Permissions" crashes, when I double-click on them while having "Input Devices -> Mouse" configured to "Single-click to open files and folder" no matter if I am root oder luser.
If I configure to "Double-click to open files and folders" the modules can be opened with double-click.
If I configure to "Single-click to open files and folder" the modules can be opened with single-click.
So it seems to be more a qt-signal-handling problem than a authorisation problem...

-- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc5b8c60760 (LWP 3060))]

Thread 2 (Thread 0x7fc59616c700 (LWP 3083)):
#0  0x00007fc5b61006d3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc5b3ea09e4 in g_main_context_poll (context=0x11217c0, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x11217c0, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007fc5b3ea12f2 in g_main_loop_run (loop=0x11217a0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3299
#4  0x00007fc5966469d4 in gdbus_shared_thread_func (data=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./gio/gdbusprivate.c:276
#5  0x00007fc5b3ec7cf6 in g_thread_create_proxy (data=0x11218a0) at /tmp/buildd/glib2.0-2.28.6/./glib/gthread.c:1897
#6  0x00007fc5b436bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007fc5b610b2fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc5b8c60760 (LWP 3060)):
[KCrash Handler]
#6  0x00007fc5b8296008 in KCModule::setNeedsAuthorization (this=0xf34b30, needsAuth=<value optimized out>) at ../../kdeui/widgets/kcmodule.cpp:150
#7  0x00007fc59e5eeb90 in KDModule::KDModule (this=0xf34b30, parent=<value optimized out>) at ../../../kdm/kcm/main.cpp:275
#8  0x00007fc59e5f1264 in KPluginFactory::createInstance<KDModule, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:473
#9  0x00007fc5b700d691 in KPluginFactory::create (this=0xf337f0, iface=0x7fc5b836c1e0 "KCModule", parentWidget=0x0, parent=0xd969b0, args=..., keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:203
#10 0x00007fc5b88498be in create<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0xd969b0, args=...) at ../../kdecore/util/kpluginfactory.h:527
#11 createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0xd969b0, args=...) at ../../kdecore/services/kservice.h:551
#12 createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0xd969b0, args=...) at ../../kdecore/services/kservice.h:528
#13 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0xd969b0, args=...) at ../../kutils/kcmoduleloader.cpp:89
#14 0x00007fc5b884e948 in KCModuleProxyPrivate::loadModule (this=0xf8efb0) at ../../kutils/kcmoduleproxy.cpp:106
#15 0x00007fc5b884f5f5 in KCModuleProxy::realModule (this=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:83
#16 0x00007fc5b862700c in ModuleView::stateChanged (this=0xddee10) at ../../../systemsettings/core/ModuleView.cpp:349
#17 0x00007fc5b8628088 in ModuleView::qt_metacall (this=0xddee10, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff7da9af10) at ./ModuleView.moc:99
#18 0x00007fc5b68475ea in QMetaObject::activate (sender=0xddee70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7da9af10) at kernel/qobject.cpp:3278
#19 0x00007fc5b8227cac in KPageWidget::currentPageChanged (this=<value optimized out>, _t1=0xe24cc0, _t2=0x0) at ./kpagewidget.moc:96
#20 0x00007fc5b8227e38 in KPageWidget::qt_metacall (this=0xddee70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7da9b020) at ./kpagewidget.moc:84
#21 0x00007fc5b68475ea in QMetaObject::activate (sender=0xddee70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7da9b020) at kernel/qobject.cpp:3278
#22 0x00007fc5b82243f7 in KPageView::currentPageChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at ./kpageview.moc:140
#23 0x00007fc5b8224962 in KPageViewPrivate::_k_pageSelected (this=0xdbc170, index=<value optimized out>, previous=...) at ../../kdeui/paged/kpageview.cpp:244
#24 0x00007fc5b8224b12 in KPageView::qt_metacall (this=0xddee70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff7da9b220) at ./kpageview.moc:100
#25 0x00007fc5b8227e00 in KPageWidget::qt_metacall (this=0xddee70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7da9b220) at ./kpagewidget.moc:76
#26 0x00007fc5b68475ea in QMetaObject::activate (sender=0xfa5090, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7da9b220) at kernel/qobject.cpp:3278
#27 0x00007fc5b7a201d7 in QItemSelectionModel::selectionChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#28 0x00007fc5b7a25fd4 in QItemSelectionModel::emitSelectionChanged (this=0xfa5090, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1538
#29 0x00007fc5b7a26f5f in QItemSelectionModel::select (this=0xfa5090, selection=<value optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1101
#30 0x00007fc5b7a2206a in QItemSelectionModel::select (this=0xfa5090, index=<value optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:976
#31 0x00007fc5b7a20447 in QItemSelectionModel::setCurrentIndex (this=0xfa5090, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1168
#32 0x00007fc5b8223697 in KPageViewPrivate::_k_rebuildGui (this=0xdbc170) at ../../kdeui/paged/kpageview.cpp:70
#33 0x00007fc5b8224695 in KPageViewPrivate::_k_modelChanged (this=0xdbc170) at ../../kdeui/paged/kpageview.cpp:190
#34 0x00007fc5b8224b22 in KPageView::qt_metacall (this=0xddee70, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff7da9b750) at ./kpageview.moc:99
#35 0x00007fc5b8227e00 in KPageWidget::qt_metacall (this=0xddee70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7da9b750) at ./kpagewidget.moc:76
#36 0x00007fc5b68475ea in QMetaObject::activate (sender=0xdfb280, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#37 0x00007fc5b8229910 in KPageWidgetModel::addPage (this=0xdfb280, item=0xe24cc0) at ../../kdeui/paged/kpagewidgetmodel.cpp:401
#38 0x00007fc5b862795b in ModuleView::addModule (this=0xddee10, module=0xe106e8) at ../../../systemsettings/core/ModuleView.cpp:190
#39 0x00007fc5b8627d62 in ModuleView::loadModule (this=0xddee10, menuItem=<value optimized out>) at ../../../systemsettings/core/ModuleView.cpp:144
#40 0x00007fc59e80be50 in IconMode::changeModule (this=0xdb4250, activeModule=...) at ../../../systemsettings/icons/IconMode.cpp:133
#41 0x00007fc59e80c1b1 in IconMode::qt_metacall (this=0xdb4250, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7da9bb70) at ./IconMode.moc:80
#42 0x00007fc5b68475ea in QMetaObject::activate (sender=0xbf83a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7da9bb70) at kernel/qobject.cpp:3278
#43 0x00007fc5b79cddf5 in QAbstractItemView::activated (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:345
#44 0x00007fc5b79ce2ef in QAbstractItemView::mouseReleaseEvent (this=0xbf83a0, event=0x7fff7da9cc30) at itemviews/qabstractitemview.cpp:1805
#45 0x00007fc5b79ea20e in QListView::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at itemviews/qlistview.cpp:796
#46 0x00007fc5b81c8fac in KCategorizedView::mouseReleaseEvent (this=0xbf83a0, event=0x7fff7da9cc30) at ../../kdeui/itemviews/kcategorizedview.cpp:1060
#47 0x00007fc5b7519d36 in QWidget::event (this=0xbf83a0, event=0x7fff7da9cc30) at kernel/qwidget.cpp:8259
#48 0x00007fc5b78bb006 in QFrame::event (this=0xbf83a0, e=0x7fff7da9cc30) at widgets/qframe.cpp:557
#49 0x00007fc5b79cb18b in QAbstractItemView::viewportEvent (this=0xbf83a0, event=0x7fff7da9cc30) at itemviews/qabstractitemview.cpp:1628
#50 0x00007fc5b6834b08 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xdb1830, event=0x7fff7da9cc30) at kernel/qcoreapplication.cpp:846
#51 0x00007fc5b74c969f in notify_helper (this=0xc01560, receiver=0xdb1830, e=0x7fff7da9cc30) at kernel/qapplication.cpp:4463
#52 QApplicationPrivate::notify_helper (this=0xc01560, receiver=0xdb1830, e=0x7fff7da9cc30) at kernel/qapplication.cpp:4439
#53 0x00007fc5b74cee5b in QApplication::notify (this=<value optimized out>, receiver=0xdb1830, e=0x7fff7da9cc30) at kernel/qapplication.cpp:4028
#54 0x00007fc5b81f4fb6 in KApplication::notify (this=0x7fff7da9d790, receiver=0xdb1830, event=0x7fff7da9cc30) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x00007fc5b683497c in QCoreApplication::notifyInternal (this=0x7fff7da9d790, receiver=0xdb1830, event=0x7fff7da9cc30) at kernel/qcoreapplication.cpp:731
#56 0x00007fc5b74ca6a2 in sendEvent (receiver=0xdb1830, event=0x7fff7da9cc30, alienWidget=0xdb1830, nativeWidget=0xcb4fb0, buttonDown=0xdb1830, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QApplicationPrivate::sendMouseEvent (receiver=0xdb1830, event=0x7fff7da9cc30, alienWidget=0xdb1830, nativeWidget=0xcb4fb0, buttonDown=0xdb1830, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3127
#58 0x00007fc5b7546b48 in QETWidget::translateMouseEvent (this=0xcb4fb0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#59 0x00007fc5b754594a in QApplication::x11ProcessEvent (this=0x7fff7da9d790, event=0x7fff7da9d350) at kernel/qapplication_x11.cpp:3587
#60 0x00007fc5b756da72 in x11EventSourceDispatch (s=0xc04ed0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0x00007fc5b3ea04a3 in g_main_dispatch (context=0xc03ce0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#62 g_main_context_dispatch (context=0xc03ce0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#63 0x00007fc5b3ea0c80 in g_main_context_iterate (context=0xc03ce0, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#64 0x00007fc5b3ea0f1d in g_main_context_iteration (context=0xc03ce0, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#65 0x00007fc5b685f5cf in QEventDispatcherGlib::processEvents (this=0xbddc80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#66 0x00007fc5b756d70e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007fc5b6833b82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007fc5b6833d7f in QEventLoop::exec (this=0x7fff7da9d720, flags=...) at kernel/qeventloop.cpp:201
#69 0x00007fc5b6837f57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#70 0x000000000040b655 in main (argc=1, argv=0x7fff7da9da58) at ../../../systemsettings/app/main.cpp:49

Possible duplicates by query: bug 275388, bug 275369, bug 274946, bug 274723, bug 274332.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-06-17 14:03:04 UTC

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