Summary: | Kate crashed in Kate::TextBuffer::notifyAboutRangeChange() opening a file | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Christopher Yeleighton <giecrilj> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | christoph, dasmau89, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 20.12.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/commit/ff9ea7a83eb92f2e58a794d80404ba084a9e06ca | Version Fixed In: | 5.82.0 |
Sentry Crash Report: |
Description
Christopher Yeleighton
2021-02-18 16:17:49 UTC
Git commit ff9ea7a83eb92f2e58a794d80404ba084a9e06ca by Christoph Cullmann. Committed on 04/04/2021 at 10:31. Pushed by cullmann into branch 'master'. fix memory corruption on 'Close the file, discard..' if you remove some file from the file system that is open in a KTextEditor document, some message will show up if you click the 'Close the file, discarding its content.' button, we unfortunately delete "this" if the container application like Kate provides the necessary interface delay this, like e.g. the vim commands do (+ guard vim commands by passing context pointer to doc/view) M +6 -7 src/document/katedocument.cpp M +0 -6 src/document/katedocument.h M +2 -2 src/vimode/appcommands.cpp https://invent.kde.org/frameworks/ktexteditor/commit/ff9ea7a83eb92f2e58a794d80404ba084a9e06ca *** Bug 435432 has been marked as a duplicate of this bug. *** |