Bug 428461 - System setting crashed in QQmlData::wasDeleted() after quitting it while on the Screen Locker KCM's Appearance page
Summary: System setting crashed in QQmlData::wasDeleted() after quitting it while on t...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_screenlocker (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: VHI crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, regression
: 429786 429983 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-30 07:51 UTC by Tony
Modified: 2021-01-23 22:13 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
valgrind output (8.60 KB, text/plain)
2020-10-30 11:17 UTC, David Redondo
Details
New crash information added by DrKonqi (7.32 KB, text/plain)
2020-11-15 19:36 UTC, undying.k
Details
New crash information added by DrKonqi (14.56 KB, text/plain)
2020-11-18 23:04 UTC, Arthur Bols
Details
New crash information added by DrKonqi (10.17 KB, text/plain)
2021-01-23 22:13 UTC, Khristopher Allen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2020-10-30 07:51:46 UTC
Application: systemsettings5 (5.20.80)

Qt Version: 5.15.1
Frameworks Version: 5.76.0
Operating System: Linux 5.9.1-1-default x86_64
Windowing system: Wayland
Distribution: "openSUSE Tumbleweed"

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

Browsing systemsettings options, closing it while at screen locker appearance options crashes it.

The crash can be reproduced every time.

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

[New LWP 1477]
[New LWP 1485]
[New LWP 1486]
[New LWP 1487]
[New LWP 1494]
[New LWP 1495]
[New LWP 1496]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f2ae15fce7f in poll () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f2ae300b040 (LWP 1475))]

