| Summary: | Crash in BreakpointModel::save() when exiting KDevelop while debugging a program | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Igor Kushnir <igorkuo> |
| Component: | CPP Debugger | Assignee: | Igor Kushnir <igorkuo> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | christian_gruber, niko.sams |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/kdevelop/kdevelop/commit/c60e8303829be4f13fd4511eda3d4365572c74e6 | Version Fixed/Implemented In: | 5.6.1 |
| Sentry Crash Report: | |||
|
Description
Igor Kushnir
2020-08-30 14:05:56 UTC
Git commit c60e8303829be4f13fd4511eda3d4365572c74e6 by Igor Kushnir. Committed on 15/10/2020 at 15:26. Pushed by igorkushnir into branch '5.6'. Check ICore::activeSession() for nullptr in BreakpointModel::save() When a user exits KDevelop while debugging a program, a queued call to BreakpointModel::save() may be invoked during Core::cleanup() or perhaps even during ~CorePrivate(). If this happens between SessionController::cleanup() and ~DebugController() (which is the parent of BreakpointModel), the result is a crash. A breakpoint change that is saved at this time is likely unimportant and can be safely skipped. FIXED-IN: 5.6.1 M +8 -1 kdevplatform/debugger/breakpoint/breakpointmodel.cpp https://invent.kde.org/kdevelop/kdevelop/commit/c60e8303829be4f13fd4511eda3d4365572c74e6 *** Bug 446944 has been marked as a duplicate of this bug. *** |