Bug 504893 - Kate crashed on tab close with middle mouse button
Summary: Kate crashed on tab close with middle mouse button
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.3
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-05-27 22:07 UTC by djm
Modified: 2025-05-27 22:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description djm 2025-05-27 22:07:36 UTC
Application: kate (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-37-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
I needed to quickly diff two files and thought I'd try Kate for once since it's installed;
I opened Kate, pressed CTRL + N twice to get two documents, and pressed CTRL + SHIFT + L to split the view.
I then went to close the second document in the left split and pressed Middle Mouse Down on it, which caused the crash.

After re-opening Kate and going through the exact same steps, it did NOT crash a second time...

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fc65c79a5c7 in QWidget::raise() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007fc65c9238d0 in QTabBarPrivate::setupMovableTab() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007fc65c923de7 in QTabBar::mouseMoveEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fc65c7a4db8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fc65c762fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fc65c76b552 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fc65b8b1738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fc65c76965e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fc65c7bdbd8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fc65c7c0f60 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fc65c762fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fc65b8b1738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fc65bf3d42d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007fc65bf11cec in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007fc6514fbeca in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007fc659662749 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fc6596629d8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fc659662a6c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fc65b909876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fc65b8b01bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fc65b8b8316 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x000055cd9e64de33 in ?? ()
#26 0x00007fc65b44624a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#27 0x00007fc65b446305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#28 0x000055cd9e64fa91 in ?? ()
[Inferior 1 (process 7777) detached]

The reporter indicates this bug may be a duplicate of or related to bug 468638.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2025-05-27 22:10:25 UTC
I am sorry for that crash, but the KF5 version will not get any further releases.

Please try to use the current KF6 based releases, they should not show this error.

(from the backtrace on first glance that even looks like some issue in Qt)