Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Kate Kate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • UtilitiesUtilities
  • KateKate
  • Merge requests
  • !643

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

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Francisco Boni Neto requested to merge insilications/kate:fix-crash-multiple-tabs into master Feb 26, 2022
  • Overview 4
  • Commits 1
  • Pipelines 11
  • Changes 1

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). BUG: 450873

Edited Feb 26, 2022 by Francisco Boni Neto
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-crash-multiple-tabs