Bug 431419 - Screen locker KCM crashes on destruction in ScreenLockerKcm::~ScreenLockerKcm() after clicking on Appearance button and switching to another KCM
Summary: Screen locker KCM crashes on destruction in ScreenLockerKcm::~ScreenLockerKcm...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_screenlocker (show other bugs)
Version: 5.20.5
Platform: Neon Linux
: VHI crash
Target Milestone: ---
Assignee: David Redondo
URL:
Keywords: drkonqi, regression
: 429412 431040 431103 431249 431342 431472 431560 431572 431599 431605 431908 432280 432389 432454 432535 433522 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-11 04:23 UTC by NotSchizophrenic28
Modified: 2021-02-25 20:12 UTC (History)
19 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NotSchizophrenic28 2021-01-11 04:23:28 UTC
Application: systemsettings5 (5.20.5)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.4.0-60-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
- What I was doing when the application crashed:i was only trying to add an image for the lock screen

- Unusual behavior I noticed:just makes duplicate windows wtf idk y. so i just close them then the whole thing crashes

- Custom settings of the application:it    must not like me...

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault

[New LWP 4508]
[New LWP 4511]
[New LWP 4512]
[New LWP 4517]
[New LWP 4537]
[New LWP 4538]
[New LWP 4540]
[New LWP 4541]
[New LWP 4542]
[New LWP 4543]
[New LWP 4544]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4c516e2aff in __GI___poll (fds=0x7ffd29db9ea8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f4c4d11a8c0 (LWP 4505))]

Thread 12 (Thread 0x7f4c067fc700 (LWP 4544)):
#0  __GI___libc_read (nbytes=16, buf=0x7f4c067fba90, fd=44) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=44, buf=0x7f4c067fba90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4c4f82189f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c4f7d8cfe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c4f7d9152 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f4c50f1f38a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f4c06ffd700 (LWP 4543)):
#0  0x00007f4c51cae300 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f4c4f7d872f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d90db in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f4c077fe700 (LWP 4542)):
#0  0x00007f4c516e2aff in __GI___poll (fds=0x561c8bdf3dc0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4c4f7d91ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d9533 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c35a06eda in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f4c4f802931 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f4c07fff700 (LWP 4541)):
#0  __GI___libc_read (nbytes=16, buf=0x7f4c07ffec20, fd=38) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=38, buf=0x7f4c07ffec20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4c4f82189f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c4f7d8cfe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c4f7d9152 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f4c4f7d9331 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f4c4f802931 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f4c1cec8700 (LWP 4540)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561c8b1da494) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561c8b1da440, cond=0x561c8b1da468) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561c8b1da468, mutex=0x561c8b1da440) at pthread_cond_wait.c:638
#3  0x00007f4c51a73d1b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4c50fe4814 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f4c50fe4c89 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4c427eb700 (LWP 4538)):
#0  0x00007f4c516e2aff in __GI___poll (fds=0x7f4c2802d400, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4c4f7d91ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f4c1e2a9700 (LWP 4537)):
#0  0x00007f4c4f7d709d in g_source_ref () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4c4f7d7168 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d8aff in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c4f7d9152 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f4c1ffff700 (LWP 4517)):
#0  0x00007f4c4f826368 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4c4f7d89ee in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d9128 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4c50c69fa9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4c26ad6700 (LWP 4512)):
#0  0x00007f4c4f826368 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4c4f7d8721 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d90db in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4c50c69fa9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f4c34b72700 (LWP 4511)):
#0  0x00007f4c516e2aff in __GI___poll (fds=0x7f4c2c004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4c4f7d91ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4c50c69fa9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4c4b3c9700 (LWP 4508)):
#0  0x00007f4c500f3c8e in __GI___pthread_getspecific (key=<optimized out>) at pthread_getspecific.c:60
#1  0x00007f4c4f802ea4 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c4f7d92d3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c51cadfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4c51a6ca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4c50885f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f4c51a6dbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f4c500eb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4c516ef293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4c4d11a8c0 (LWP 4505)):
[KCrash Handler]
#4  0x00007f4c50ac49be in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, QQmlPropertyData**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007f4c50a9ecf2 in QV4::QQmlContextWrapper::getPropertyAndBase(QV4::QQmlContextWrapper const*, QV4::PropertyKey, QV4::Value const*, bool*, QV4::Value*, QV4::Lookup*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f4c50a9f644 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f4c50ae587c in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f4c50aeb02f in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f4c50a7824d in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f4c50c1dfa7 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f4c50bc18ae in QQmlBoundSignalExpression::evaluate(void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007f4c50bc2948 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007f4c50bfd64d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#14 0x00007f4c50b9ffbf in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007f4c51c8a245 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f4c50bbdfe9 in QQmlContextData::emitDestruction() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007f4c50bbe00f in QQmlContextData::emitDestruction() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#18 0x00007f4c50bbe00f in QQmlContextData::emitDestruction() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#19 0x00007f4c50bbe00f in QQmlContextData::emitDestruction() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#20 0x00007f4c50bbe00f in QQmlContextData::emitDestruction() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007f4c50bbe0fd in QQmlContextData::invalidate() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007f4c50bbdd9b in QQmlContextData::destroy() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#23 0x00007f4c50bbdf4d in QQmlContext::~QQmlContext() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#24 0x00007f4c50bbdf6d in QQmlContext::~QQmlContext() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#25 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f4c51c886e6 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f4c5136774d in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine() () from /lib/x86_64-linux-gnu/libKF5Declarative.so.5
#28 0x00007f4c531e1eb5 in KQuickAddons::ConfigModule::~ConfigModule() () from /lib/x86_64-linux-gnu/libKF5QuickAddons.so.5
#29 0x00007f4c40828ca6 in ScreenLockerKcm::~ScreenLockerKcm (this=0x561c8aadb2f0, __in_chrg=<optimized out>) at ./kcm/kcm.h:43
#30 ScreenLockerKcm::~ScreenLockerKcm (this=0x561c8aadb2f0, __in_chrg=<optimized out>) at ./kcm/kcm.h:43
#31 0x00007f4c5330dcc7 in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#32 0x00007f4c5330dcfd in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#33 0x00007f4c53313cf8 in KCModuleProxy::deleteClient() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#34 0x00007f4c53313e01 in KCModuleProxy::~KCModuleProxy() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#35 0x00007f4c53313f9d in KCModuleProxy::~KCModuleProxy() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#36 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f4c528907ad in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f4c529f4d7d in QScrollArea::~QScrollArea() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007f4c52f8e4a1 in ?? () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#45 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007f4c5301c73d in KPageWidget::~KPageWidget() () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#48 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007f4c5335d7ed in ModuleView::~ModuleView (this=0x561c891eff60, __in_chrg=<optimized out>) at ./core/ModuleView.cpp:120
#51 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007f4c480248b5 in FocusHackWidget::~FocusHackWidget (this=0x561c891ee430, __in_chrg=<optimized out>) at ./sidebar/SidebarMode.cpp:69
#54 FocusHackWidget::~FocusHackWidget (this=0x561c891ee430, __in_chrg=<optimized out>) at ./sidebar/SidebarMode.cpp:70
#55 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007f4c52a0b55d in QStackedWidget::~QStackedWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#58 0x00007f4c51c7dcbe in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007f4c528905b6 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007f4c53263d28 in KMainWindow::~KMainWindow() () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#61 0x0000561c87244363 in SettingsBase::~SettingsBase (this=0x561c88f33440, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#62 0x0000561c872443ed in SettingsBase::~SettingsBase (this=0x561c88f33440, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./app/SettingsBase.cpp:83
#63 0x00007f4c51c80fd3 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007f4c52894bad in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#65 0x00007f4c529ad8c8 in QMainWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#66 0x00007f4c5326644b in KMainWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#67 0x00007f4c532b10ab in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#68 0x00007f4c52851dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#69 0x00007f4c5285abb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#70 0x00007f4c51c5369a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#71 0x00007f4c51c55fa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#72 0x00007f4c51cae947 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#73 0x00007f4c4f7d8fbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f4c4f7d9240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007f4c4f7d92e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#76 0x00007f4c51cadfa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#77 0x00007f4c51c521ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#78 0x00007f4c51c5a354 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#79 0x0000561c87240112 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:209
[Inferior 1 (process 4505) detached]

