Bug 475630 - crashes and misbehaves when compose key sequence is begun then canceled
Summary: crashes and misbehaves when compose key sequence is begun then canceled
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-14 22:09 UTC by Daniel Santos
Modified: 2023-12-18 19:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2023-10-14 22:09:39 UTC
Application: kate (22.12.3)

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

-- Information about the crash:
if I accidentally hit the compose key and then undo, I find that my undo history becomes corrupted. This particular time, it actually crashed after accidentally hitting it.· I'm on bookworm, so this is the most recent stable Debian. I have not noticed this flaw in "Bullseye"

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f0815d54d27 in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#5  0x00007f0815d531ea in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#6  0x00007f0815d57e02 in KateUndoManager::undo() () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#7  0x00007f08166e8f7c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f081755c782 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f081755f3ab in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f081755ff7d in QAction::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f0817562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f08166b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f0816d6c76b in QShortcutMap::dispatchEvent(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x00007f0816d6d0bb in QShortcutMap::tryShortcut(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x00007f0816d15376 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007f0816d390cd in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007f0810de9063 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
#18 0x00007f08166e8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f0817c9103f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#20 0x00007f08166dd6f0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f0817562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f08166b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f08166b4681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f081670a153 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f081451e7a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f081451ea38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f081451eacc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f0816709836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f08166b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f08166b82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000055ca2108ee33 in ?? ()
#32 0x00007f08162461ca in __libc_start_call_main (main=main@entry=0x55ca2108dfa0, argc=argc@entry=3, argv=argv@entry=0x7ffec8294798) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007f0816246285 in __libc_start_main_impl (main=0x55ca2108dfa0, argc=3, argv=0x7ffec8294798, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffec8294788) at ../csu/libc-start.c:360
#34 0x000055ca21090a91 in ?? ()
[Inferior 1 (process 4444) detached]

Reported using DrKonqi
Comment 1 Waqar Ahmed 2023-11-20 10:17:20 UTC
cannot reproduce on master.
Comment 2 Christoph Cullmann 2023-12-18 19:17:37 UTC
Please retry with a more up-to-date version, thanks.