Bug 441462 - kate crashes occasionally as soon as alt+tab is pressed
Summary: kate crashes occasionally as soon as alt+tab is pressed
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 21.08.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-08-24 06:09 UTC by jin
Modified: 2021-09-26 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jin 2021-08-24 06:09:02 UTC
Application: kate (21.08.0)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.10-arch1-1 x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
I don't know if it's related but I use Korean language on Kate.
Mostly, it crashes as soon as I change the (foreground) active program on my desktop.

At first, it happened several times when I just woke up from the OS hibernation so I didn't hibernate since then.
But Kate still crashes so, let's rule out hiberantion.

Also, Kate crashes for all the untitled documents, and by 'untitled' I mean no actual file related yet but on memory only. I haven't experienced the crash with unsaved one yet, in case it counts.

Most of the time, 8 out of 10, the crashes happen almost as soon as I press alt+tab button with untitled one. But a few crashed later under the hood while I was at another program, and I don't know when exactly.

What programs I used during the craash varies, but mostly, they are chrome, kdenlive, Dolphin, etc

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f50262a6318 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#5  0x00007f5020e11180 in QUimPlatformInputContext::commitString(QString const&) () from /usr/lib/qt/plugins/platforminputcontexts/libuimplatforminputcontextplugin.so
#6  0x00007f5020e11213 in QUimPlatformInputContext::commit_cb(void*, char const*) () from /usr/lib/qt/plugins/platforminputcontexts/libuimplatforminputcontextplugin.so
#7  0x00007f501b819150 in ?? () from /usr/lib/libuim.so.8
#8  0x00007f501b7ee216 in ?? () from /usr/lib/libuim-scm.so.0
#9  0x00007f501b7ee499 in ?? () from /usr/lib/libuim-scm.so.0
#10 0x00007f501b7ee5a1 in ?? () from /usr/lib/libuim-scm.so.0
#11 0x00007f501b7ee70b in ?? () from /usr/lib/libuim-scm.so.0
#12 0x00007f501b7edb53 in ?? () from /usr/lib/libuim-scm.so.0
#13 0x00007f501b7ee499 in ?? () from /usr/lib/libuim-scm.so.0
#14 0x00007f501b7ee5a1 in ?? () from /usr/lib/libuim-scm.so.0
#15 0x00007f501b7ee216 in ?? () from /usr/lib/libuim-scm.so.0
#16 0x00007f501b7ee499 in ?? () from /usr/lib/libuim-scm.so.0
#17 0x00007f501b7f6d7b in ?? () from /usr/lib/libuim-scm.so.0
#18 0x00007f501b7ee1fb in ?? () from /usr/lib/libuim-scm.so.0
#19 0x00007f501b7ee499 in ?? () from /usr/lib/libuim-scm.so.0
#20 0x00007f501b7fd5a5 in ?? () from /usr/lib/libuim-scm.so.0
#21 0x00007f5020015261 in GCROOTS_call_with_gc_ready_stack () from /usr/lib/libgcroots.so.0
#22 0x00007f501b7fd678 in uim_scm_callf () from /usr/lib/libuim-scm.so.0
#23 0x00007f501b816d9f in uim_focus_out_context () from /usr/lib/libuim.so.8
#24 0x00007f5020e0f552 in QUimPlatformInputContext::unsetFocus() () from /usr/lib/qt/plugins/platforminputcontexts/libuimplatforminputcontextplugin.so
#25 0x00007f5026675699 in QGuiApplicationPrivate::_q_updateFocusObject(QObject*) () from /usr/lib/libQt5Gui.so.5
#26 0x00007f502667d32a in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#27 0x00007f50266567e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#28 0x00007f5020d17fcc in ?? () from /usr/lib/libQt5XcbQpa.so.5
#29 0x00007f502429b10c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007f50242eeb99 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007f5024298871 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007f50262fefd6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007f50262a4d1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#34 0x00007f50262ad284 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#35 0x000055c1f04633ca in ?? ()
#36 0x00007f5025c32b25 in __libc_start_main () from /usr/lib/libc.so.6
#37 0x000055c1f0464a4e in _start ()
[Inferior 1 (process 8984) detached]

Possible duplicates by query: bug 441290, bug 440853, bug 440840, bug 440777, bug 440387.

Reported using DrKonqi
Comment 1 Jan Paul Batrina 2021-08-27 13:00:56 UTC
Hello, thanks for the bug report!

Are you using any input method managers (e.g. anthy)? The crash comes from libuim which seems to be related to input methods.

Try checking if the crash only happens when e.g. the "input suggestion menu" (I don't know the actual name for the menu that shows up when e.g. selecting kanji in japanese input) is open, or if the crash does not happen with a clean (new) user profile.
Comment 2 Bug Janitor Service 2021-09-11 04:36:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-09-26 04:35:41 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!