Thread 8 (Thread 0x7f2abca6e640 (LWP 1496)):
#0  0x00007f2ae01af3a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2ae19978b4 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x562e85b36be0) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x562e85b36be0) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x562e85b36800, mutex=mutex@entry=0x562e82677aa8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2ae19958f1 in QThreadPoolThread::run (this=0x562e85b367f0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#5  0x00007f2ae1991911 in QThreadPrivate::start (arg=0x562e85b367f0) at thread/qthread_unix.cpp:329
#6  0x00007f2ae01a8eb1 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f2ae1607ccf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f2abd26f640 (LWP 1495)):
#0  0x00007f2ae01af3a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2ae19978b4 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x562e85e4da40) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x562e85e4da40) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x562e85b363f0, mutex=mutex@entry=0x562e82677aa8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2ae19958f1 in QThreadPoolThread::run (this=0x562e85b363e0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#5  0x00007f2ae1991911 in QThreadPrivate::start (arg=0x562e85b363e0) at thread/qthread_unix.cpp:329
#6  0x00007f2ae01a8eb1 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f2ae1607ccf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f2abdbff640 (LWP 1494)):
#0  0x00007f2ae01af3a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2ae19978b4 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x562e85b354f0) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x562e85b354f0) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x562e85b35e70, mutex=mutex@entry=0x562e82677aa8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2ae19958f1 in QThreadPoolThread::run (this=0x562e85b35e60) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#5  0x00007f2ae1991911 in QThreadPrivate::start (arg=0x562e85b35e60) at thread/qthread_unix.cpp:329
#6  0x00007f2ae01a8eb1 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f2ae1607ccf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2ace8ef640 (LWP 1487)):
#0  0x00007f2ae15fce7f in poll () from /lib64/libc.so.6
#1  0x00007f2adf7acfbe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2adf7ad0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ae1bc85cb in QEventDispatcherGlib::processEvents (this=0x7f2ac81dd700, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2ae1b6fa1b in QEventLoop::exec (this=this@entry=0x7f2ace8eeca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2ae19907ce in QThread::exec (this=this@entry=0x562e84a46d00) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2ae0dd22d5 in QQmlThreadPrivate::run (this=0x562e84a46d00) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#7  0x00007f2ae1991911 in QThreadPrivate::start (arg=0x562e84a46d00) at thread/qthread_unix.cpp:329
#8  0x00007f2ae01a8eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2ae1607ccf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2ac502f640 (LWP 1486)):
#0  0x00007f2adf7a91b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2adf7aaee5 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2adf7ac403 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2adf7aceeb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2adf7ad0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f2ae1bc85cb in QEventDispatcherGlib::processEvents (this=0x7f2ab8018180, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f2ae1b6fa1b in QEventLoop::exec (this=this@entry=0x7f2ac502eca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f2ae19907ce in QThread::exec (this=this@entry=0x562e84917430) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f2ae0dd22d5 in QQmlThreadPrivate::run (this=0x562e84917430) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#9  0x00007f2ae1991911 in QThreadPrivate::start (arg=0x562e84917430) at thread/qthread_unix.cpp:329
#10 0x00007f2ae01a8eb1 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2ae1607ccf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2ac651f640 (LWP 1485)):
#0  0x00007f2ae15fce7f in poll () from /lib64/libc.so.6
#1  0x00007f2adf7acfbe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2adf7ad0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ae1bc85cb in QEventDispatcherGlib::processEvents (this=0x7f2ac0006d90, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2ae1b6fa1b in QEventLoop::exec (this=this@entry=0x7f2ac651eca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2ae19907ce in QThread::exec (this=this@entry=0x562e833802c0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2ae0dd22d5 in QQmlThreadPrivate::run (this=0x562e833802c0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#7  0x00007f2ae1991911 in QThreadPrivate::start (arg=0x562e833802c0) at thread/qthread_unix.cpp:329
#8  0x00007f2ae01a8eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2ae1607ccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2adc67f640 (LWP 1477)):
#0  0x00007f2ae15fce7f in poll () from /lib64/libc.so.6
#1  0x00007f2adf7acfbe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2adf7ad0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ae1bc85cb in QEventDispatcherGlib::processEvents (this=0x7f2ad4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2ae1b6fa1b in QEventLoop::exec (this=this@entry=0x7f2adc67ec70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2ae19907ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2ae0a51a27 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f2ae1991911 in QThreadPrivate::start (arg=0x7f2ae0abed80) at thread/qthread_unix.cpp:329
#8  0x00007f2ae01a8eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2ae1607ccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2ae300b040 (LWP 1475)):
[KCrash Handler]
#4  0x00007f2ae0c5d5fa in QQmlData::wasDeleted (object=0x562e845a01e0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:338
#5  QV4::QObjectWrapper::getQmlProperty (engine=engine@entry=0x562e83313e40, qmlContext=qmlContext@entry=0x562e8459ffc0, object=0x562e845a01e0, name=0x7f2acdca95e8, revisionMode=revisionMode@entry=QV4::QObjectWrapper::CheckRevision, hasProperty=hasProperty@entry=0x7ffe47c3d048, property=0x7ffe47c3d050) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:360
#6  0x00007f2ae0c3d01a in QV4::QQmlContextWrapper::getPropertyAndBase (resource=<optimized out>, id=..., receiver=<optimized out>, hasProperty=0x7ffe47c3d0c7, base=0x0, lookup=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/common/qv4staticvalue_p.h:325
#7  0x00007f2ae0c3d8e3 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter (l=0x562e83910660, engine=0x562e83313e40, base=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/common/qv4staticvalue_p.h:325
#8  0x00007f2ae0c7a160 in QV4::Moth::VME::interpret (frame=0x7ffe47c3d2b0, engine=0x562e83313e40, code=0x7f2acd9aa9ab "\030\n(N\030\r\247[\001") at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:585
#9  0x00007f2ae0c7f087 in QV4::Moth::VME::exec (frame=frame@entry=0x7ffe47c3d2b0, engine=engine@entry=0x562e83313e40) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:463
#10 0x00007f2ae0c1a8dd in QV4::Function::call (this=this@entry=0x562e83ef2470, thisObject=<optimized out>, argv=argv@entry=0x7f2acdca9500, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/jsruntime/qv4function.cpp:69
#11 0x00007f2ae0d92795 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x562e859daa10, callData=callData@entry=0x7f2acdca94d0, isUndefined=isUndefined@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#12 0x00007f2ae0d4599b in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#13 0x00007f2ae0d45e80 in QQmlBoundSignal_callback (e=0x562e859da990, a=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#14 0x00007f2ae0d755bd in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlnotifier.cpp:104
#15 0x00007f2ae1ba71d5 in doActivate<false> (sender=0x562e859da780, signal_index=4, argv=argv@entry=0x0) at kernel/qobject_p.h:110
#16 0x00007f2ae1ba09a0 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2ae0f1ede0 <QQmlComponentAttached::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#17 0x00007f2ae0e22d63 in QQmlComponentAttached::destruction (this=<optimized out>) at .moc/moc_qqmlcomponentattached_p.cpp:154
#18 0x00007f2ae0d413f9 in QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:580
#19 QQmlContextData::emitDestruction (this=0x562e859d55e0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:564
#20 0x00007f2ae0d4141f in QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmldata_p.h:102
#21 QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:564
#22 0x00007f2ae0d4141f in QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmldata_p.h:102
#23 QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:564
#24 0x00007f2ae0d4141f in QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmldata_p.h:102
#25 QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:564
#26 0x00007f2ae0d4141f in QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmldata_p.h:102
#27 QQmlContextData::emitDestruction (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:564
#28 0x00007f2ae0d41649 in QQmlContextData::invalidate (this=this@entry=0x562e8459ffc0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:594
#29 0x00007f2ae0d41187 in QQmlContextData::destroy (this=0x562e8459ffc0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:650
#30 0x00007f2ae0d4135d in QQmlContext::~QQmlContext (this=0x562e84595c40, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:222
#31 0x00007f2ae0d41379 in QQmlContext::~QQmlContext (this=0x562e84595c40, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcontext.cpp:216
#32 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=0x562e845a0080) at kernel/qobject.cpp:2104
#33 0x00007f2ae1ba5854 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#34 0x00007f2ae14e3e69 in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeclarative-5.75.0git.20201027T220159~968c430-ku.8.1.x86_64/src/kdeclarative/qmlobjectsharedengine.cpp:63
#35 0x00007f2ae328c152 in KQuickAddons::ConfigModule::~ConfigModule (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdeclarative-5.75.0git.20201027T220159~968c430-ku.8.1.x86_64/src/quickaddons/configmodule.cpp:105
#36 0x00007f2ac6737722 in ScreenLockerKcm::~ScreenLockerKcm (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kscreenlocker-5.20.80git.20201024T152804~243ff3a-ku.36.1.x86_64/build/kcm/kcm_screenlocker_autogen/EWIEGA46WW/../../../../kcm/kcm.h:43
#37 ScreenLockerKcm::~ScreenLockerKcm (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kscreenlocker-5.20.80git.20201024T152804~243ff3a-ku.36.1.x86_64/build/kcm/kcm_screenlocker_autogen/EWIEGA46WW/../../../../kcm/kcm.h:43
#38 0x00007f2ae3387363 in std::default_delete<KQuickAddons::ConfigModule>::operator() (__ptr=<optimized out>, this=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:79
#39 std::unique_ptr<KQuickAddons::ConfigModule, std::default_delete<KQuickAddons::ConfigModule> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/10/bits/unique_ptr.h:361
#40 KCModuleQmlPrivate::~KCModuleQmlPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.75.0git.20201023T085659~23569b2-ku.10.1.x86_64/src/kcmoduleqml.cpp:35
#41 KCModuleQml::~KCModuleQml (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.75.0git.20201023T085659~23569b2-ku.10.1.x86_64/src/kcmoduleqml.cpp:233
#42 0x00007f2ae3387389 in KCModuleQml::~KCModuleQml (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.75.0git.20201023T085659~23569b2-ku.10.1.x86_64/src/kcmoduleqml.cpp:234
#43 0x00007f2ae338a2a4 in KCModuleProxy::deleteClient (this=this@entry=0x562e84594c70) at /usr/src/debug/kcmutils-5.75.0git.20201023T085659~23569b2-ku.10.1.x86_64/src/kcmoduleproxy.cpp:159
#44 0x00007f2ae338b3c8 in KCModuleProxy::~KCModuleProxy (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.75.0git.20201023T085659~23569b2-ku.10.1.x86_64/src/kcmoduleproxy.cpp:150
#45 0x00007f2ae338b4c9 in KCModuleProxy::~KCModuleProxy (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kcmutils-5.75.0git.20201023T085659~23569b2-ku.10.1.x86_64/src/kcmoduleproxy.cpp:154
#46 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e84565350) at kernel/qobject.cpp:2104
#47 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e8457caa0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#48 0x00007f2ae27f8a79 in QWidget::~QWidget (this=0x562e8457caa0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1400
#49 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e83431a00) at kernel/qobject.cpp:2104
#50 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e8457cae0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#51 0x00007f2ae294f339 in QScrollArea::~QScrollArea (this=0x562e8457cae0, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:171
#52 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e825e8420) at kernel/qobject.cpp:2104
#53 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e8278db20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#54 0x00007f2ae2ed6f3d in KPageStackedWidget::~KPageStackedWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.75.0git.20201024T111252~ec9881cd-ku.5.1.x86_64/build/src/KF5WidgetsAddons_autogen/EWIEGA46WW/../../../../src/kpageview_p.h:23
#55 KPageStackedWidget::~KPageStackedWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.75.0git.20201024T111252~ec9881cd-ku.5.1.x86_64/build/src/KF5WidgetsAddons_autogen/EWIEGA46WW/../../../../src/kpageview_p.h:23
#56 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e8276ec00) at kernel/qobject.cpp:2104
#57 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e8276d090, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#58 0x00007f2ae2f4b2f9 in KPageWidget::~KPageWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.75.0git.20201024T111252~ec9881cd-ku.5.1.x86_64/src/kpagewidget.cpp:58
#59 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e8276e950) at kernel/qobject.cpp:2104
#60 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e8273b4c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#61 0x00007f2ad85749f9 in ModuleView::~ModuleView (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.20.80git.20201029T120115~8b0caf4e-ku.80.1.x86_64/core/ModuleView.cpp:201
#62 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e8260f620) at kernel/qobject.cpp:2104
#63 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e826623f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#64 0x00007f2ae2965759 in QStackedWidget::~QStackedWidget (this=0x562e826623f0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145
#65 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e824de800) at kernel/qobject.cpp:2104
#66 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e8252f040, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#67 0x00007f2ae2965759 in QStackedWidget::~QStackedWidget (this=0x562e8252f040, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145
#68 0x00007f2ae1b9ac7e in QObjectPrivate::deleteChildren (this=this@entry=0x562e824dee20) at kernel/qobject.cpp:2104
#69 0x00007f2ae27f8726 in QWidget::~QWidget (this=0x562e824de040, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#70 0x0000562e811e2c77 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qrefcount.h:65
#71 0x0000562e811e2d19 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.20.80git.20201029T120115~8b0caf4e-ku.80.1.x86_64/app/SettingsBase.cpp:88
#72 0x00007f2ae1b9ce4f in QObject::event (this=0x562e824de040, e=0x562e85c60f60) at kernel/qobject.cpp:1301
#73 0x00007f2ae33320e9 in KXmlGuiWindow::event (this=0x562e824de040, ev=0x562e85c60f60) at /usr/src/debug/kxmlgui-5.75.0git.20201023T083824~66a9b22-ku.5.1.x86_64/src/kxmlguiwindow.cpp:109
#74 0x00007f2ae27bd14f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x562e824de040, e=0x562e85c60f60) at kernel/qapplication.cpp:3630
#75 0x00007f2ae1b7105a in QCoreApplication::notifyInternal2 (receiver=0x562e824de040, event=0x562e85c60f60) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#76 0x00007f2ae1b73a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x562e8248b770) at kernel/qcoreapplication.cpp:1817
#77 0x00007f2ae1bc8f23 in postEventSourceDispatch (s=0x562e824c3ae0) at kernel/qeventdispatcher_glib.cpp:277
#78 0x00007f2adf7acca7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#79 0x00007f2adf7ad028 in ?? () from /usr/lib64/libglib-2.0.so.0
#80 0x00007f2adf7ad0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#81 0x00007f2ae1bc85af in QEventDispatcherGlib::processEvents (this=0x562e824c37d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#82 0x00007f2ae1b6fa1b in QEventLoop::exec (this=this@entry=0x7ffe47c3fab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#83 0x00007f2ae1b77c90 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#84 0x0000562e811d743a in main (argc=<optimized out>, argv=0x7ffe47c3fbd0) at /usr/src/debug/systemsettings5-5.20.80git.20201029T120115~8b0caf4e-ku.80.1.x86_64/app/main.cpp:209
[Inferior 1 (process 1475) detached]

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

