https://bugs.kde.org/show_bug.cgi?id=469160
--- Comment #2 from mooodyhun...@outlook.com <mooodyhun...@outlook.com> --- This looks strange to me as well, after digging into the problem, it seems to be: - We are using `QGuiApplication`, so that Qt's platform theme is loaded (in my case it's `/usr/lib/qt/plugins/platformthemes/KDEPlasmaPlatformTheme.so`) - `KDEPlasmaPlatformTheme` depends on `libKF5IconThemes.so.5` so that the latter is loaded - As can be seen in the backtrace, there is a QGlobalStatic instance, (this one: https://github.com/KDE/kiconthemes/blob/v5.105.0/src/kiconloader.cpp#L1656) It seems to be something with its destructor, a minimal reproducible is attached below ``` #include <KScreen/GetConfigOperation> #include <QGuiApplication> #include <iostream> int main(int argc, char **argv) { QGuiApplication app(argc, argv); KScreen::GetConfigOperation *op = new KScreen::GetConfigOperation(); QObject::connect(op, &KScreen::GetConfigOperation::finished, [&](KScreen::ConfigOperation *) { std::cout << "Leaving app" << std::endl; // "Leaving app qApp->exit(); }); return app.exec(); } ``` Compile with `g++ ./test.cpp -I /usr/include/KF5/KScreen/ -I /usr/include/qt/ -I /usr/include/qt/QtCore/ -I /usr/include/qt/QtGui/ -lQt5Core -lQt5Gui -lKF5Screen` and run several times. ** One thing to note that, it seems the problem doesn't occur (at all) on my friends' computers. ** Would be great if anyone can point out possible causes :) -- You are receiving this mail because: You are watching all bug changes.