Bug#1117187: SegFault: Unexpected multibyte character
Avinash Sonawane
rootkea at gmail.com
Sat Oct 4 13:07:14 BST 2025
Package: luanti
Version: 5.10.0+dfsg-5
Severity: important
X-Debbugs-Cc: rootkea at gmail.com
Dear Maintainer,
Getting SegFault at the start with an error message "Unexpected multibyte
character":
$ /usr/games/luanti
2025-10-04 17:30:17: [Main]: Automatically selecting world at
[/home/rootkea/.minetest/worlds/world1]
2025-10-04 17:30:17: ERROR[Main]: In thread 7f4e7f347180:
2025-10-04 17:30:17: ERROR[Main]: ./src/client/keycode.cpp:273:
KeyPress::KeyPress(const char*): A fatal error occurred: Unexpected multibyte
character
Aborted (core dumped)
$
Here's the backtrace:
2025-10-04 17:30:46: ERROR[Main]: In thread 7ffff5b1d180:
2025-10-04 17:30:46: ERROR[Main]: ./src/client/keycode.cpp:273:
KeyPress::KeyPress(const char*): A fatal error occurred: Unexpected multibyte
character
Thread 1 "luanti" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo at entry=6,
no_tid=no_tid at entry=0) at ./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo at entry=6, no_tid=no_tid at entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007ffff6e9e9ff in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at ./nptl/pthread_kill.c:89
#2 0x00007ffff6e49cc2 in __GI_raise (sig=sig at entry=6) at
../sysdeps/posix/raise.c:26
#3 0x00007ffff6e324ac in __GI_abort () at ./stdlib/abort.c:73
#4 0x0000555555abce46 in fatal_error_fn (msg=0x555555d91088 "Unexpected
multibyte character", file=<optimized out>, line=<optimized out>,
function=0x555555d91068 "KeyPress::KeyPress(const char*)") at
./src/debug.cpp:61
#5 0x000055555577b185 in KeyPress::KeyPress (this=<optimized out>,
name=<optimized out>, this=<optimized out>, name=<optimized out>)
at ./src/client/keycode.cpp:273
#6 0x000055555577b569 in getKeySetting
(settingname=settingname at entry=0x555555dbd2b7 "keymap_cmd") at
/usr/include/c++/14/bits/basic_string.h:227
#7 0x000055555577ba3c in KeyCache::populate (this=0x5555564e8f00) at
./src/client/inputhandler.cpp:37
#8 0x00005555556ecc99 in KeyCache::KeyCache (this=0x5555564e8f00) at
./src/client/inputhandler.h:36
#9 InputHandler::InputHandler (this=<optimized out>, this=<optimized out>) at
./src/client/inputhandler.h:225
#10 0x0000555555bcfcc5 in RealInputHandler::RealInputHandler
(this=0x5555564e8d10, receiver=0x555556037b50) at
./src/client/inputhandler.h:273
#11 ClientLauncher::init_input (this=0x7fffffffd540) at
./src/client/clientlauncher.cpp:302
#12 ClientLauncher::run(GameStartData&, Settings const&) [clone .constprop.0]
(this=0x7fffffffd540, start_data=..., cmd_args=...)
at ./src/client/clientlauncher.cpp:113
#13 0x00005555556b78ab in main (argc=<optimized out>, argv=<optimized out>) at
./src/main.cpp:264
(gdb)
Interesting thing I noticed is that I see this SegFault when I'm using KDE
Plasma but if I switch to GNOME then there's no SegFault.
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.48+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages luanti depends on:
ii libc6 2.41-12
ii libcurl4t64 8.14.1-2
ii libfreetype6 2.13.3+dfsg-1
ii libgcc-s1 14.2.0-19
ii libgl1 1.7.0-1+b2
ii libgmp10 2:6.3.0+dfsg-3
ii libjpeg62-turbo 1:2.1.5-4
ii libjsoncpp26 1.9.6-3
ii libleveldb1d 1.23-5+b2
ii libluajit-5.1-2 2.1.0+openresty20250117-2
ii libopenal1 1:1.24.2-1
ii libpng16-16t64 1.6.48-1
ii libpq5 17.6-0+deb13u1
ii libprometheus-cpp-core1.0 1.0.2-2+b3
ii libprometheus-cpp-pull1.0 1.0.2-2+b3
ii libspatialindex8 2.1.0-1
ii libsqlite3-0 3.46.1-7
ii libstdc++6 14.2.0-19
ii libvorbisfile3 1.3.7-3
ii libx11-6 2:1.8.12-1
ii libxi6 2:1.8.2-1
ii libzstd1 1.5.7+dfsg-1
ii luanti-data 5.10.0+dfsg-5
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
Versions of packages luanti recommends:
ii luanti-game-minetest 5.8.0.40.gc7be7c1-3
Versions of packages luanti suggests:
pn luanti-server <none>
pn minetest-mod-moreblocks <none>
pn minetest-mod-moreores <none>
pn minetest-mod-pipeworks <none>
pn minetestmapper <none>
-- no debconf information
More information about the Pkg-games-devel
mailing list