[kdevelop] [Bug 425985] Crash in ~DebugSession() when exiting KDevelop during or shortly after debugging a program

2020-10-06 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=425985

Igor Kushnir  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
   Assignee|kdevelop-bugs-n...@kde.org  |igor...@gmail.com
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 425985] Crash in ~DebugSession() when exiting KDevelop during or shortly after debugging a program

2020-10-16 Thread Igor Kushnir
https://bugs.kde.org/show_bug.cgi?id=425985

Igor Kushnir  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/kdev
   ||elop/kdevelop/commit/89ffdd
   ||c703cead3400122496d286f060b
   ||7dcce43
 Resolution|--- |FIXED
   Version Fixed In||5.6.1

--- Comment #1 from Igor Kushnir  ---
Git commit 89ffddc703cead3400122496d286f060b7dcce43 by Igor Kushnir.
Committed on 15/10/2020 at 15:26.
Pushed by igorkushnir into branch '5.6'.

MIDebugSession::m_plugin: raw pointer => QPointer

When a user exits KDevelop during or shortly after debugging a program,
a DebugSession object may outlive MIDebuggerPlugin. This can cause a
crash in ~DebugSession(). Both GDB::DebugSession and LLDB::DebugSession
already support nullptr m_plugin for testing purposes, so this QPointer
type change alone eliminates the crash.
FIXED-IN: 5.6.1

M  +1-0plugins/debuggercommon/midebugsession.cpp
M  +2-1plugins/debuggercommon/midebugsession.h

https://invent.kde.org/kdevelop/kdevelop/commit/89ffddc703cead3400122496d286f060b7dcce43

-- 
You are receiving this mail because:
You are watching all bug changes.