Katrain v1.14.0 crashes
Bug report: Katrain v1.14.0 crashes
OS: MacOS 10.15.7
Steps to reproduce:
- Type 'katrain' in terminal (installed via pip)
- Load this game https://www.go4go.net/go/games/sgfview/111338
- Go to move 62
- Press 'space' (to start analysis)
- Click on M15 (suggested move)
- Katrain becomes unresponsive and spinning beachball appears
Note: Crashing behaviour is not limited to this game or this move, but this is an example I was able to reproduce. It tends to happen when clicking on an unexplored move while the engine is analysing. I reproduced this crash 3-4 times in a row before it stopped crashing again.
Can you attach the sgf or link it on a medium without a login page?
Can you attach the sgf or link it on a medium without a login page?
This is the file:
__go4go_20230927_Park-Junghwan_Xu-Haohong.txt
GitHub doesn't allow attaching sgfs so I changed the extension to .txt, just change it back to .sgf.
Can not reproduce. Do you see any console output?
After crashing 3-4 times, I cannot reproduce the crash again on demand (it still crashed at some random time with some other game). However, after doing the following, I was able to reproduce the crash again consistently:
- Quit Katrain
- Backup and then delete ~/.katrain/config.json
- Start Katrain again
The terminal output is as follows.
After launching katrain: xxxx-xx-xx xx:xx:xx+xxxx: Analyzing up to 12 positions at a time in parallel xxxx-xx-xx xx:xx:xx+xxxx: Started, ready to begin handling requests
After loading the game: [WARNING] Deprecated property "<NumericProperty name=padding_x>" of object "<kivy.uix.label.Label object at 0x1237e17e0>" was accessed, it will be removed in a future version
There is no output at the time of the crash. After killing katrain due to the crash: zsh: killed katrain
Edit: I got it to crash again with my custom config.json. I just kept repeating the 'steps to reproduce' in the first post, and after a few times without crashing it crashed again.