Bug 412692 - System settings crashes in PlasmaDesktopTheme::syncColors() after changing fonts or Global Theme
Summary: System settings crashes in PlasmaDesktopTheme::syncColors() after changing fo...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: generic-crash (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 412997 413162 413376 413462 413653 413692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-07 08:59 UTC by Tony
Modified: 2020-10-12 22:14 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2019-10-07 08:59:04 UTC
Application: systemsettings5 (5.17.80)

Qt Version: 5.13.1
Frameworks Version: 5.63.0
Operating System: Linux 5.3.1-1-puya x86_64
Distribution: "openSUSE Tumbleweed"

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

Changed font to liberation sans using "Adjust all fonts", hit apply. It crashed right after, the new fonts were applied though.

The crash can be reproduced sometimes.

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

Thread 9 (Thread 0x7fbec6d17700 (LWP 9985)):
#0  0x00007fbedf4dcbdf in poll () from /lib64/libc.so.6
#1  0x00007fbedd6b53ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbea80025e0, timeout=<optimized out>, context=0x7fbea8000c30) at ../glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7fbea8000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3922
#3  0x00007fbedd6b549f in g_main_context_iteration (context=0x7fbea8000c30, may_block=may_block@entry=1) at ../glib/gmain.c:3988
#4  0x00007fbedfa8398b in QEventDispatcherGlib::processEvents (this=0x7fbea8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fbedfa2c0cb in QEventLoop::exec (this=this@entry=0x7fbec6d16d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fbedf864021 in QThread::exec (this=this@entry=0x55dd4da84b00) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fbedeb453b5 in QQmlThreadPrivate::run (this=0x55dd4da84b00) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-ku.2.4.x86_64/src/qml/qml/ftw/qqmlthread.cpp:152
#8  0x00007fbedf8651a2 in QThreadPrivate::start (arg=0x55dd4da84b00) at thread/qthread_unix.cpp:360
#9  0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fbed0ebb700 (LWP 9983)):
#0  0x00007fbede0576a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbed36f8a8b in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#2  0x00007fbed36f86a7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fbed16bc700 (LWP 9982)):
#0  0x00007fbede0576a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbed36f8a8b in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#2  0x00007fbed36f86a7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fbed1ebd700 (LWP 9981)):
#0  0x00007fbede0576a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbed36f8a8b in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#2  0x00007fbed36f86a7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fbed26be700 (LWP 9980)):
#0  0x00007fbede0576a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbed36f8a8b in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#2  0x00007fbed36f86a7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fbed2ebf700 (LWP 9979)):
#0  0x00007fbede0576a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbed36f8a8b in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#2  0x00007fbed36f86a7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fbed9b37700 (LWP 9978)):
#0  0x00007fbedf4d860c in read () from /lib64/libc.so.6
#1  0x00007fbedd66770f in read (__nbytes=<optimized out>, __buf=<optimized out>, __fd=<optimized out>, __fd=<optimized out>, __buf=<optimized out>, __nbytes=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x55dd4d4da6b0) at ../glib/gwakeup.c:210
#3  0x00007fbedd6b3cbe in g_main_context_check (context=context@entry=0x7fbecc000c30, max_priority=2147483647, fds=fds@entry=0x7fbecc0029e0, n_fds=n_fds@entry=1) at ../glib/gmain.c:3705
#4  0x00007fbedd6b5372 in g_main_context_iterate (context=context@entry=0x7fbecc000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3924
#5  0x00007fbedd6b549f in g_main_context_iteration (context=0x7fbecc000c30, may_block=may_block@entry=1) at ../glib/gmain.c:3988
#6  0x00007fbedfa8398b in QEventDispatcherGlib::processEvents (this=0x7fbecc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fbedfa2c0cb in QEventLoop::exec (this=this@entry=0x7fbed9b36d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#8  0x00007fbedf864021 in QThread::exec (this=this@entry=0x7fbedfd91d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#9  0x00007fbedfd0f4f6 in QDBusConnectionManager::run (this=0x7fbedfd91d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#10 0x00007fbedf8651a2 in QThreadPrivate::start (arg=0x7fbedfd91d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:360
#11 0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#12 0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbedaae7700 (LWP 9977)):
#0  0x00007fbedf4dcbdf in poll () from /lib64/libc.so.6
#1  0x00007fbede015742 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fbede0163fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fbedad52f90 in QXcbEventQueue::run (this=0x55dd4d421c80) at qxcbeventqueue.cpp:228
#4  0x00007fbedf8651a2 in QThreadPrivate::start (arg=0x55dd4d421c80) at thread/qthread_unix.cpp:360
#5  0x00007fbede050f2a in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbedf4e74af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbee0c19800 (LWP 9975)):
[KCrash Handler]
#5  0x00007fbedfed66ac in QWindow::isActive (this=<optimized out>) at kernel/qwindow.cpp:1167
#6  0x00007fbec563d95f in PlasmaDesktopTheme::syncColors (this=0x55dd4f348920) at /usr/include/c++/9/bits/atomic_base.h:413
#7  0x00007fbedfa58638 in QtPrivate::QSlotObjectBase::call (a=0x7ffe61df0d80, r=0x55dd4f348920, this=0x55dd4f360010) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#8  QMetaObject::activate (sender=0x55dd4d3f24b0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#9  0x00007fbec5640060 in StyleSingleton::paletteChanged (this=0x55dd4d3f24b0) at /usr/src/debug/qqc2-desktop-style-5.62.0git.20191006T093845~1126d8d-ku.10.1.x86_64/build/kirigami-plasmadesktop-integration/org.kde.desktop_autogen/include/plasmadesktoptheme.moc:130
#10 StyleSingleton::refresh (this=0x55dd4d3f24b0) at /usr/src/debug/qqc2-desktop-style-5.62.0git.20191006T093845~1126d8d-ku.10.1.x86_64/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp:67
#11 0x00007fbedfa58638 in QtPrivate::QSlotObjectBase::call (a=0x7ffe61df0f10, r=0x55dd4d3f24b0, this=0x55dd4d3f32f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 QMetaObject::activate (sender=0x7ffe61df1330, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#13 0x00007fbedfec4c55 in QGuiApplication::paletteChanged (this=<optimized out>, _t1=...) at .moc/moc_qguiapplication.cpp:458
#14 0x00007fbedfecb216 in QGuiApplicationPrivate::notifyThemeChanged (this=0x55dd4d3e5e80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:116
#15 0x00007fbee0516959 in QApplicationPrivate::notifyThemeChanged (this=<optimized out>) at kernel/qapplication.cpp:4455
#16 0x00007fbedfecacc0 in QGuiApplicationPrivate::processThemeChanged (tce=0x55dd4f912670) at kernel/qguiapplication.cpp:2391
#17 0x00007fbedfed219b in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55dd4f912670) at kernel/qguiapplication.cpp:1907
#18 0x00007fbedfead25b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1148
#19 0x00007fbedad53f4a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#20 0x00007fbedd6b36b3 in g_main_dispatch (context=0x7fbed4005010) at ../glib/gmain.c:3189
#21 g_main_context_dispatch (context=context@entry=0x7fbed4005010) at ../glib/gmain.c:3854
#22 0x00007fbedd6b5460 in g_main_context_iterate (context=context@entry=0x7fbed4005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3927
#23 0x00007fbedd6b549f in g_main_context_iteration (context=0x7fbed4005010, may_block=may_block@entry=1) at ../glib/gmain.c:3988
#24 0x00007fbedfa83971 in QEventDispatcherGlib::processEvents (this=0x55dd4d4d4900, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007fbedfa2c0cb in QEventLoop::exec (this=this@entry=0x7ffe61df1250, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#26 0x00007fbedfa33d32 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#27 0x000055dd4d14164a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings5-5.17.80git.20190930T051725~331fcdb5-ku.55.2.x86_64/app/main.cpp:71
[Inferior 1 (process 9975) detached]

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

Possible duplicates by query: bug 412551, bug 412367, bug 412296, bug 412132, bug 412123.

Reported using DrKonqi
Comment 1 Christoph Feck 2019-10-24 12:51:21 UTC
*** Bug 413376 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2019-10-27 15:14:06 UTC
*** Bug 413162 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2019-10-27 15:15:47 UTC
*** Bug 412132 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2019-10-27 16:18:52 UTC
*** Bug 412997 has been marked as a duplicate of this bug. ***
Comment 5 David Edmundson 2019-10-27 16:36:11 UTC
Couldn't reproduce

There's a chance it's fixed with kcmutils: aea58fcca35984fff73e1c77dc2edb346da4e69b

It would explain QML with no window, though QQuickItem should have resolved that.
Comment 6 David Edmundson 2019-11-02 08:33:46 UTC
*** Bug 413462 has been marked as a duplicate of this bug. ***
Comment 7 David Edmundson 2019-11-02 08:33:56 UTC
*** Bug 413692 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2019-12-01 12:58:59 UTC
*** Bug 413653 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2020-10-12 21:21:59 UTC
Haven't gotten any new duplicate crashes in 10 months, so I suspect this is fixed now. Does it happen for you with a newer version of Plasma? Like 5.19 or 5.20?
Comment 10 Tony 2020-10-12 22:11:59 UTC
(In reply to Nate Graham from comment #9)
> Haven't gotten any new duplicate crashes in 10 months, so I suspect this is
> fixed now. Does it happen for you with a newer version of Plasma? Like 5.19
> or 5.20?

Nope, i haven't had a crash related to this for a while now.
Comment 11 Nate Graham 2020-10-12 22:14:10 UTC
Oh good. Thanks!