Bug 353972

Summary: Problem with AMD multiscreen setup
Product: [Plasma] KScreen Reporter: Lester Caine <lester>
Component: kcmAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: mgraesslin, michael.braeuninger
Priority: NOR Keywords: drkonqi
Version First Reported In: 1.0.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lester Caine 2015-10-16 17:25:07 UTC
Application: systemsettings (4.11.20)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-24-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Trying to look at monitor layout to adjust it

- Custom settings of the application:
Running R7 360 graphics card with 4 screens, one 1920x1080 and the rest 1920x1200 but unable to modify resolution of the smaller one.

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 0x7ff0ec066800 (LWP 13420))]

Thread 3 (Thread 0x7ff0c1dde700 (LWP 13442)):
#0  0x00007ff0e9053c5d in poll () at /lib64/libc.so.6
#1  0x00007ff0c1dee268 in  () at /usr/lib64/libusb-1.0.so.0
#2  0x00007ff0e226f0a4 in start_thread () at /lib64/libpthread.so.0
#3  0x00007ff0e905c08d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ff0c8dfc700 (LWP 13714)):
#0  0x00007ff0e227305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff0e68f68cb in  () at /usr/lib64/libQtScript.so.4
#2  0x00007ff0e68f6909 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007ff0e226f0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007ff0e905c08d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ff0ec066800 (LWP 13420)):
[KCrash Handler]
#5  0x00007ff0e97c3340 in QObject::setParent(QObject*) () at /usr/lib64/libQtCore.so.4
#6  0x00007ff0c9be1225 in  () at /usr/lib64/kde4/kcm_kscreen.so
#7  0x00007ff0c9be8db0 in  () at /usr/lib64/kde4/kcm_kscreen.so
#8  0x00007ff0c9be923f in  () at /usr/lib64/kde4/kcm_kscreen.so
#9  0x00007ff0c9be9654 in  () at /usr/lib64/kde4/kcm_kscreen.so
#10 0x00007ff0c9bdcabb in  () at /usr/lib64/kde4/kcm_kscreen.so
#11 0x00007ff0c9bde7cb in  () at /usr/lib64/kde4/kcm_kscreen.so
#12 0x00007ff0e9f9d553 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libkdecore.so.5
#13 0x00007ff0eb7c2ede in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib64/libkcmutils.so.4
#14 0x00007ff0eb7c80e3 in  () at /usr/lib64/libkcmutils.so.4
#15 0x00007ff0eb7c87f5 in KCModuleProxy::realModule() const () at /usr/lib64/libkcmutils.so.4
#16 0x00007ff0eb7c8bf3 in KCModuleProxy::showEvent(QShowEvent*) () at /usr/lib64/libkcmutils.so.4
#17 0x00007ff0ea4939a5 in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#18 0x00007ff0ea44476c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007ff0ea44acad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#20 0x00007ff0eb163e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#21 0x00007ff0e97aa2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#22 0x00007ff0ea49110f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#23 0x00007ff0ea490f7a in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#24 0x00007ff0ea49100f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#25 0x00007ff0ea492db4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#26 0x00007ff0ea490f8e in QWidgetPrivate::showChildren(bool) () at /usr/lib64/libQtGui.so.4
#27 0x00007ff0ea49100f in QWidgetPrivate::show_helper() () at /usr/lib64/libQtGui.so.4
#28 0x00007ff0ea492db4 in QWidget::setVisible(bool) () at /usr/lib64/libQtGui.so.4
#29 0x00007ff0ea476b92 in QStackedLayout::setCurrentIndex(int) () at /usr/lib64/libQtGui.so.4
#30 0x00007ff0eb18febe in  () at /usr/lib64/libkdeui.so.5
#31 0x00007ff0e97be1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#32 0x00007ff0ea988087 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#33 0x00007ff0ea98d6c1 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQtGui.so.4
#34 0x00007ff0ea98de93 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#35 0x00007ff0ea988ed8 in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#36 0x00007ff0ea9882b7 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQtGui.so.4
#37 0x00007ff0eb18f05e in  () at /usr/lib64/libkdeui.so.5
#38 0x00007ff0eb18fb15 in  () at /usr/lib64/libkdeui.so.5
#39 0x00007ff0e97be1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#40 0x00007ff0eb1947eb in KPageWidgetModel::addPage(KPageWidgetItem*) () at /usr/lib64/libkdeui.so.5
#41 0x00007ff0eb59f495 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib64/libsystemsettingsview.so.2
#42 0x00007ff0eb59f745 in ModuleView::loadModule(QModelIndex) () at /usr/lib64/libsystemsettingsview.so.2
#43 0x00007ff0ca81ef88 in  () at /usr/lib64/kde4/icon_mode.so
#44 0x00007ff0e97be1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#45 0x00007ff0ea936b05 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib64/libQtGui.so.4
#46 0x00007ff0ea9403f0 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#47 0x00007ff0ea493d4e in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#48 0x00007ff0ea8305ee in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#49 0x00007ff0ea93fe13 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#50 0x00007ff0e97aa416 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#51 0x00007ff0ea44474c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#52 0x00007ff0ea44adea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#53 0x00007ff0eb163e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#54 0x00007ff0e97aa2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#55 0x00007ff0ea44a5e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#56 0x00007ff0ea4bbc9b in  () at /usr/lib64/libQtGui.so.4
#57 0x00007ff0ea4ba70c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#58 0x00007ff0ea4e15c2 in  () at /usr/lib64/libQtGui.so.4
#59 0x00007ff0e1fa2a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#60 0x00007ff0e1fa2c48 in  () at /usr/lib64/libglib-2.0.so.0
#61 0x00007ff0e1fa2cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#62 0x00007ff0e97d70be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#63 0x00007ff0ea4e1676 in  () at /usr/lib64/libQtGui.so.4
#64 0x00007ff0e97a8e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#65 0x00007ff0e97a9165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#66 0x00007ff0e97ae5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#67 0x000000000040b4bb in  ()
#68 0x00007ff0e8f98b05 in __libc_start_main () at /lib64/libc.so.6
#69 0x000000000040b50c in _start ()

Reported using DrKonqi
Comment 1 Lester Caine 2015-10-28 20:11:10 UTC
I currently have a working setup, but not entirely sure how I got here ...
The kscreen display is now working and allowing management of the 4 screens, which is useful since when I reboot it looses the order of the screens and stacks two on top of one another. Once repositioned I then have to change the primary screen before the apply button is activated. It is not activated by the position changes.
I suspect that until I had an more complete config file kscreen was crashing, but once I'd manually played with settings that particular problem has cleared.
(Bug 353904 is a previous crash report)
Comment 2 Martin Flöser 2016-07-20 13:35:48 UTC
Sorry for the late response.

> #6 0x00007ff0c9be1225 in () at /usr/lib64/kde4/kcm_kscreen.so

The backtrace is lacking debug symbols. We see that it crashed, but not where and why.

By now the version you used is no longer maintained (also wasn't when you reported the bug). The software has changed a lot. If you still experience the crash with the latest version (5.7) please report a new bug.
Comment 3 Martin Flöser 2016-07-20 13:37:27 UTC
*** Bug 354207 has been marked as a duplicate of this bug. ***