https://bugs.kde.org/show_bug.cgi?id=425994
Igor Kushnir <igor...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |5.6.1 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/kdev | |elop/kdevelop/commit/300ea0 | |143f4dcf5537cac824e823bee1c | |e6077fc --- Comment #2 from Igor Kushnir <igor...@gmail.com> --- Git commit 300ea0143f4dcf5537cac824e823bee1ce6077fc by Igor Kushnir. Committed on 15/10/2020 at 15:26. Pushed by igorkushnir into branch '5.6'. Do not open documents after DocumentController::cleanup() For now d->shuttingDown is checked in just one of many DocumentController::openDocument() overloads and alternatives, because this is the only overload that is known to be called after cleanup() and cause crashes. If similar crashes happen because of other ways of opening a document, the check can be moved or reused elsewhere. Or perhaps a different strategy will be needed to fix these hypothetical future crashes: e.g. simply returning nullptr doesn't work if the caller dereferences the returned document pointer without checking. FIXED-IN: 5.6.1 M +17 -0 kdevplatform/shell/documentcontroller.cpp https://invent.kde.org/kdevelop/kdevelop/commit/300ea0143f4dcf5537cac824e823bee1ce6077fc -- You are receiving this mail because: You are watching all bug changes.