Summary: | KDE Connect crashes when opening module settings | ||
---|---|---|---|
Product: | [Applications] kdeconnect | Reporter: | Eric Kotato <radrussianrus> |
Component: | common | Assignee: | Albert Vaca Cintora <albertvaka> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | dimastahov, kde.podagric, nate, nicolas.fella, omerusta, zawertun |
Priority: | NOR | Keywords: | drkonqi |
Version: | 22.04.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | kdeconnect-kde-22.04.0-fix-crash-in-plugin-settings |
Description
Eric Kotato
2022-04-23 10:46:09 UTC
I am also seeing this on F36 Operating System: Fedora Linux 36 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 Kernel Version: 5.17.4-300.fc36.x86_64 (64-bit) Graphics Platform: X11 *** Bug 452906 has been marked as a duplicate of this bug. *** Created attachment 148321 [details] kdeconnect-kde-22.04.0-fix-crash-in-plugin-settings Looks like call to KService::serviceByDesktopName(componentName) returns nullptr and there is no check for nullptr before dereferencing it. See: https://invent.kde.org/network/kdeconnect-kde/-/blob/27da388c74e5eebca05251de471057486612f69b/kcmplugin/kdeconnectpluginkcm.cpp#L26 Also looks like this bug has been already fixed in master... Hello Yaroslav , thank you for spending time for the reporting are you sure this bug still exist even in release/22.04 because looks like even the related codes doesnt exist there https://invent.kde.org/network/kdeconnect-kde/-/blob/release/22.04/kcmplugin/kdeconnectpluginkcm.cpp Here is code from https://download.kde.org/stable/release-service/22.04.0/src/kdeconnect-kde-22.04.0.tar.xz: ``` d->m_pluginName = KService::serviceByDesktopName(componentName).constData()->property(QStringLiteral("X-KDE-ParentComponents")).toString(); ``` I think that the commit with fix missed release TAR. Maybe someone could make kdeconnect-kde-22.04.1.tar.xz with this commit included? I mean that commit is missing: https://invent.kde.org/network/kdeconnect-kde/-/commit/a0b9a2131c2fa30c041448f87fa927128785cea0. *** Bug 453456 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 453305 *** |