Bug 342601 - Opening "Display and Monitor" crashes System Settings window
Summary: Opening "Display and Monitor" crashes System Settings window
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: KScreen
Classification: Plasma
Component: kcm (other bugs)
Version First Reported In: 1.0.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-07 21:05 UTC by sosaited
Modified: 2018-07-12 20:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sosaited 2015-01-07 21:05:28 UTC
Application: systemsettings (4.11.14)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Double clicking "Display and Monitor" in System Settings crashes its window.

Amd ATI HD7750 with Amd driver 14.501 (Dual monitor configured with AMD Catalyst)
OpenSuse 13.2 64bit

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 0x7f0a54d6d800 (LWP 4925))]

Thread 2 (Thread 0x7f0a37d0f700 (LWP 4931)):
#0  0x00007f0a4b12705f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0a4f7588cb in  () at /usr/lib64/libQtScript.so.4
#2  0x00007f0a4f758909 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007f0a4b1230a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f0a51eb67fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0a54d6d800 (LWP 4925)):
[KCrash Handler]
#5  0x00007f0a5261d340 in QObject::setParent(QObject*) (this=0x0, parent=0x1f2a180) at kernel/qobject.cpp:1931
#6  0x00007f0a37f7c225 in  () at /usr/lib64/kde4/kcm_kscreen.so
#7  0x00007f0a37f83db0 in  () at /usr/lib64/kde4/kcm_kscreen.so
#8  0x00007f0a37f8423f in  () at /usr/lib64/kde4/kcm_kscreen.so
#9  0x00007f0a37f84654 in  () at /usr/lib64/kde4/kcm_kscreen.so
#10 0x00007f0a37f77abb in  () at /usr/lib64/kde4/kcm_kscreen.so
#11 0x00007f0a37f797cb in  () at /usr/lib64/kde4/kcm_kscreen.so
#12 0x00007f0a52def3e3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libkdecore.so.5
#13 0x00007f0a545ffede in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib64/libkcmutils.so.4
#14 0x00007f0a546050e3 in  () at /usr/lib64/libkcmutils.so.4
#15 0x00007f0a546057f5 in KCModuleProxy::realModule() const () at /usr/lib64/libkcmutils.so.4
#16 0x00007f0a54605bf3 in KCModuleProxy::showEvent(QShowEvent*) () at /usr/lib64/libkcmutils.so.4
#17 0x00007f0a532de9a5 in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#18 0x00007f0a5328f76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007f0a53295cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#20 0x00007f0a53fa7baa in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#21 0x00007f0a526042ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff92b0a6c0, receiver=0x1f92a50, event=0x7fff92b08ab0) at kernel/qcoreapplication.cpp:953
#22 0x00007f0a532dc10f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#23 0x00007f0a532dbf7a in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#24 0x00007f0a532dc00f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#25 0x00007f0a532dddb4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#26 0x00007f0a532dbf8e in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#27 0x00007f0a532dc00f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#28 0x00007f0a532dddb4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#29 0x00007f0a532c1b92 in QStackedLayout::setCurrentIndex(int) () at /usr/lib64/libQtGui.so.4
#30 0x00007f0a53fd3c5e in  () at /usr/lib64/libkdeui.so.5
#31 0x00007f0a526181fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1f47700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff92b08f30) at kernel/qobject.cpp:3576
#32 0x00007f0a537d3087 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#33 0x00007f0a537d86c1 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#34 0x00007f0a537d8e93 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#35 0x00007f0a537d3ed8 in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#36 0x00007f0a537d32b7 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#37 0x00007f0a53fd2dfe in  () at /usr/lib64/libkdeui.so.5
#38 0x00007f0a53fd38b5 in  () at /usr/lib64/libkdeui.so.5
#39 0x00007f0a526181fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1feb9b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3576
#40 0x00007f0a53fd858b in KPageWidgetModel::addPage(KPageWidgetItem*) () at /usr/lib64/libkdeui.so.5
#41 0x00007f0a543dd495 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib64/libsystemsettingsview.so.2
#42 0x00007f0a543dd745 in ModuleView::loadModule(QModelIndex) () at /usr/lib64/libsystemsettingsview.so.2
#43 0x00007f0a38d15f88 in  () at /usr/lib64/kde4/icon_mode.so
#44 0x00007f0a526181fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1d71f40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff92b09720) at kernel/qobject.cpp:3576
#45 0x00007f0a53781b05 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib64/libQtGui.so.4
#46 0x00007f0a5378b3f0 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#47 0x00007f0a532ded4e in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#48 0x00007f0a5367b5ee in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#49 0x00007f0a5378ae13 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#50 0x00007f0a52604416 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (this=<optimized out>, receiver=0x201ab30, event=0x7fff92b09e80) at kernel/qcoreapplication.cpp:1063
#51 0x00007f0a5328f74c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#52 0x00007f0a53295dea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#53 0x00007f0a53fa7baa in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#54 0x00007f0a526042ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff92b0a6c0, receiver=0x201ab30, event=0x7fff92b09e80) at kernel/qcoreapplication.cpp:953
#55 0x00007f0a532955e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#56 0x00007f0a53306c9b in  () at /usr/lib64/libQtGui.so.4
#57 0x00007f0a5330570c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#58 0x00007f0a5332c5c2 in  () at /usr/lib64/libQtGui.so.4
#59 0x00007f0a4ae58a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#60 0x00007f0a4ae58c48 in  () at /usr/lib64/libglib-2.0.so.0
#61 0x00007f0a4ae58cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#62 0x00007f0a526310be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1c63100, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#63 0x00007f0a5332c676 in  () at /usr/lib64/libQtGui.so.4
#64 0x00007f0a52602e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff92b0a5c0, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f0a52603165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff92b0a5c0, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f0a526085b9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#67 0x000000000040b4bb in  ()
#68 0x00007f0a51df2b05 in __libc_start_main () at /lib64/libc.so.6
#69 0x000000000040b50c in _start ()

