Bug 413417

Summary: System Settings Crashes after Leaving "Display Configuration"
Product: [Applications] systemsettings Reporter: Frederic Roussel <fr.frasc>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, tauer
Priority: NOR Keywords: drkonqi
Version: 5.17.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Frederic Roussel 2019-10-25 05:44:53 UTC
Application: systemsettings5 (5.17.1)

Qt Version: 5.12.4
Frameworks Version: 5.62.0
Operating System: Linux 5.3.0-19-generic x86_64
Distribution: Ubuntu 19.10

-- Information about the crash:
- What I was doing when the application crashed:
I adjusted the "Display Configuration" to have my two monitors setup correctly.
I could "Apply" the new configuration that took effect as ntended.
I then exited the "Display and Monitor" settings.
Then clicking on any  section in the general pane made the "System settings" crash (e.g. "Online Accounts" but any section I'v tried did lead to the the same crash.
- Unusual behavior I noticed:
Every time I login to the Plasma session, the left monitor (which is in portrait mode if that matters) is configured with an exceedingly large geometry. In the "Displayconfiguration" I simply drag the rectangle corresponding to the right monitor. so that it is no longer overlapping with the left one.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcccb920800 (LWP 28858))]

Thread 6 (Thread 0x7fccb1609700 (LWP 29160)):
#0  0x00007fcccf991104 in __GI___clock_gettime (clock_id=1, tp=0x7fccb1608af0) at ../sysdeps/unix/sysv/linux/clock_gettime.c:33
#1  0x00007fcccff1cf85 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fcccff1b82d in QTimerInfoList::updateCurrentTime() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fcccff1be09 in QTimerInfoList::timerWait(timespec&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcccff1d416 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcccdaa5fbf in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fcccdaa696b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fcccdaa6b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fcccff1d6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fcccfec463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fcccfcfda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fccceff0319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fcccfcfecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fccce342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#14 0x00007fcccf983323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fccb88bb700 (LWP 29019)):
#0  0x00007fcccdaa358d in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcccdaa4bac in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcccdaa638f in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcccdaa69e2 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcccdaa6b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcccff1d6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcccfec463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fcccfcfda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fccceff0319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fcccfcfecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fccce342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#11 0x00007fcccf983323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fccbadaf700 (LWP 29017)):
#0  0x00007fcccdaf2c3d in g_mutex_lock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcccdaa647c in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcccdaa69e2 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcccdaa6b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcccff1d6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcccfec463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcccfcfda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fccceff0319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fcccfcfecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fccce342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007fcccf983323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fccc9abc700 (LWP 28861)):
#0  0x00007fcccf976c2f in __GI___poll (fds=0x7fccbc0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcccdaa6a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcccdaa6b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcccff1d6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcccfec463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcccfcfda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fccd019eefa in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fcccfcfecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fccce342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fcccf983323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fcccac5e700 (LWP 28860)):
#0  0x00007fcccf976c2f in __GI___poll (fds=0x7fcccac5dca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fccce301917 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fccce30353a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fcccb42a288 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fcccfcfecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fccce342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fcccf983323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fcccb920800 (LWP 28858)):
[KCrash Handler]
#6  0x00007fcccf39d034 in QQuickWindowPrivate::dirtyItem(QQuickItem*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fcccf3e769a in QQuickText::setColor(QColor const&) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fcccf3f04e6 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fcccf3f093b in QQuickText::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fccc9efb2c9 in QQuickLabel::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#11 0x00007fcccefcc166 in QV4::QQmlValueTypeWrapper::write(QObject*, int) const () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fcccefc4b71 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007fcccefc5c5b in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#14 0x00007fcccefc245b in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007fcccef9e053 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007fcccef41f62 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007fcccfef0d53 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fccbbab2d78 in  () at /lib/x86_64-linux-gnu/libKF5Kirigami2.so.5
#19 0x00007fcccfef1eba in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fccd0975a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fccd097ee00 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fcccfec5a9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fcccfec8718 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fcccff1e0a7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fcccdaa684d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fcccdaa6ad0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fcccdaa6b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fcccff1d6a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fcccfec463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fcccfecc3a6 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000055e533de081e in  ()
#32 0x00007fcccf8881e3 in __libc_start_main (main=0x55e533de0420, argc=1, argv=0x7ffdaba60818, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdaba60808) at ../csu/libc-start.c:308
#33 0x000055e533de08ae in _start ()
[Inferior 1 (process 28858) detached]

Possible duplicates by query: bug 413414, bug 413402, bug 413385, bug 413380, bug 413376.

Reported using DrKonqi
Comment 1 David Edmundson 2019-11-02 08:06:21 UTC

*** This bug has been marked as a duplicate of bug 413274 ***
Comment 2 Ludwig Tauer 2019-11-13 14:45:27 UTC
Created attachment 123888 [details]
New crash information added by DrKonqi

systemsettings5 (5.17.2) using Qt 5.13.1

- What I was doing when the application crashed:

Crash occures when returning from "Display and Monitor", no matter if a change is made or not.

-- Backtrace (Reduced):
#9  QQuickWindow::maybeUpdate (this=0x21) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.1.i386/src/quick/items/qquickwindow.cpp:3589
#10 0xb5b0335b in QQuickWindowPrivate::dirtyItem (this=0x30fd2e8) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.1.i386/src/quick/items/qquickwindow.cpp:1158
#11 0xb5ae69e8 in QQuickItemPrivate::dirty (this=0x3ff0d50, type=QQuickItemPrivate::Content) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.1.i386/src/quick/items/qquickwindow.h:78
#12 0xb5ae6e37 in QQuickItem::update (this=0x3ff67d0) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.1.i386/src/quick/items/qquickitem.cpp:4439
#13 0xb5b54d7b in QQuickText::setColor (this=0x3ff67d0, color=...) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.1.i386/src/quick/items/qquicktext.cpp:1720