Possible duplicates by query: bug 431249, bug 429983, bug 429786, bug 429412, bug 428461.

Reported using DrKonqi
Comment 1 Nate Graham 2021-01-11 22:53:00 UTC

*** This bug has been marked as a duplicate of bug 426047 ***
Comment 2 Nate Graham 2021-01-14 00:17:55 UTC
Re-opening; I marked this as a duplicate of another bug in error.
Comment 3 Nate Graham 2021-01-14 00:19:32 UTC
Can reproduce. Here are the steps:

1. Go to screen locker KCM
2. Click on Appearance button
3. Immediately Switch to any other KCM

David, can you have a look? Thanks!
Comment 4 Nate Graham 2021-01-14 00:19:40 UTC
*** Bug 431249 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2021-01-14 00:19:46 UTC
*** Bug 431472 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2021-01-14 00:20:08 UTC
*** Bug 431103 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2021-01-14 00:20:37 UTC
*** Bug 431342 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2021-01-14 00:20:47 UTC
*** Bug 431040 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2021-01-14 00:20:59 UTC
*** Bug 429412 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2021-01-14 00:21:32 UTC
*** Bug 431560 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2021-01-14 04:49:27 UTC
The related bugs (Bug 428461 and Bug 427444) are about the same thing but have different backtraces. Weird.
Comment 12 David Redondo 2021-01-14 07:40:44 UTC
I did some investigation in https://bugs.kde.org/show_bug.cgi?id=428461#c1 will maybe poke others for help.

conceptually closing systemsettings and navigating to another kcm are the same for a kcm, it will be destroyed.
Comment 13 Bug Janitor Service 2021-01-14 14:29:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/210
Comment 14 Nate Graham 2021-01-14 21:01:14 UTC
*** Bug 431572 has been marked as a duplicate of this bug. ***
Comment 15 Nicolas Fella 2021-01-15 16:28:16 UTC
*** Bug 431605 has been marked as a duplicate of this bug. ***
Comment 16 Rik Mills 2021-01-22 00:45:18 UTC
*** Bug 431908 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2021-01-22 14:53:08 UTC
Git commit b4a6c562cde4e064494e261bc3f64000cbf628a5 by Nate Graham, on behalf of Nicolas Fella.
Committed on 22/01/2021 at 14:51.
Pushed by ngraham into branch 'master'.

Don't manually call reverseTwinsChanged when destructing FormLayout

This line causes a crash when destructing the screenlocker KCM.
It doesn't seem to be caused by reverseTwinsChanged itself but rather by
accessing the Qt object. I don't fully undestand the root cause.

However the call itself appears to be unnecessary since in the line
above we write to reverseTwins and that triggers the changed signal if
needed.
Related: bug 428461

M  +0    -1    src/controls/FormLayout.qml

https://invent.kde.org/frameworks/kirigami/commit/b4a6c562cde4e064494e261bc3f64000cbf628a5
Comment 18 Nate Graham 2021-01-26 06:08:40 UTC
*** Bug 431599 has been marked as a duplicate of this bug. ***
Comment 19 Nate Graham 2021-02-01 17:44:27 UTC
*** Bug 432280 has been marked as a duplicate of this bug. ***
Comment 20 Nate Graham 2021-02-02 15:27:41 UTC
*** Bug 432389 has been marked as a duplicate of this bug. ***
Comment 21 Nicolas Fella 2021-02-03 12:13:21 UTC
*** Bug 432454 has been marked as a duplicate of this bug. ***
Comment 22 Nate Graham 2021-02-06 22:02:30 UTC
*** Bug 432535 has been marked as a duplicate of this bug. ***
Comment 23 Nate Graham 2021-02-25 20:12:58 UTC
*** Bug 433522 has been marked as a duplicate of this bug. ***