lucaschessR2 icon indicating copy to clipboard operation
lucaschessR2 copied to clipboard

Lucas Chess R freezes when adding ShashChess 39.1 engine (works fine in other GUIs)

Open kosklod opened this issue 1 month ago • 7 comments

After compiling ShashChess 39.1 on Debian 13 (using make -j build ARCH=x86-64-ssse3 COMP=clang), the engine works correctly in terminal and in other GUIs such as Scid vs PC and PyChess. However, when I try to install it as a new engine in Lucas Chess R, the GUI freezes immediately with the message:

lucaschessgui.pyc not responding

I waited several minutes but nothing happens. The same setup with ShashChess 39.0 works perfectly — only version 39.1 causes the freeze.

⚙️ Steps to reproduce:

Debian 13 (64-bit)

Lucas Chess R (latest version, clean install)

Add engine: /path/to/shashchess-39.1

Wait → GUI freezes

🧠 Additional info:

The engine runs perfectly standalone:

./shashchess-39.1 uci ... uciok

Other GUIs (Scid vs PC, PyChess) recognize the engine normally.

Possibly related to larger UCI output in version 39.1 compared to 39.0.

No crash logs appear unless Lucas is run from terminal (then the message "Not responding" shows).

✅ Workaround:

Using version ShashChess 39.0 instead of 39.1 allows normal operation in Lucas Chess R.

kosklod avatar Oct 09 '25 14:10 kosklod

I have no idea, maybe it is because the GUI does not have write permission to the folder where the executable is located.

I tested with the standard 39.1 distribution and the bmi2 version and had no problems on a virtual machine with Debian 13, the engine reading is immediate:

Image

lukasmonk avatar Oct 10 '25 02:10 lukasmonk

Finally I solved the problem temporarily by starting the app from command line and finding two libraries conflicting with debian trixie libraries: libcrypto.so.3 and libssl.so.3 renaming to libcrypto.so.3.bak and libssl.so.3.bak and then installing flawlessly ShashChess-39.1 and using flawlessly in a game as tutor. This with help of chatgpt.

kosklod avatar Oct 10 '25 13:10 kosklod

Great. I tried deleting them in the distribution, and the program in Open Suse wouldn't start, so I'm leaving them.

lukasmonk avatar Oct 10 '25 14:10 lukasmonk

Maybe updating libraries?

tong

Yahoo Mail: Αναζητήστε, οργανωθείτε, πετύχετε

Στις Παρ, 10 Οκτ, 2025 στις 17:26, ο @.***> έγραψε: lukasmonk left a comment (lukasmonk/lucaschessR2#221) Great. I tried deleting them in the distribution, and the program in Open Suse wouldn't start, so I'm leaving them.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kosklod avatar Oct 10 '25 14:10 kosklod

However, the programme works well on the Linux systems I have been able to test, even on Debian 13. Changing libraries can create serious problems. The selection of libraries is done by pyinstaller, and on an updated Open Suse Leap. In the new version (R6), I will study alternatives for the distribution to solve this type of problem, although initially it will be business as usual in this regard.

lukasmonk avatar Oct 10 '25 15:10 lukasmonk

Maybe in the working Debian 13 systems these libraries are absent. I found the libraries existing in my system with locate command

Yahoo Mail: Αναζητήστε, οργανωθείτε, πετύχετε

Στις Παρ, 10 Οκτ, 2025 στις 18:19, ο @.***> έγραψε: lukasmonk left a comment (lukasmonk/lucaschessR2#221) However, the programme works well on the Linux systems I have been able to test, even on Debian 13. Changing libraries can create serious problems. The selection of libraries is done by pyinstaller, and on an updated Open Suse Leap. In the new version (R6), I will study alternatives for the distribution to solve this type of problem, although initially it will be business as usual in this regard.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kosklod avatar Oct 10 '25 15:10 kosklod

I removed ShashChess 39.1, but it seems the renaming of the two libraries is necessary to play: compete>elo rating>Lucas elo: lucaschessgui.pyc not responding again with libcrypto.so.3 and libssl.so.3 unrenamed

kosklod avatar Oct 14 '25 16:10 kosklod