Summary: | KMail crashes after closing e-mail window | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Leszek Lesner <leszek.lesner> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | montel, nate, sitter |
Priority: | VHI | Keywords: | regression |
Version: | Git (master) | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kxmlgui/commit/f431b93e11640b1ef6bf53cf04c8c7a5a4b5e091 | Version Fixed In: | 5.75 |
Sentry Crash Report: | |||
Attachments: | Debug output kmail |
Description
Leszek Lesner
2020-10-02 06:00:45 UTC
https://invent.kde.org/frameworks/kxmlgui/-/commit/ab43b986f3de20ff15b6438e56bfe29428bee3b1 it's a bug from kxmlgui Okay, I think I know how to fix this. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/27 *** Bug 427242 has been marked as a duplicate of this bug. *** Git commit f431b93e11640b1ef6bf53cf04c8c7a5a4b5e091 by Nate Graham. Committed on 02/10/2020 at 13:31. Pushed by ngraham into branch 'master'. [kmainwindow] Don't delete entries from an invalid kconfiggroup If for some reason the config group we're trying to delete entries from doesn't exist, the app will assert in KConfigGroup::deleteEntry in `Q_ASSERT_X(isValid(), "KConfigGroup::deleteEntry", "accessing an invalid group");` So let's guard against that by only deleting the entry from the config group if the group itself is valid. Maybe it's not, for some reason. FIXED-IN: 5.75 M +3 -1 src/kmainwindow.cpp https://invent.kde.org/frameworks/kxmlgui/commit/f431b93e11640b1ef6bf53cf04c8c7a5a4b5e091 |