Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Katrain v1.14.0 crashes #661

Closed
Azirine opened this issue Oct 1, 2023 · 6 comments
Closed

Katrain v1.14.0 crashes #661

Azirine opened this issue Oct 1, 2023 · 6 comments
Labels

Comments

@Azirine
Copy link

Azirine commented Oct 1, 2023

Bug report: Katrain v1.14.0 crashes

OS: MacOS 10.15.7

Steps to reproduce:

  1. Type 'katrain' in terminal (installed via pip)
  2. Load this game https://www.go4go.net/go/games/sgfview/111338
  3. Go to move 62
  4. Press 'space' (to start analysis)
  5. Click on M15 (suggested move)
  6. 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.

@sanderland
Copy link
Owner

sanderland commented Oct 1, 2023

Can you attach the sgf or link it on a medium without a login page?

@Azirine
Copy link
Author

Azirine commented Oct 1, 2023

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.

@sanderland
Copy link
Owner

Can not reproduce. Do you see any console output?

@Azirine
Copy link
Author

Azirine commented Oct 3, 2023

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:

  1. Quit Katrain
  2. Backup and then delete ~/.katrain/config.json
  3. 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 "" 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.

Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Aug 18, 2024
Copy link

This issue was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants