Created attachment 117057 [details] gdb-backtrace.txt SUMMARY Crash on startup after KF5 libs updated to version 5.52. STEPS TO REPRODUCE 1. Updated KF5 libraries to version 5.52. 2. Start systemsettings5 from Konsole or kde menu. OBSERVED RESULT systemsettings5 crashes. EXPECTED RESULT systemsettings5 works. SOFTWARE/OS VERSIONS Linux/KDE Plasma: CentOS 7.6 / Linux 4.19.8-1.el7.x86_64 KDE Plasma Version: 5.12.7 KDE Frameworks Version: 5.52 Qt Version: 5.9.2 ADDITIONAL INFORMATION Plasma build is in my Fedora COPR: https://copr.fedorainfracloud.org/coprs/leonmaxx/centos7-kde-plasma/ I backported this packages from Fedora 28 updates repository. It worked perfectly fine with KF5 libraries version 5.51.
Created attachment 117058 [details] qt-debug-log.txt Qt5 debug log.
Created attachment 117060 [details] gdb-backtrace-dbginfo.txt d->quickWidget->rootObject() is NULL.
Created attachment 117061 [details] qt-nocache-debug-log.txt Qt5 debug log with disabled QML cache.
Pasting relevant part inline: (gdb) bt #0 QObject::property (this=0x0, name=name@entry=0x7fffbffde4c0 "implicitWidth") at kernel/qobject.cpp:3928 #1 0x00007fffbffd8c33 in SidebarMode::initWidget (this=0xde14c0) at /usr/src/debug/systemsettings-5.12.7/sidebar/SidebarMode.cpp:478 #2 0x00007fffbffd95ad in SidebarMode::mainWidget (this=0xde14c0) at /usr/src/debug/systemsettings-5.12.7/sidebar/SidebarMode.cpp:288
I did some debugging: SidebarMode.cpp:476 d->quickWidget->setSource(QUrl::fromLocalFile(d->package.filePath("mainscript"))); package.filePath("mainscript") resolves properly to "/usr/share/kpackage/genericqml/org.kde.systemsettings.sidebar/contents/ui/main.qml" Seems like problem in d->quickWidget->setSource() call.
If I backport latest packages e.g. 5.14, will it work or it will crash too?
I rebuilt KF5 libraries version 5.51 with Epoch equal to 9 (to avoid further updates), and now it magically works without crashes.