Bug 413402 - system setting crashed when I opened "display -> night color scheme"
Summary: system setting crashed when I opened "display -> night color scheme"
Status: RESOLVED DUPLICATE of bug 413274
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_nightcolor (show other bugs)
Version: 5.17.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-10-24 17:08 UTC by Dmitriy
Modified: 2019-11-02 08:04 UTC (History)
7 users (show)

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


Attachments
New crash information added by DrKonqi (8.70 KB, patch)
2019-10-25 08:34 UTC, Stefano
Details
New crash information added by DrKonqi (25.66 KB, text/plain)
2019-10-27 12:57 UTC, Diego López
Details
New crash information added by DrKonqi (11.66 KB, text/plain)
2019-10-29 00:37 UTC, douglas
Details
New crash information added by DrKonqi (7.40 KB, text/plain)
2019-10-30 20:01 UTC, danhyal masood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy 2019-10-24 17:08:52 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:
I wanted to try the new night mode on x11. I opened the settings - screen - night color scheme. Settings app crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Параметры системы (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd261afe800 (LWP 2591))]

Thread 10 (Thread 0x7fd224ce9700 (LWP 2629)):
#0  0x00007fd265efbdf0 in QTimerInfoList::timerWait(timespec&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fd265efda8c in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fd263c83fbf in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd263c8496b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd263c84b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd265efd6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd265ea463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd265cdda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd24406901c in KCupsConnection::run() () at /lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007fd265cdecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#11 0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fd227fff700 (LWP 2609)):
#0  0x00007fd263c84dc5 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd244a9a59a in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#2  0x00007fd263cae111 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#4  0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fd22ce88700 (LWP 2608)):
#0  0x00007fd265956c2f in __GI___poll (fds=0x559c506e3830, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd263c84a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd263c84b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd263c84bc1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd263cae111 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fd246362700 (LWP 2600)):
#0  0x00007fd263cd0c30 in g_mutex_lock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd263c842d3 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd263c849e2 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd263c84b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd265efd6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd265ea463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd265cdda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd264fd0319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fd265cdecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fd25170c700 (LWP 2599)):
#0  0x00007fd265956c2f in __GI___poll (fds=0x7fd2400029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd263c84a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd263c84b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd265efd6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd265ea463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd265cdda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd264fd0319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fd265cdecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fd2537d7700 (LWP 2597)):
#0  0x00007fd265956c2f in __GI___poll (fds=0x7fd2480025e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd263c84a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd263c84b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd265efd6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd265ea463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd265cdda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd264fd0319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fd265cdecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd25956f700 (LWP 2595)):
#0  0x00007fd2645272c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559c484160f8) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fd2645272c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559c484160a8, cond=0x559c484160d0) at pthread_cond_wait.c:508
#2  0x00007fd2645272c6 in __pthread_cond_wait (cond=0x559c484160d0, mutex=0x559c484160a8) at pthread_cond_wait.c:638
#3  0x00007fd259bf497b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fd259bf459b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd25ba69700 (LWP 2594)):
#0  0x00007fd265956c04 in __GI___poll (fds=0x7fd25401dc50, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd263c84a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd263c84b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd265efd6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd265ea463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd265cdda75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd26617eefa in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fd265cdecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd260c4d700 (LWP 2593)):
#0  0x00007fd265956c2f in __GI___poll (fds=0x7fd260c4cca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd2644df917 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd2644e153a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd26144c288 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fd265cdecc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd264520669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fd265963323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd261afe800 (LWP 2591)):
[KCrash Handler]
#6  0x00007fd26537d034 in QQuickWindowPrivate::dirtyItem(QQuickItem*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fd2653c776a in QQuickText::setLinkColor(QColor const&) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fd2653d04dc in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fd2653d093b in QQuickText::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fd25beb02c9 in QQuickLabel::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#11 0x00007fd264fac166 in QV4::QQmlValueTypeWrapper::write(QObject*, int) const () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fd264fa4b71 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007fd264fa5c5b in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#14 0x00007fd264fa245b in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007fd264f7e053 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007fd264f21f62 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007fd265ed0d53 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fd252541d78 in  () at /lib/x86_64-linux-gnu/libKF5Kirigami2.so.5
#19 0x00007fd265ed1eba in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fd266955a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fd26695ee00 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fd265ea5a9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fd265ea8718 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fd265efe0a7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fd263c8484d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fd263c84ad0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd263c84b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fd265efd6a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fd265ea463b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fd265eac3a6 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x0000559c46db581e in  ()
#32 0x00007fd2658681e3 in __libc_start_main (main=0x559c46db5420, argc=1, argv=0x7ffe0806ac08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe0806abf8) at ../csu/libc-start.c:308
#33 0x0000559c46db58ae in _start ()
[Inferior 1 (process 2591) detached]

