Bug 340666 - "Configure Desktop" / "Display and Monitor" crashes immediately.
Summary: "Configure Desktop" / "Display and Monitor" crashes immediately.
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 1.0.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
: 340658 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-05 15:36 UTC by Carsten Koch
Modified: 2015-03-06 14:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0
Sentry Crash Report:


Attachments
List of installed pacakges. Note that xscreensaver ist NOT iinstalled. (54.54 KB, text/plain)
2014-11-05 15:38 UTC, Carsten Koch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Koch 2014-11-05 15:36:16 UTC
Application: systemsettings (4.11.12)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
I pressed "Configure Desktop" / "Display and Monitor". Nothing more.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f02c5476800 (LWP 3367))]

Thread 2 (Thread 0x7f02a4d63700 (LWP 3373)):
#0  0x00007f02bb6f105f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f02bfd228cb in  () at /usr/lib64/libQtScript.so.4
#2  0x00007f02bfd22909 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007f02bb6ed0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f02c24807fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f02c5476800 (LWP 3367)):
[KCrash Handler]
#5  0x00007f02c2be7340 in QObject::setParent(QObject*) () at /usr/lib64/libQtCore.so.4
#6  0x00007f02a4fb0225 in  () at /usr/lib64/kde4/kcm_kscreen.so
#7  0x00007f02a4fb7db0 in  () at /usr/lib64/kde4/kcm_kscreen.so
#8  0x00007f02a4fb823f in  () at /usr/lib64/kde4/kcm_kscreen.so
#9  0x00007f02a4fb8654 in  () at /usr/lib64/kde4/kcm_kscreen.so
#10 0x00007f02a4fababb in  () at /usr/lib64/kde4/kcm_kscreen.so
#11 0x00007f02a4fad7cb in  () at /usr/lib64/kde4/kcm_kscreen.so
#12 0x00007f02c33b93e3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libkdecore.so.5
#13 0x00007f02c4bc9ede in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib64/libkcmutils.so.4
#14 0x00007f02c4bcf0e3 in  () at /usr/lib64/libkcmutils.so.4
#15 0x00007f02c4bcf7f5 in KCModuleProxy::realModule() const () at /usr/lib64/libkcmutils.so.4
#16 0x00007f02c4bcfbf3 in KCModuleProxy::showEvent(QShowEvent*) () at /usr/lib64/libkcmutils.so.4
#17 0x00007f02c38a89a5 in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#18 0x00007f02c385976c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007f02c385fcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#20 0x00007f02c4571bda in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#21 0x00007f02c2bce2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#22 0x00007f02c38a610f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#23 0x00007f02c38a5f7a in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#24 0x00007f02c38a600f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#25 0x00007f02c38a7db4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#26 0x00007f02c38a5f8e in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#27 0x00007f02c38a600f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#28 0x00007f02c38a7db4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#29 0x00007f02c388bb92 in QStackedLayout::setCurrentIndex(int) () at /usr/lib64/libQtGui.so.4
#30 0x00007f02c459dc8e in  () at /usr/lib64/libkdeui.so.5
#31 0x00007f02c2be21fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#32 0x00007f02c3d9d087 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#33 0x00007f02c3da26c1 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#34 0x00007f02c3da2e93 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#35 0x00007f02c3d9ded8 in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#36 0x00007f02c3d9d2b7 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#37 0x00007f02c459ce2e in  () at /usr/lib64/libkdeui.so.5
#38 0x00007f02c459d8e5 in  () at /usr/lib64/libkdeui.so.5
#39 0x00007f02c2be21fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#40 0x00007f02c45a25bb in KPageWidgetModel::addPage(KPageWidgetItem*) () at /usr/lib64/libkdeui.so.5
#41 0x00007f02c49a7495 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib64/libsystemsettingsview.so.2
#42 0x00007f02c49a7745 in ModuleView::loadModule(QModelIndex) () at /usr/lib64/libsystemsettingsview.so.2
#43 0x00007f02a6a50f88 in  () at /usr/lib64/kde4/icon_mode.so
#44 0x00007f02c2be21fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#45 0x00007f02c3d4bb05 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib64/libQtGui.so.4
#46 0x00007f02c3d4bd80 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#47 0x00007f02c3d74f1e in QListView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#48 0x00007f02c454b6a1 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libkdeui.so.5
#49 0x00007f02c38a8c0a in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#50 0x00007f02c3c455ee in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#51 0x00007f02c3d54e13 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#52 0x00007f02c2bce416 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#53 0x00007f02c385974c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#54 0x00007f02c385fdea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#55 0x00007f02c4571bda in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#56 0x00007f02c2bce2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#57 0x00007f02c385f5e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#58 0x00007f02c38d0c9b in  () at /usr/lib64/libQtGui.so.4
#59 0x00007f02c38cf70c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#60 0x00007f02c38f65c2 in  () at /usr/lib64/libQtGui.so.4
#61 0x00007f02bb422a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#62 0x00007f02bb422c48 in  () at /usr/lib64/libglib-2.0.so.0
#63 0x00007f02bb422cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#64 0x00007f02c2bfb0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#65 0x00007f02c38f6676 in  () at /usr/lib64/libQtGui.so.4
#66 0x00007f02c2bcce6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#67 0x00007f02c2bcd165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#68 0x00007f02c2bd25b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#69 0x000000000040b4bb in  ()
#70 0x00007f02c23bcb05 in __libc_start_main () at /lib64/libc.so.6
#71 0x000000000040b50c in _start ()

