Public bug reported:
I keep getting crashes from maliit-keyboard whenever I hit Meta+Tab to
switch windows. It happens every single time, 100% reproducible. Still
happening as of right now.
System info:
Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 7.0.0-27-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7430U with Radeon Graphics
Memory: 32 GiB of RAM (30.7 GiB usable)
Graphics Processor: AMD Radeon Graphics
The crash is a bad allocation (qBadAlloc) and looking at the stack trace
it dies in the Wayland surrounding_text handler. Here's the relevant
part of the backtrace:
qBadAlloc()
QString::fromUtf8_helper()
Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_surrounding_text()
wl_display_dispatch_queue_pending()
So KWin sends a surrounding_text event when Meta+Tab opens the task
switcher, and maliit tries to make a QString out of it but something
goes wrong, either the pointer is bad, the length is garbage, or the
UTF-8 is malformed. Either way it should handle this gracefully instead
of aborting.
I don't even use an on screen keyboard, I have a physical keyboard. But
maliit-keyboard is running anyway and crashing constantly.
This got really bad when my disk was almost full (98%). Every crash made
a core dump, the coredumps got corrupted, then the journal got
corrupted, and eventually my whole session fell apart: fonts turned to
boxes, the power button showed an error icon, plasmashell crashed,
flatpak apps wouldn't start. Had to hard reboot.
Core dump attached:
core.maliit-keyboard.1001.8e9798c57ed94725abd706b1e48cc57d.16378.1784013754000000.zst
Also I tried to stop it with systemctl but there's no service unit for
it. It just runs as a regular process from my session somehow.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: maliit-keyboard 2.3.1-6build1
ProcVersionSignature: Ubuntu 7.0.0-27.27-generic 7.0.6
Uname: Linux 7.0.0-27-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Tue Jul 14 00:29:40 2026
InstallationDate: Installed on 2026-02-15 (149 days ago)
InstallationMedia: Kubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
SourcePackage: maliit-keyboard
UpgradeStatus: Upgraded to resolute on 2026-05-14 (60 days ago)
** Affects: maliit-keyboard (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
** Attachment added: "has the files
core.maliit-keyboard.1001.8e9798c57ed94725abd706b1e48cc57d.16378.1784013754000000.zst
journal-maliit-crash.txt kwinrc-virtual-keyboard.txt
maliit-crash-2290.txt maliit-crash-latest.txt"
https://bugs.launchpad.net/bugs/2160595/+attachment/5981739/+files/Crash%20files%20ig.zip
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160595
Title:
maliit-keyboard crashes with qBadAlloc on Meta+Tab in Plasma Wayland
session
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maliit-keyboard/+bug/2160595/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs