godot: Godot won't start: Input method doesn't support any styles

Godot version: 3.2.2

OS/device including version: Linux 5.7.0-2-amd64 #1 SMP Debian 5.7.10-1 (2020-07-26) x86_64 GNU/Linux, KDE Plasma 5.17

Issue description: When starting godot --verbose on my machine, I get the following output. Godot does not start.

mark@mrh:~/Applications$ ./Godot_v3.2.2-stable_x11.64 --verbose
Godot Engine v3.2.2.stable.official - https://godotengine.org
XInput: Refreshing devices.
XInput: No touch devices found.
Input method doesn't support any styles
free(): invalid pointer
Aborted

Steps to reproduce: Not sure how to reproduce, as it seems like a potential kernel issue?

Minimal reproduction project: See above

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 15 (7 by maintainers)

Most upvoted comments

It is a bug in libx11 1.6.10 you can fix it by downgrading to 1.6.9. (this fixed the issue for me)

I have the same problem to start godot. I run godot in archlinux.

Godot Engine v3.2.2.stable.custom_build - https://godotengine.org XInput: Refreshing devices. XInput: No touch devices found. Input method doesn’t support any styles free(): invalid pointer [1] 6404 abort (core dumped) godot -v

You should run godot with DRI_PRIME=0 command before, like I wrote in my first post

Can you compile Godot with address sanitizer support and try to run it? It should show stacktrace where exactly crashed.

scons p=x11 -j6 use_asan=yes
DRI_PRIME=0 bin/godot.x11.tools.64s