Reported using DrKonqi
Comment 1 Carsten Koch 2014-11-05 15:38:51 UTC
Created attachment 89458 [details]
List of installed pacakges. Note that xscreensaver ist NOT iinstalled.
Comment 2 Christoph Feck 2014-11-05 17:49:01 UTC
Could you please install -debug packages for kscreen and libkscreen to get a better backtrace?
Comment 3 Carsten Koch 2014-11-05 18:43:35 UTC
OK, I have now:


kscreen-debugsource-1.0.71-2.1.6.x86_64
libkscreen-debuginfo-1.0.5-1.1.x86_64
libkscreen1-1.0.5-1.1.x86_64
libkscreen-1.0.5-1.1.x86_64
kscreen-debuginfo-1.0.71-2.1.6.x86_64
libkscreen-debugsource-1.0.5-1.1.x86_64
kscreen-1.0.71-2.1.6.x86_64


And the new traceback is:

Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8422bf7800 (LWP 5350))]

Thread 2 (Thread 0x7f84037c7700 (LWP 5352)):
#0  0x00007f8418e7305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f841d4a48cb in  () at /usr/lib64/libQtScript.so.4
#2  0x00007f841d4a4909 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007f8418e6f0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f841fc027fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8422bf7800 (LWP 5350)):
[KCrash Handler]
#5  0x00007f8420369340 in QObject::setParent(QObject*) () at /usr/lib64/libQtCore.so.4
#6  0x00007f84039f6225 in QMLScreen::setConfig(KScreen::Config*) (this=0x1fbf420, config=<optimized out>) at /usr/src/debug/kscreen-1.0.71/kcm/src/declarative/qmlscreen.cpp:356
#7  0x00007f84039fddb0 in Widget::setConfig(KScreen::Config*) (this=this@entry=0x1f75a20, config=0x0) at /usr/src/debug/kscreen-1.0.71/kcm/src/widget.cpp:129
#8  0x00007f84039fe23f in Widget::loadQml() (this=this@entry=0x1f75a20) at /usr/src/debug/kscreen-1.0.71/kcm/src/widget.cpp:175
#9  0x00007f84039fe654 in Widget::Widget(QWidget*) (this=0x1f75a20, parent=<optimized out>) at /usr/src/debug/kscreen-1.0.71/kcm/src/widget.cpp:109
#10 0x00007f84039f1abb in KCMKScreen::KCMKScreen(QWidget*, QList<QVariant> const&) (this=0x1f61ee0, parent=<optimized out>, args=...) at /usr/src/debug/kscreen-1.0.71/kcm/src/kcm_kscreen.cpp:67
#11 0x00007f84039f37cb in KPluginFactory::createInstance<KCMKScreen, QWidget>(QWidget*, QObject*, QList<QVariant> const&) (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#12 0x00007f8420b3b3e3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libkdecore.so.5
#13 0x00007f842234bede in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib64/libkcmutils.so.4
#14 0x00007f84223510e3 in  () at /usr/lib64/libkcmutils.so.4
#15 0x00007f84223517f5 in KCModuleProxy::realModule() const () at /usr/lib64/libkcmutils.so.4
#16 0x00007f8422351bf3 in KCModuleProxy::showEvent(QShowEvent*) () at /usr/lib64/libkcmutils.so.4
#17 0x00007f842102a9a5 in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#18 0x00007f8420fdb76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007f8420fe1cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#20 0x00007f8421cf3bda in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#21 0x00007f84203502ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#22 0x00007f842102810f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#23 0x00007f8421027f7a in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#24 0x00007f842102800f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#25 0x00007f8421029db4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#26 0x00007f8421027f8e in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#27 0x00007f842102800f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#28 0x00007f8421029db4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#29 0x00007f842100db92 in QStackedLayout::setCurrentIndex(int) () at /usr/lib64/libQtGui.so.4
#30 0x00007f8421d1fc8e in  () at /usr/lib64/libkdeui.so.5
#31 0x00007f84203641fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#32 0x00007f842151f087 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#33 0x00007f84215246c1 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#34 0x00007f8421524e93 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#35 0x00007f842151fed8 in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#36 0x00007f842151f2b7 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#37 0x00007f8421d1ee2e in  () at /usr/lib64/libkdeui.so.5
#38 0x00007f8421d1f8e5 in  () at /usr/lib64/libkdeui.so.5
#39 0x00007f84203641fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#40 0x00007f8421d245bb in KPageWidgetModel::addPage(KPageWidgetItem*) () at /usr/lib64/libkdeui.so.5
#41 0x00007f8422129495 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib64/libsystemsettingsview.so.2
#42 0x00007f8422129745 in ModuleView::loadModule(QModelIndex) () at /usr/lib64/libsystemsettingsview.so.2
#43 0x00007f840452ff88 in  () at /usr/lib64/kde4/icon_mode.so
#44 0x00007f84203641fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#45 0x00007f84214cdb05 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib64/libQtGui.so.4
#46 0x00007f84214cdd80 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#47 0x00007f84214f6f1e in QListView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#48 0x00007f8421ccd6a1 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libkdeui.so.5
#49 0x00007f842102ac0a in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#50 0x00007f84213c75ee in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#51 0x00007f84214d6e13 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#52 0x00007f8420350416 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#53 0x00007f8420fdb74c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#54 0x00007f8420fe1dea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#55 0x00007f8421cf3bda in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#56 0x00007f84203502ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#57 0x00007f8420fe15e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#58 0x00007f8421052c9b in  () at /usr/lib64/libQtGui.so.4
#59 0x00007f842105170c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#60 0x00007f84210785c2 in  () at /usr/lib64/libQtGui.so.4
#61 0x00007f8418ba4a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#62 0x00007f8418ba4c48 in  () at /usr/lib64/libglib-2.0.so.0
#63 0x00007f8418ba4cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#64 0x00007f842037d0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#65 0x00007f8421078676 in  () at /usr/lib64/libQtGui.so.4
#66 0x00007f842034ee6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#67 0x00007f842034f165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#68 0x00007f84203545b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#69 0x000000000040b4bb in  ()
#70 0x00007f841fb3eb05 in __libc_start_main () at /lib64/libc.so.6
#71 0x000000000040b50c in _start ()
Comment 4 Daniel Vrátil 2015-03-06 14:59:19 UTC
This should be fixed in Plasma 5, when we won't proceed with initialization of the KCM when we fail to load the config.
Comment 5 Daniel Vrátil 2015-03-06 14:59:54 UTC
*** Bug 340658 has been marked as a duplicate of this bug. ***