Reported using DrKonqi
Comment 1 hangfirew8 2015-09-09 22:26:20 UTC
Affects me. Crashes 100% of the time as I try to enter System Settings->(Hardware)->Display Configuration when I click on Screen Locker on the left pane. Tried to Report Bug but Install Bug Symbols can't find debug package for file /usr/lib/x86_64-linux-gnu/VBoxOGLpackspu.so and then when I continue anyway and authenticate, try to install kde-workspace-dbg and virtualbox-dbg, download slows to a crawl and then stops. So, no automated debug reporting for me.
Comment 2 hangfirew8 2015-09-09 23:05:18 UTC
Application: systemsettings (4.11.11)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-57-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Crashes 100% of the time as I try to enter System Settings->(Hardware)->Display Configuration when I click on Screen Locker on the left pane.

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".
__lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
[Current thread is 1 (Thread 0x7f2b7e7907c0 (LWP 11783))]

Thread 4 (Thread 0x7f2b6028f700 (LWP 11784)):
#0  __GI___pthread_mutex_lock (mutex=0x7f2b58000a60) at ../nptl/pthread_mutex_lock.c:168
#1  0x00007f2b74711981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2b746cff99 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2b746d00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2b7bf057be in QEventDispatcherGlib::processEvents (this=0x7f2b580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f2b7bed70af in QEventLoop::processEvents (this=this@entry=0x7f2b6028ede0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2b7bed73a5 in QEventLoop::exec (this=this@entry=0x7f2b6028ede0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2b7bdd3c5f in QThread::exec (this=this@entry=0x125bd30) at thread/qthread.cpp:537
#8  0x00007f2b7beb8823 in QInotifyFileSystemWatcherEngine::run (this=0x125bd30) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f2b7bdd632f in QThreadPrivate::start (arg=0x125bd30) at thread/qthread_unix.cpp:349
#10 0x00007f2b74baf182 in start_thread (arg=0x7f2b6028f700) at pthread_create.c:312
#11 0x00007f2b7b78c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f2b5ee37700 (LWP 11795)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2b78fddffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f2b78fde039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f2b74baf182 in start_thread (arg=0x7f2b5ee37700) at pthread_create.c:312
#4  0x00007f2b7b78c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f2b5c7b5700 (LWP 11799)):
[KCrash Handler]
#6  __GI___pthread_mutex_lock (mutex=0x7f2b5d463958 <stub+11736>) at ../nptl/pthread_mutex_lock.c:66
#7  0x00007f2b5cbe571f in ?? () from /usr/lib/x86_64-linux-gnu/VBoxOGLpackspu.so
#8  0x00007f2b5d1920a5 in stubSyncThreadProc (ThreadSelf=0x2011dc0, pvUser=<optimized out>) at /build/buildd/virtualbox-4.3.10-dfsg/src/VBox/Additions/common/crOpenGL/load.c:855
#9  0x00007f2b5d1b372c in rtThreadMain (pThread=0x2011dc0, NativeThread=<optimized out>, pszThreadName=<optimized out>) at /build/buildd/virtualbox-4.3.10-dfsg/src/VBox/Runtime/common/misc/thread.cpp:712
#10 0x00007f2b5d1b7bbc in rtThreadNativeMain (pvArgs=0x2011dc0) at /build/buildd/virtualbox-4.3.10-dfsg/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#11 0x00007f2b74baf182 in start_thread (arg=0x7f2b5c7b5700) at pthread_create.c:312
#12 0x00007f2b7b78c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2b7e7907c0 (LWP 11783)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f2b74bb1672 in _L_lock_953 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f2b74bb14da in __GI___pthread_mutex_lock (mutex=0x7f2b5d463958 <stub+11736>) at ../nptl/pthread_mutex_lock.c:114
#3  0x00007f2b5d1925e7 in stubSPUSafeTearDown () at /build/buildd/virtualbox-4.3.10-dfsg/src/VBox/Additions/common/crOpenGL/load.c:389
#4  0x00007f2b7b6ce259 in __run_exit_handlers (status=1, listp=0x7f2b7ba506c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#5  0x00007f2b7b6ce2a5 in __GI_exit (status=<optimized out>) at exit.c:104
#6  0x00007f2b7cbac888 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:783
#7  0x00007f2b7d84f8d0 in KApplication::xioErrhandler (this=0x7ffd033e97a0, dpy=0xe9fba0) at ../../kdeui/kernel/kapplication.cpp:419
#8  0x00007f2b76a715ee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#9  0x00007f2b76a6f76a in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#10 0x00007f2b71191ef7 in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#11 0x00007f2b711b16f5 in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#12 0x00007f2b71192558 in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#13 0x00007f2b7118ef3b in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#14 0x00007f2b7118f6d0 in glXChooseVisual () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#15 0x00007f2b5d69a3d6 in KSWidget::KSWidget (this=0x13fc7a0, parent=<optimized out>, wf=...) at ../../../kcontrol/screensaver/kswidget.cpp:74
#16 0x00007f2b5d692639 in KSSMonitor (parent=<optimized out>, this=0x13fc7a0) at ../../../kcontrol/screensaver/kssmonitor.h:34
#17 KScreenSaver::slotPreviewExited (this=0x16b4300) at ../../../kcontrol/screensaver/scrnsave.cpp:536
#18 0x00007f2b5d693f54 in KScreenSaver::findSavers (this=<optimized out>) at ../../../kcontrol/screensaver/scrnsave.cpp:495
#19 0x00007f2b7beec87a in QMetaObject::activate (sender=0x16c0600, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#20 0x00007f2b7bef0a31 in QObject::event (this=0x16c0600, e=<optimized out>) at kernel/qobject.cpp:1156
#21 0x00007f2b7cb45e2c in QApplicationPrivate::notify_helper (this=this@entry=0xe79de0, receiver=receiver@entry=0x16c0600, e=e@entry=0x7ffd033e9430) at kernel/qapplication.cpp:4567
#22 0x00007f2b7cb4c4a0 in QApplication::notify (this=this@entry=0x7ffd033e97a0, receiver=receiver@entry=0x16c0600, e=e@entry=0x7ffd033e9430) at kernel/qapplication.cpp:4353
#23 0x00007f2b7d850d1a in KApplication::notify (this=0x7ffd033e97a0, receiver=0x16c0600, event=0x7ffd033e9430) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f2b7bed84dd in QCoreApplication::notifyInternal (this=0x7ffd033e97a0, receiver=0x16c0600, event=0x7ffd033e9430) at kernel/qcoreapplication.cpp:953
#25 0x00007f2b7bf08323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QTimerInfoList::activateTimers (this=0xe79c60) at kernel/qeventdispatcher_unix.cpp:621
#27 0x00007f2b7bf05629 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#28 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#29 0x00007f2b746cfe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2b746d0048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f2b746d00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f2b7bf057a1 in QEventDispatcherGlib::processEvents (this=0xe24af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#33 0x00007f2b7cbe7be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f2b7bed70af in QEventLoop::processEvents (this=this@entry=0x7ffd033e96a0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f2b7bed73a5 in QEventLoop::exec (this=this@entry=0x7ffd033e96a0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f2b7bedcb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#37 0x00007f2b7cb4437c in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x000000000040aadb in main (argc=5, argv=0x7ffd033e98e8) at ../../../systemsettings/app/main.cpp:49

The reporter indicates this bug may be a duplicate of or related to bug 342601.

Report to https://bugs.kde.org/
Comment 3 hangfirew8 2015-09-09 23:10:44 UTC
I got symbols loaded now bugzilla login always fails just as I submit report.
Comment 4 Frederik Gladhorn 2018-07-12 20:40:36 UTC
This is rather old. The first backtrace is incomplet, duplicate of https://bugs.kde.org/show_bug.cgi?id=343104 and the second crash is in the screen saver module, not kscreen. I assume these have been fixed in the meantime.