irrlicht icon indicating copy to clipboard operation
irrlicht copied to clipboard

GUI freezes randomly when a string input field is active (Linux)

Open Hume2 opened this issue 3 years ago • 8 comments

When a string input field is active (that means, when I press keys, it writes something into it) (the chat does it also), the GUI sometimes freezes for a long time. The memory or CPU usage doesn't seem to exceed reasonable bounds, just the GUI doesn't react. When I send SIGTERM to Minetest, it closes quickly.

EDIT: When I press Ctrl, Shift or Alt, it unfreezes.

OS: Ubuntu 18.04 CPU: Intel® Core™ i3-6100U CPU @ 2.30GHz × 4 GPU: Intel® HD Graphics 520 (SKL GT2)

Hume2 avatar May 31 '21 19:05 Hume2

Please build IrrlichtMt with examples enabled and see if you can reproduce this in 05.UserInterface.

sfan5 avatar May 31 '21 19:05 sfan5

Yes, it happens there also.

Hume2 avatar May 31 '21 19:05 Hume2

It looks like the GUI unfreezes when I press Ctrl.

Hume2 avatar May 31 '21 20:05 Hume2

What's a good way to reproduce this issue now that the examples have been scrapped?

JosiahWI avatar Aug 30 '21 17:08 JosiahWI

You can add that particular one back locally, I'm sure it still compiles. Or alternatively test in MT of course.

sfan5 avatar Aug 30 '21 17:08 sfan5

Couldn't repro in Minetest or in 05.UserInterface example, but I did not try for very long. @Hume2 do you have any more specific instructions for how I can be sure I can or can't reproduce this issue?

JosiahWI avatar Aug 31 '21 20:08 JosiahWI

possibly related https://github.com/minetest/minetest/issues/13473

sfan5 avatar Apr 29 '23 10:04 sfan5

I think I can reproduce these too, now. Didn't happen before. Specifically with the chat console.

Minetest 5.9.0-dev-dfba22758 (Linux)
Using Irrlicht 1.9.0mt15
Using LuaJIT 2.1.1702233742
Built by GCC 13.2
Running on Linux/6.7.4-arch1-1 x86_64
BUILD_TYPE=RelWithDebInfo
RUN_IN_PLACE=1
USE_CURL=1
USE_GETTEXT=1
USE_SOUND=1
STATIC_SHAREDIR="."
STATIC_LOCALEDIR="locale"

with the SDL device

sfan5 avatar Feb 17 '24 21:02 sfan5