Bug 433677 - systemsettings5 crash in Kirigami::BasicThemeDeclarative::instance() all time after close the settings
Summary: systemsettings5 crash in Kirigami::BasicThemeDeclarative::instance() all time...
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.79.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-02-26 19:25 UTC by Fara
Modified: 2025-10-12 09:32 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fara 2021-02-26 19:25:53 UTC
Application: systemsettings5 (5.21.0)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.1-1.g4eacbc9-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.0
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
fresh kde install systemsettings5 crash all time after close the settings

The crash can be reproduced every time.

-- Backtrace:
Application: Параметры системы (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f8d39c4c6a8 in QObject::property(char const*) const () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8cf13ab14b in Kirigami::BasicThemeDeclarative::instance (this=this@entry=0x7f8cf13bb400 <Kirigami::(anonymous namespace)::Q_QGS_privateBasicThemeDeclarativeSelf::innerFunction()::holder>, theme=0x7ffee0d73000, theme@entry=0x559b32c9cd80) at /usr/src/debug/kirigami2-5.79.0-1.1.x86_64/src/libkirigami/basictheme.cpp:65
#6  0x00007f8cf13b265f in Kirigami::BasicTheme::syncCustomColorsToQML (this=0x559b32c9cd80) at /usr/src/debug/kirigami2-5.79.0-1.1.x86_64/src/libkirigami/basictheme.cpp:288
#7  0x00007f8d39c50946 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8cf13a7023 in operator() (__closure=0x559b328609e0) at /usr/src/debug/kirigami2-5.79.0-1.1.x86_64/src/libkirigami/platformtheme.cpp:202
#9  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Kirigami::PlatformThemePrivate::emitCompressedColorChanged()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#10 QtPrivate::Functor<Kirigami::PlatformThemePrivate::emitCompressedColorChanged()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#11 QtPrivate::QFunctorSlotObject<Kirigami::PlatformThemePrivate::emitCompressedColorChanged()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x559b328609d0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#12 0x00007f8d39c46351 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#13 0x00007f8d3a8bb4ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f8d39c1a32a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007f8d39c1cd61 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#16 0x00007f8d39c72233 in ?? () from /usr/lib64/libQt5Core.so.5
#17 0x00007f8d377fbf57 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f8d377fc2d8 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f8d377fc38f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f8d39c718bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f8d39c18ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#22 0x00007f8d39c20f60 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#23 0x0000559b311ed4da in main (argc=<optimized out>, argv=0x7ffee0d73700) at /usr/src/debug/systemsettings5-5.21.0-1.1.x86_64/app/main.cpp:222
[Inferior 1 (process 13394) detached]

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

Possible duplicates by query: bug 422963, bug 415191, bug 414876, bug 414731, bug 414592.

Reported using DrKonqi
Comment 1 Nate Graham 2021-02-27 02:14:28 UTC
Kirigami color theme stuff is unhappy:

#4  0x00007f8d39c4c6a8 in QObject::property(char const*) const () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8cf13ab14b in Kirigami::BasicThemeDeclarative::instance (this=this@entry=0x7f8cf13bb400 <Kirigami::(anonymous namespace)::Q_QGS_privateBasicThemeDeclarativeSelf::innerFunction()::holder>, theme=0x7ffee0d73000, theme@entry=0x559b32c9cd80) at /usr/src/debug/kirigami2-5.79.0-1.1.x86_64/src/libkirigami/basictheme.cpp:65
#6  0x00007f8cf13b265f in Kirigami::BasicTheme::syncCustomColorsToQML (this=0x559b32c9cd80) at /usr/src/debug/kirigami2-5.79.0-1.1.x86_64/src/libkirigami/basictheme.cpp:288
Comment 2 Marco Martin 2021-03-09 15:32:20 UTC
one thing kinda surprising is that it seems it's *not* using the org.kde.desktop QQC2 style (seeing it from the basictheme usage)
Comment 3 Jack Hill 2025-10-12 09:32:02 UTC
Closing because BasicTheme was reworked here: adf86b8e3dd2404c999ac70dea61e845b517a5da

Feel free to re-open with a new crash report if this still happens.