[kate] [Bug 450873] Kate crashes when closing many tabs, under a limited number of tabs setting on

2022-02-26 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=450873

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/commit/6b8c0c33a
   ||bc5f8574065dbec7f669160f010
   ||0d58
 Status|REPORTED|RESOLVED

--- Comment #2 from Christoph Cullmann  ---
Git commit 6b8c0c33abc5f8574065dbec7f669160f0100d58 by Christoph Cullmann, on
behalf of Francisco Boni.
Committed on 26/02/2022 at 13:42.
Pushed by cullmann into branch 'master'.

Fix crash when closing multiple tabs if limited number of tabs is enabled

Purge LRU storage must work regardless of CMAKE_BUILD_TYPE. Otherwise
KateTabBar::removeDocument will iterate over (m_docToLruCounterAndHasTab)
documents (*doc) that
have been previously destroyed, resulting in segfault. Fixes Bug 450873
(https://bugs.kde.org/show_bug.cgi?id=450873).

M  +3-2kate/katetabbar.cpp

https://invent.kde.org/utilities/kate/commit/6b8c0c33abc5f8574065dbec7f669160f0100d58

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

[kate] [Bug 450873] Kate crashes when closing many tabs, under a limited number of tabs setting on

2022-02-26 Thread Francisco Boni
https://bugs.kde.org/show_bug.cgi?id=450873

--- Comment #1 from Francisco Boni  ---
Tentative bug fix and merge request here:
https://invent.kde.org/utilities/kate/-/merge_requests/643

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