<table><tr><td style="">ahmadsamir added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28765">View Revision</a></tr></table><br /><div><div><p>systemsettings uses KCModuleInfo::service() to check whether the moduleinfo is valid[1], the problem is creating a KPluginInfo from the KService based on a .desktop file with X-KDE-ServiceTypes=SystemSettingsExternalApp fails because it doesn't seem to have valid metadata. Since the KPluginInfo ctor fails, accessing d->pluginInfo.service() causes a crash, I've submitted a proposed fix at [2]. This doesn't fix the bug, but merely prevents the crash.</p>

<p>[1] <a href="https://invent.kde.org/plasma/systemsettings/-/blob/master/core/ModuleView.cpp#L229" class="remarkup-link" target="_blank" rel="noreferrer">https://invent.kde.org/plasma/systemsettings/-/blob/master/core/ModuleView.cpp#L229</a><br />
[2] <a href="https://invent.kde.org/frameworks/kcmutils/-/merge_requests/1" class="remarkup-link" target="_blank" rel="noreferrer">https://invent.kde.org/frameworks/kcmutils/-/merge_requests/1</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R295 KCMUtils</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28765">https://phabricator.kde.org/D28765</a></div></div><br /><div><strong>To: </strong>dfaure, pino, broulik, mart, davidedmundson, ngraham, svuorela<br /><strong>Cc: </strong>ahmadsamir, rikmills, wbauer, kossebau, svuorela, cblack, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>