Summary: | systemsettings crashed while browsing the module tree | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | kavol <kavol> |
Component: | treeview | Assignee: | System Settings Bugs <sourtooth+ssbugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bcooksley, cfeck, plucinski.mariusz |
Priority: | NOR | ||
Version: | 4.11.3 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/e43223a69ae6f80bdab42b5f09f27ded854c41bb | Version Fixed In: | 4.11.4 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
kavol
2013-07-30 22:10:40 UTC
Created attachment 82393 [details]
New crash information added by DrKonqi
systemsettings (1.0) on KDE Platform 4.10.5 using Qt 4.8.5
- What I was doing when the application crashed:
I have opened system settings and put it minimalized for a long time (about two days, hibernated system meanwhile). After that, I restored it and cliecked on "Login Screen" entry in tree view. Suddenly, application crashed.
-- Backtrace (Reduced):
#6 0x0000003cf74d507e in KCModule::setNeedsAuthorization (this=0x38b38a0, needsAuth=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/kdeui/widgets/kcmodule.cpp:150
#7 0x00007f800f7b7b4d in KDModule::KDModule (this=0x38b38a0, parent=<optimized out>) at /usr/src/debug/kde-workspace-4.10.5/kdm/kcm/main.cpp:276
#8 0x00007f800f7b99a4 in KPluginFactory::createInstance<KDModule, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kde4/kpluginfactory.h:477
#9 0x0000003270a13ae5 in KPluginFactory::create (this=0x52e8550, iface=0x3cf75b3f60 <qt_meta_stringdata_KCModule> "KCModule", parentWidget=0x0, parent=0x38e8b10, args=..., keyword=...) at /usr/src/debug/kdelibs-4.10.5/kdecore/util/kpluginfactory.cpp:203
#10 0x0000003cfb01b8ca in create<KCModule> (args=..., keyword=..., parent=0x38e8b10, parentWidget=0x0, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/kdecore/util/kpluginfactory.h:531
Created attachment 83369 [details]
New crash information added by DrKonqi
systemsettings (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.5
I found a way to reproduce the bug every time. Steps:
1. Run systemsettings
2. Make sure you are in "Classic Tree View" (Configuration->General)
3. Open "System Administration" tree node
4. Double-click on "Login Screen" leaf node
The double-click seems essential to reproduce issue, but it sometimes does not happen when other system settings pages were opened. It always happens if I try double-click directly after opening system settings.
-- Backtrace (Reduced):
#6 0x00000039838cd1c1 in KCModule::setNeedsAuthorization (this=this@entry=0x5f99b60, needsAuth=needsAuth@entry=true) at /usr/src/debug/kdelibs-4.11.2/kdeui/widgets/kcmodule.cpp:150
#7 0x00007f6bd7de21ad in KDModule::KDModule (this=0x5f99b60, parent=<optimized out>) at /usr/src/debug/kde-workspace-4.11.2/kdm/kcm/main.cpp:276
#8 0x00007f6bd7de362b in KPluginFactory::createInstance<KDModule, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kde4/kpluginfactory.h:477
#9 0x0000003982e0e393 in KPluginFactory::create (this=0x25c8e30, iface=0x39839a8320 <qt_meta_stringdata_KCModule> "KCModule", parentWidget=0x0, parent=0x41430e0, args=..., keyword=...) at /usr/src/debug/kdelibs-4.11.2/kdecore/util/kpluginfactory.cpp:203
#10 0x000000398681b87e in create<KCModule> (args=..., keyword=..., parent=0x41430e0, parentWidget=0x0, this=0x25c8e30) at /usr/src/debug/kdelibs-4.11.2/kdecore/util/kpluginfactory.h:531
Reproducible with the steps from comment #2. Git commit e43223a69ae6f80bdab42b5f09f27ded854c41bb by Ben Cooksley. Committed on 19/11/2013 at 08:23. Pushed by bcooksley into branch 'KDE/4.11'. Track the currently active module, and don't try to change module if it is the same module. This prevents a module from being closed and then immediately reopened. M +5 -0 systemsettings/classic/ClassicMode.cpp http://commits.kde.org/kde-workspace/e43223a69ae6f80bdab42b5f09f27ded854c41bb Merci :) Unfortunately, still crashes with the same steps. Backtrace is the same: Application: System Settings (systemsettings), signal: Segmentation fault Using host libthread_db library "/lib/libthread_db.so.1". [Current thread is 1 (Thread 0xb13efa80 (LWP 32318))] Thread 2 (Thread 0xabb3bb40 (LWP 32328)): #0 0xb7729424 in __kernel_vsyscall () #1 0xb57b4e3b in poll () from /lib/libc.so.6 #2 0xb251598b in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb2506af8 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb2506fdb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #5 0xabc13fca in ?? () from /usr/lib/libgio-2.0.so.0 #6 0xb252cd5a in ?? () from /usr/lib/libglib-2.0.so.0 #7 0xb59db07a in start_thread () from /lib/libpthread.so.0 #8 0xb57c080e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb13efa80 (LWP 32318)): [KCrash Handler] #6 0xb5e7e371 in KAboutData::appName() const () from /local/kde4/lib/libkdecore.so.5 #7 0xb6dd9ebf in KCModule::setNeedsAuthorization(bool) () from /local/kde4/lib/libkdeui.so.5 #8 0xabdda420 in KDModule::KDModule(QWidget*, QList<QVariant> const&) () from /local/KDE4/trunk/lib/kde4/kcm_kdm.so #9 0xabddb54a in QObject* KPluginFactory::createInstance<KDModule, QWidget>(QWidget*, QObject*, QList<QVariant> const&) () from /local/KDE4/trunk/lib/kde4/kcm_kdm.so #10 0xb5f66e84 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /local/kde4/lib/libkdecore.so.5 #11 0xb7149a36 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /local/kde4/lib/libkcmutils.so.4 #12 0xb714f3fe in KCModuleProxyPrivate::loadModule() () from /local/kde4/lib/libkcmutils.so.4 #13 0xb714fbe4 in KCModuleProxy::realModule() const () from /local/kde4/lib/libkcmutils.so.4 #14 0xb712c746 in ModuleView::stateChanged (this=this@entry=0x9361638) at /local/git/KDE/base/kde-workspace/systemsettings/core/ModuleView.cpp:350 #15 0xb712c857 in ModuleView::activeModuleChanged (this=0x9361638, current=0x92aaf70, previous=0x0) at /local/git/KDE/base/kde-workspace/systemsettings/core/ModuleView.cpp:337 #16 0xb712d5ae in ModuleView::qt_static_metacall (_o=0x9001b, _id=255, _a=0xbfc4d854, _c=<optimized out>) at /local/build/KDE/base/kde-workspace/systemsettings/core/ModuleView.moc:75 #17 0xb5b82c55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #18 0xb6d71e8d in KPageWidget::currentPageChanged(KPageWidgetItem*, KPageWidgetItem*) () from /local/kde4/lib/libkdeui.so.5 #19 0xb6d71f1c in KPageWidgetPrivate::_k_slotCurrentPageChanged(QModelIndex const&, QModelIndex const&) () from /local/kde4/lib/libkdeui.so.5 #20 0xb5b82c55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #21 0xb6d6d62d in KPageView::currentPageChanged(QModelIndex const&, QModelIndex const&) () from /local/kde4/lib/libkdeui.so.5 #22 0xb6d6de75 in KPageViewPrivate::_k_pageSelected(QItemSelection const&, QItemSelection const&) () from /local/kde4/lib/libkdeui.so.5 #23 0xb5b82c55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #24 0xb6755c9d in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4 #25 0xb675b57b in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4 #26 0xb675bd3f in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4 #27 0xb6756c1d in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4 #28 0xb6755f84 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4 #29 0xb6d6cd9c in KPageViewPrivate::_k_rebuildGui() () from /local/kde4/lib/libkdeui.so.5 #30 0xb6d6da00 in KPageViewPrivate::_k_modelChanged() () from /local/kde4/lib/libkdeui.so.5 #31 0xb5b82c55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #32 0xb5bd2525 in QAbstractItemModel::layoutChanged() () from /usr/lib/libQtCore.so.4 #33 0xb6d73936 in KPageWidgetModel::addPage(KPageWidgetItem*) () from /local/kde4/lib/libkdeui.so.5 #34 0xb6d71c79 in KPageWidget::addPage(KPageWidgetItem*) () from /local/kde4/lib/libkdeui.so.5 #35 0xb712d0a1 in ModuleView::addModule (this=0x9361638, module=0x93d96d4) at /local/git/KDE/base/kde-workspace/systemsettings/core/ModuleView.cpp:191 #36 0xb712d369 in ModuleView::loadModule (this=0x9361638, menuItem=...) at /local/git/KDE/base/kde-workspace/systemsettings/core/ModuleView.cpp:144 #37 0xae5cc021 in ClassicMode::changeModule (this=0x93b5b78, activeModule=...) at /local/git/KDE/base/kde-workspace/systemsettings/classic/ClassicMode.cpp:169 #38 0xae5cd0df in ClassicMode::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfc4e098, _c=<optimized out>) at /local/build/KDE/base/kde-workspace/systemsettings/classic/ClassicMode.moc:69 #39 0xb5b82c55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #40 0xb66fb285 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib/libQtGui.so.4 #41 0xb66fb5ca in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #42 0xb674b698 in QTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #43 0xb61cb58a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #44 0xb65d0cbc in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #45 0xb665ff68 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #46 0xb670512c in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #47 0xb674b1e6 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #48 0xb66601e6 in ?? () from /usr/lib/libQtGui.so.4 #49 0xb5b6e12e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #50 0xb6171491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #51 0xb6179105 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #52 0xb6d3a544 in KApplication::notify(QObject*, QEvent*) () from /local/kde4/lib/libkdeui.so.5 #53 0xb5b6dfba in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #54 0xb6177741 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #55 0xb61f8078 in ?? () from /usr/lib/libQtGui.so.4 #56 0xb61f6740 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #57 0xb6221464 in ?? () from /usr/lib/libQtGui.so.4 #58 0xb25067ce in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #59 0xb2506b78 in ?? () from /usr/lib/libglib-2.0.so.0 #60 0xb2506c38 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #61 0xb5b9d5ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #62 0xb622151e in ?? () from /usr/lib/libQtGui.so.4 #63 0xb5b6ca03 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #64 0xb5b6cd29 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #65 0xb5b724fe in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #66 0xb616f944 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #67 0x08050fa0 in main (argc=1, argv=0xbfc4ee54) at /local/git/KDE/base/kde-workspace/systemsettings/app/main.cpp:49 I've made a change in b2f688615c4cbfb972a726c45695e9d10c44fcf9 which should hopefully mitigate this further. Seems fixed as far as I can tell. |