Hello. Thanks for the explanation. So, a very strange situation arose. This program (sayar) has started to function normally. What have I done today? I installed systemd-coredump and gdb in hopes of getting more information for you. In addition, I used a window manager -herbstluftwm. I uninstalled it and compiled from source another windows manager-dwm. So, I did a test in this window manager using the terminal st and urxvt. Surprisingly, after five hours of use, this program start functioning normally. I will still use it for several days and if problems arise, I'll let you know. If there is a possibility, I would ask you do not close this bug report.
Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ A dumb species has no way to open a tuna can. ⢿⡄⠘⠷⠚⠋⠀ A smart species invents a can opener. ⠈⠳⣄⠀⠀⠀⠀ A master species delegates.