| Summary: | SystemSettings crash on startup after KF5 libs updated to version 5.52. | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | leonmaxx <leonmaxx> |
| Component: | sidebarview | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | leonmaxx, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.12.7 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
gdb-backtrace.txt
qt-debug-log.txt gdb-backtrace-dbginfo.txt qt-nocache-debug-log.txt |
||
|
Description
leonmaxx
2018-12-22 12:28:34 UTC
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. |