https://bugs.kde.org/show_bug.cgi?id=450778

            Bug ID: 450778
           Summary: crash when closing all documents on macOS and Windows
           Product: kate
           Version: 21.12.2
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: nilsd...@nilsding.org
  Target Milestone: ---

Created attachment 147088
  --> https://bugs.kde.org/attachment.cgi?id=147088&action=edit
backtrace from lldb on macOS

SUMMARY
Whenever Kate needs to close all documents and there is more than one document
currently open, it crashes on at least macOS and Windows (it works fine on
Linux).
I noticed this while trying to switch to a different session.

STEPS TO REPRODUCE
1. Open Kate
2. create some blank documents via Cmd+N (macOS) or Ctrl+N (Windows)
3. from the "File" menu select "Close All", confirm the dialog with clicking on
"Continue".

OBSERVED RESULT
On macOS and Windows: Kate crashes
On Linux: no crash, all previously open documents are closed, and a single new
document is open.

EXPECTED RESULT
Same as on Linux: no crash, all previously open documents are closed, and a
single new document is open.

SOFTWARE/OS VERSIONS
Windows: Windows 11 21H2 (OS Build 22000.527)
macOS: macOS 12.2.1 (21D62)
Linux/KDE Plasma: n/a
(available in About System)
KDE Plasma Version: n/a
KDE Frameworks Version: 5.92.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
The Windows build used is the one from the Microsoft store (21.12.2).
The macOS build used for generating the backtrace was compiled from source
(latest master), but I could reproduce this crash with a 21.12.2 release build
from the binary factory too.
The Linux build I used for testing this was compiled from source (latest
master) too.

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

Reply via email to