Possible duplicates by query: bug 413385, bug 413380, bug 413376, bug 413349, bug 413345.

Reported using DrKonqi
Comment 1 Stefano 2019-10-25 08:34:52 UTC
Created attachment 123473 [details]
New crash information added by DrKonqi

systemsettings5 (5.17.1) using Qt 5.12.4

- What I was doing when the application crashed:

I opened the night color setting from System Settings

- Unusual behavior I noticed:

When opening Night Colour as standalone, it doesn't crash. When I openet Night Colour from System Settings the first time, it didn't crashed.

-- Backtrace (Reduced):
#6  0x00007f1b1ecc7fe4 in QQuickWindow::maybeUpdate() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f1b1ed1269a in QQuickText::setColor(QColor const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
[...]
#9  0x00007f1b1ed1b93b in QQuickText::qt_metacall(QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f1b198342c9 in QQuickLabel::qt_metacall(QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#11 0x00007f1b1e8f7166 in QV4::QQmlValueTypeWrapper::write(QObject*, int) const () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
Comment 2 Diego López 2019-10-27 12:57:59 UTC
Created attachment 123517 [details]
New crash information added by DrKonqi

systemsettings5 (5.17.1) using Qt 5.13.1

- What I was doing when the application crashed:

I just wanted to open the Night Color option but the application crashed instead.

-- Backtrace (Reduced):
#6  0x00007f1662b81660 in QQuickWindowPrivate::dirtyItem(QQuickItem*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f1662bcb6f2 in QQuickText::setColor(QColor const&) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f1662bd46f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f1662bd4b83 in QQuickText::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f164f56e9d5 in QQuickLabel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
Comment 3 douglas 2019-10-29 00:37:03 UTC
Created attachment 123552 [details]
New crash information added by DrKonqi

systemsettings5 (5.17.1) using Qt 5.13.1

- What I was doing when the application crashed: 
the application closes when trying to activate night color

-- Backtrace (Reduced):
#6  QQuickWindow::maybeUpdate (this=0x55eae0c4c080) at items/qquickwindow.cpp:3591
#7  0x00007f71ee3ef669 in QQuickWindowPrivate::dirtyItem (this=<optimized out>) at items/qquickwindow.cpp:1158
#8  0x00007f71ee3d4d65 in QQuickItemPrivate::dirty (this=<optimized out>, type=<optimized out>) at items/qquickitem.cpp:6135
#9  0x00007f71ee3d51be in QQuickItem::update (this=<optimized out>) at items/qquickitem.cpp:4439
#10 0x00007f71ee4397b2 in QQuickText::setLinkColor (this=0x55eae5948850, color=...) at items/qquicktext.cpp:1751
Comment 4 danhyal masood 2019-10-30 20:01:28 UTC
Created attachment 123608 [details]
New crash information added by DrKonqi

systemsettings5 (5.17.2) using Qt 5.13.1

- What I was doing when the application crashed:

Simply opening the any of the sub menus in the display options of the settings app causes it to seg fault.

-- Backtrace (Reduced):
#6  0x00007fa667e047f0 in QQuickWindowPrivate::dirtyItem(QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007fa667e549e3 in QQuickText::setLinkColor(QColor const&) () at /usr/lib/libQt5Quick.so.5
#8  0x00007fa667e5d9e0 in  () at /usr/lib/libQt5Quick.so.5
#9  0x00007fa667e5de5b in QQuickText::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5Quick.so.5
#10 0x00007fa661b67687 in QQuickLabel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5QuickTemplates2.so.5
Comment 5 Vlad Zahorodnii 2019-10-31 12:28:56 UTC
It appears like it's either a Kirigami issue or a QtQuick issue.

According to comment 3, the crash happens here

https://github.com/qt/qtdeclarative/blob/5.13.1/src/quick/items/qquickwindow.cpp#L3590-L3591
Comment 6 David Edmundson 2019-11-02 08:04:49 UTC

*** This bug has been marked as a duplicate of bug 413274 ***