Bug 447676

Summary: System settings crashes when I install a new theme
Product: [Applications] systemsettings Reporter: richiezhang
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 5.23.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description richiezhang 2021-12-30 02:10:40 UTC
Application: systemsettings5 (5.23.4)

Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: Linux 5.15.8-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Installed two or more themes back to back (opened the dialog for installing a new global theme, clicked install on more than one theme)

- Unusual behavior I noticed:
I would get a password prompt for extracting an archive file. Shortly after entering it, the system settings program and all the windows it opened would crash.


- Custom settings of the application:
None. Brand new installation of OpenSUSE Tumbleweed with up to date software

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fab83011739 in QDir::fromNativeSeparators(QString const&) () at io/qdir.cpp:930
#7  0x00007fab830252c5 in QFileInfoPrivate::QFileInfoPrivate (file=..., this=0x55d6fc276e80) at /usr/include/c++/11/bits/atomic_base.h:338
#8  QFileInfo::QFileInfo (this=this@entry=0x7fff8cadee70, file=...) at io/qfileinfo.cpp:347
#9  0x00007fab0e3b31d4 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/plasma5-workspace-5.23.4-1.1.x86_64/kcms/lookandfeel/kcm.cpp:117
#10 KCMLookandFeel::knsEntryChanged (wrapper=<optimized out>, this=0x55d6f80b1870) at /usr/src/debug/plasma5-workspace-5.23.4-1.1.x86_64/kcms/lookandfeel/kcm.cpp:126
#11 KCMLookandFeel::knsEntryChanged (wrapper=<optimized out>, this=0x55d6f80b1870) at /usr/src/debug/plasma5-workspace-5.23.4-1.1.x86_64/kcms/lookandfeel/kcm.cpp:110
#12 KCMLookandFeel::qt_static_metacall (_o=0x55d6f80b1870, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma5-workspace-5.23.4-1.1.x86_64/build/kcms/lookandfeel/kcm_lookandfeel_static_autogen/EWIEGA46WW/moc_kcm.cpp:128
#13 0x00007fab0e3b33ab in KCMLookandFeel::qt_metacall (this=0x55d6f80b1870, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff8cadf060) at /usr/src/debug/plasma5-workspace-5.23.4-1.1.x86_64/build/kcms/lookandfeel/kcm_lookandfeel_static_autogen/EWIEGA46WW/moc_kcm.cpp:214
#14 0x00007fab81f3eead in QQmlObjectOrGadget::metacall (this=this@entry=0x7fff8cadf2f0, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=44, argv=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/qml/qqmlobjectorgadget.cpp:51
#15 0x00007fab81e1e000 in CallMethod (callType=<optimized out>, callArgs=0xffffffff, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=...) at /usr/include/qt5/QtCore/qvarlengtharray.h:190
#16 CallPrecise (object=..., data=..., engine=engine@entry=0x55d6f800df40, callArgs=callArgs@entry=0x7fab0d6315b8, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:1569
#17 0x00007fab81e1fdeb in CallOverloaded (callType=<optimized out>, propertyCache=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, data=..., object=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:1645
#18 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:2133
#19 0x00007fab81e3ca53 in QV4::FunctionObject::call (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/jsruntime/qv4functionobject_p.h:202
#20 QV4::Moth::VME::interpret (frame=0x7fff8cadf5b0, engine=0x55d6f800df40, code=0x7fab0d631568 "@\333\a\r\253\177") at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:754
#21 0x00007fab81e3f6e7 in QV4::Moth::VME::exec (frame=frame@entry=0x7fff8cadf5b0, engine=engine@entry=0x55d6f800df40) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:463
#22 0x00007fab81dd2b4e in QV4::Function::call (this=this@entry=0x55d6f800b590, thisObject=<optimized out>, argv=argv@entry=0x7fab0d631510, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/jsruntime/qv4function.cpp:69
#23 0x00007fab81f59855 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55d6fa1cd0f0, callData=callData@entry=0x7fab0d6314e0, isUndefined=isUndefined@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/qml/qqmljavascriptexpression.cpp:212
#24 0x00007fab81f0b5ab in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#25 0x00007fab81f0c798 in QQmlBoundSignal_callback (e=0x55d6fa1cd180, a=0x7fff8cae1210) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#26 0x00007fab81f3e955 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x7fff8cae1210) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde36-1.3.x86_64/src/qml/qml/qqmlnotifier.cpp:104
#27 0x00007fab83131ef8 in doActivate<false> (sender=0x55d6fbfc4bf0, signal_index=18, argv=0x7fff8cae1210) at kernel/qobject.cpp:3778
#28 0x00007fab8312b85f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fab0ce62ac0 <Engine::staticMetaObject>, local_signal_index=local_signal_index@entry=15, argv=argv@entry=0x7fff8cae1210) at kernel/qobject.cpp:3946
#29 0x00007fab0ce4f75c in Engine::entryEvent (_t2=Engine::StatusChangedEvent, _t1=0x7fab780093c0, this=<optimized out>) at /usr/src/debug/knewstuff-5.89.0-1.1.x86_64/build/src/qtquick/newstuffqmlplugin_autogen/EWIEGA46WW/moc_quickengine.cpp:600
#30 operator() (event=KNSCore::EntryInternal::StatusChangedEvent, entry=..., __closure=0x55d6fc06b200) at /usr/src/debug/knewstuff-5.89.0-1.1.x86_64/src/qtquick/quickengine.cpp:144
#31 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent>, void, Engine::setConfigFile(const QString&)::<lambda(const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#32 QtPrivate::Functor<Engine::setConfigFile(const QString&)::<lambda(const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent)>, 2>::call<QtPrivate::List<KNSCore::EntryInternal const&, KNSCore::EntryInternal::EntryEvent>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#33 QtPrivate::QFunctorSlotObject<Engine::setConfigFile(const QString&)::<lambda(const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent)>, 2, QtPrivate::List<const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent>, void>::impl (which=<optimized out>, r=<optimized out>, ret=<optimized out>, a=<optimized out>, this_=0x55d6fc06b1f0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#34 QtPrivate::QFunctorSlotObject<Engine::setConfigFile(const QString&)::<lambda(const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent)>, 2, QtPrivate::List<const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55d6fc06b1f0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:436
#35 0x00007fab83132393 in QtPrivate::QSlotObjectBase::call (a=0x7fff8cae1350, r=0x55d6fbfc4bf0, this=0x55d6fc06b1f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#36 doActivate<false> (sender=0x55d6fc06a470, signal_index=27, argv=0x7fff8cae1350) at kernel/qobject.cpp:3886
#37 0x00007fab8312b85f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fab0e3a1220 <KNSCore::Engine::staticMetaObject>, local_signal_index=local_signal_index@entry=24, argv=argv@entry=0x7fff8cae1350) at kernel/qobject.cpp:3946
#38 0x00007fab0e33e3e6 in KNSCore::Engine::signalEntryEvent (this=<optimized out>, _t1=..., _t2=<optimized out>) at /usr/src/debug/knewstuff-5.89.0-1.1.x86_64/build/src/core/KF5NewStuffCore_autogen/EWIEGA46WW/moc_engine.cpp:794
#39 0x00007fab83132393 in QtPrivate::QSlotObjectBase::call (a=0x7fff8cae1450, r=0x55d6fc06a470, this=0x55d6fc07cd70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#40 doActivate<false> (sender=0x55d6fc06a570, signal_index=3, argv=0x7fff8cae1450) at kernel/qobject.cpp:3886
#41 0x00007fab8312b85f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fab0e3a1160 <KNSCore::Installation::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff8cae1450) at kernel/qobject.cpp:3946
#42 0x00007fab0e33e502 in KNSCore::Installation::signalEntryChanged (this=<optimized out>, _t1=...) at /usr/src/debug/knewstuff-5.89.0-1.1.x86_64/build/src/core/KF5NewStuffCore_autogen/EWIEGA46WW/moc_installation.cpp:269
#43 0x00007fab0e361f71 in operator() (__closure=0x55d6f86d3da0, job=<optimized out>) at /usr/src/debug/knewstuff-5.89.0-1.1.x86_64/src/core/installation.cpp:479
#44 0x00007fab83132393 in QtPrivate::QSlotObjectBase::call (a=0x7fff8cae1620, r=0x55d6fc06a570, this=0x55d6f86d3d90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#45 doActivate<false> (sender=0x55d6f86d3bf0, signal_index=6, argv=0x7fff8cae1620) at kernel/qobject.cpp:3886
#46 0x00007fab8312b85f in QMetaObject::activate (sender=sender@entry=0x55d6f86d3bf0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff8cae1620) at kernel/qobject.cpp:3946
#47 0x00007fab8342cffc in KJob::result (this=this@entry=0x55d6f86d3bf0, _t1=<optimized out>, _t1@entry=0x55d6f86d3bf0, _t2=...) at /usr/src/debug/kcoreaddons-5.89.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#48 0x00007fab8343139b in KJob::finishJob (this=0x55d6f86d3bf0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.89.0-1.1.x86_64/src/lib/jobs/kjob.cpp:98
#49 0x00007fab8312833e in QObject::event (this=0x55d6f86d3bf0, e=0x7faaa80098d0) at kernel/qobject.cpp:1314
#50 0x00007fab83dada7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d6f86d3bf0, e=0x7faaa80098d0) at kernel/qapplication.cpp:3632
#51 0x00007fab830fbd2a in QCoreApplication::notifyInternal2 (receiver=0x55d6f86d3bf0, event=0x7faaa80098d0) at kernel/qcoreapplication.cpp:1064
#52 0x00007fab830fed77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55d6f7af0480) at kernel/qcoreapplication.cpp:1821
#53 0x00007fab83153b83 in postEventSourceDispatch (s=s@entry=0x55d6f7c11640) at kernel/qeventdispatcher_glib.cpp:277
#54 0x00007fab80c4ed9f in g_main_dispatch (context=0x7fab78005000) at ../glib/gmain.c:3381
#55 g_main_context_dispatch (context=0x7fab78005000) at ../glib/gmain.c:4099
#56 0x00007fab80c4f128 in g_main_context_iterate (context=context@entry=0x7fab78005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#57 0x00007fab80c4f1df in g_main_context_iteration (context=0x7fab78005000, may_block=1) at ../glib/gmain.c:4240
#58 0x00007fab83153204 in QEventDispatcherGlib::processEvents (this=0x55d6f7c14f10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007fab830fa72b in QEventLoop::exec (this=this@entry=0x7fff8cae1a30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#60 0x00007fab83102a10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#61 0x00007fab8364f19c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#62 0x00007fab83dad9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#63 0x000055d6f6ec810b in main (argc=<optimized out>, argv=0x7fff8cae1b50) at /usr/src/debug/systemsettings5-5.23.4-1.1.x86_64/app/main.cpp:208
[Inferior 1 (process 3781) detached]

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

Possible duplicates by query: bug 447414, bug 447239, bug 446942, bug 446861, bug 446812.

Reported using DrKonqi
Comment 1 Nicolas Fella 2021-12-30 12:23:54 UTC

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