Possible duplicates by query: bug 427444, bug 423220, bug 421261, bug 421107, bug 419406.

Reported using DrKonqi
Comment 1 David Redondo 2020-10-30 11:13:07 UTC
It seems to be triggered by this callLater (https://invent.kde.org/frameworks/kirigami/-/blob/master/src/controls/FormLayout.qml#L87)  and the deleted object being "Qt" judging from its name. Exchangint that line with the previous line fixes the crash weirdly for me. Additionally I can also trigger it with "console.log("foo") instead of the callLater
Comment 2 David Redondo 2020-10-30 11:17:56 UTC
Created attachment 132886 [details]
valgrind output
Comment 3 undying.k 2020-11-15 19:36:26 UTC
Created attachment 133369 [details]
New crash information added by DrKonqi

systemsettings5 (5.20.2) using Qt 5.15.1

- What I was doing when the application crashed:

I was clearing Background image in the locking settings of Breeze sddm

-- Backtrace (Reduced):
#4  0x00007fdff24154da in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, QQmlPropertyData**) () at /usr/lib64/libQt5Qml.so.5
#5  0x00007fdff23f4fea in QV4::QQmlContextWrapper::getPropertyAndBase(QV4::QQmlContextWrapper const*, QV4::PropertyKey, QV4::Value const*, bool*, QV4::Value*, QV4::Lookup*) () at /usr/lib64/libQt5Qml.so.5
#6  0x00007fdff23f58b3 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value*) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fdff2432040 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fdff2436f67 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () at /usr/lib64/libQt5Qml.so.5
Comment 4 Arthur Bols 2020-11-18 23:04:53 UTC
Created attachment 133445 [details]
New crash information added by DrKonqi

systemsettings5 (5.20.2) using Qt 5.15.1

- What I was doing when the application crashed:

After opening "Screen Locking" Appearance, closing or switching to anything else than "Screen Locking" crashes systemsettings

Full disclosure, I'm using the zawertun/kde copr repo. https://copr.fedorainfracloud.org/coprs/zawertun/kde/

-- Backtrace (Reduced):
#4  0x00007f39adf67fba in QQmlData::wasDeleted (object=0x55c8ea8e6990) at ../../include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:338
#5  QV4::QObjectWrapper::getQmlProperty (engine=0x55c8ea251a50, qmlContext=0x55c8e83cf000, object=0x55c8ea8e6990, name=0x7f396dfb05e8, revisionMode=QV4::QObjectWrapper::CheckRevision, hasProperty=0x7ffe84b45e58, property=0x7ffe84b45e60) at jsruntime/qv4qobjectwrapper.cpp:360
#6  0x00007f39adf4bde1 in QV4::QQmlContextWrapper::getPropertyAndBase (resource=<optimized out>, id=..., receiver=<optimized out>, hasProperty=0x7ffe84b45f07, base=0x0, lookup=0x0) at jsruntime/qv4qmlcontext.cpp:316
#7  0x00007f39adf4d703 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter (l=0x55c8eaaa3e00, engine=0x55c8ea251a50, base=0x0) at jsruntime/qv4qmlcontext.cpp:481
#8  0x00007f39adf81348 in QV4::Moth::VME::interpret (frame=0x7ffe84b46220, engine=0x55c8ea251a50, code=0x7f397499ca0b "\030\n(N\030\r\247a\001") at jsruntime/qv4vme_moth.cpp:585
Comment 5 Nate Graham 2020-11-20 19:50:53 UTC

*** This bug has been marked as a duplicate of bug 426047 ***
Comment 6 David Redondo 2021-01-12 08:39:23 UTC
426047 has a different backtrace, probably not a duplicate of this
Comment 7 Nate Graham 2021-01-12 16:34:39 UTC
Ah right, this is the QQmlData::wasDeleted() thing.

*** This bug has been marked as a duplicate of bug 427444 ***
Comment 8 Nate Graham 2021-01-12 16:35:52 UTC

*** This bug has been marked as a duplicate of bug 411795 ***
Comment 9 Nate Graham 2021-01-14 04:35:31 UTC
Same situation as in Bug 431419, but a different backtrace. Weird.

This bug says it crashes while closing the app, while Bug 431419 says it crashes while navigating to a different KCM.

Re-opening and un-duping.
Comment 10 Nate Graham 2021-01-14 04:35:43 UTC
*** Bug 429786 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2021-01-14 04:36:12 UTC
*** Bug 429983 has been marked as a duplicate of this bug. ***
Comment 12 Bug Janitor Service 2021-01-14 14:29:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/210
Comment 13 Nate Graham 2021-01-22 14:53:00 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 431419

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

https://invent.kde.org/frameworks/kirigami/commit/b4a6c562cde4e064494e261bc3f64000cbf628a5
Comment 14 Khristopher Allen 2021-01-23 22:13:21 UTC
Created attachment 135116 [details]
New crash information added by DrKonqi

systemsettings5 (5.20.5) using Qt 5.15.2

- What I was doing when the application crashed:

Changed my lockscreen image at first. The second and third times that I did this to repeat the crash, I only viewed the pane of options for selecting a wallpaper and it crashes every time. 

- Custom settings of the application:

I have the global theme "Nordic" applied, which takes over SDDM successfully, and some elements of kscreenlocker, but not entirely. Other than the custom wallpaper change, no other custom settings are applied to the lockscreen from default Fedora KDE install.

-- Backtrace (Reduced):
#4  0x00007f882a1f7a0e in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, QQmlPropertyData**) () from /lib64/libQt5Qml.so.5
#5  0x00007f882a1db491 in QV4::QQmlContextWrapper::getPropertyAndBase(QV4::QQmlContextWrapper const*, QV4::PropertyKey, QV4::Value const*, bool*, QV4::Value*, QV4::Lookup*) () from /lib64/libQt5Qml.so.5
#6  0x00007f882a1dce63 in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value*) () from /lib64/libQt5Qml.so.5
#7  0x00007f882a211310 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#9  0x00007f882a1b67bd in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5