Application: kate (23.08.4) Qt Version: 5.15.12 Frameworks Version: 5.114.0 Operating System: Linux 6.5.0-21-generic x86_64 Windowing System: X11 Distribution: KDE neon 5.27 DrKonqi: 5.27.10 [CoredumpBackend] -- Information about the crash: The following steps result in the crash every single time: 1. Open any file in Kate, can be a brand new file 2. Inside Kate open the "Save As" file explorer window 3. In the window right click any text file and select "Open with Kate" 4. Kate Crashes The crash can be reproduced every time. -- Backtrace (Reduced): #6 __pthread_kill_implementation (no_tid=0, signo=6, threadid=139829445474752) at ./nptl/pthread_kill.c:44 #7 __pthread_kill_internal (signo=6, threadid=139829445474752) at ./nptl/pthread_kill.c:78 #8 __GI___pthread_kill (threadid=139829445474752, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #9 0x00007f2c98c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #10 0x00007f2c98c287f3 in __GI_abort () at ./stdlib/abort.c:79 Reported using DrKonqi
Created attachment 167752 [details] New crash information added by DrKonqi DrKonqi auto-attaching complete backtrace.
Confirmed. can reproduce on latest master
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/676
Git commit 22ec108363ae5beea67163e63cd923c47376d004 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 27/03/2024 at 09:33. Pushed by cullmann into branch 'master'. Dont use activeView as save dialog parent Active view can get deleted during dialog exec. It is also just a bad idea to use the activeView imo. The new logic tries to use the QApplication::activeWindow() first, then tries the KTextEditor::MainWindow::window() and as a last fallback uses the activeView. M +5 -3 src/document/katedocument.cpp https://invent.kde.org/frameworks/ktexteditor/-/commit/22ec108363ae5beea67163e63cd923c47376d004