Menu

#258 SCID Crashes while making moves in a particular game

v.5.0
open
nobody
CRitical (2)
1
2025-04-28
2025-04-28
Steve Cohen
No

Scid version 5.1.0
Platform Ubuntu 24.04.2 LTS
I'll be going along in SCID, in this particular game, making moves, creating variations, etc. etc. and the app will suddenly disappear from the screen. It is no longer running. It has crashed. Here is a syslog of the event:

$ grep -i scid /var/log/syslog
2025-04-27T12:36:36.249743-07:00 aigas systemd[14062]: Started app-flatpak-io.github.benini.scid-32614.scope.
2025-04-27T12:36:36.251904-07:00 aigas systemd[14062]: Started app-gnome-io.github.benini.scid-32614.scope - Application launched by gnome-shell.
2025-04-27T13:47:40.389002-07:00 aigas io.github.benini.scid.desktop[32629]: scid: /run/build/scid/src/position.h:200: pieceT Position::GetPiece(squareT) const: Assertion `sq < 64' failed.
2025-04-27T13:47:40.480467-07:00 aigas systemd[14062]: app-gnome-io.github.benini.scid-32614.scope: Consumed 2min 10.930s CPU time.
2025-04-27T13:48:58.669219-07:00 aigas systemd[14062]: Started app-gnome-io.github.benini.scid-33513.scope - Application launched by gnome-shell.
2025-04-27T13:48:58.671758-07:00 aigas systemd[14062]: Started app-flatpak-io.github.benini.scid-33513.scope.
2025-04-27T16:14:45.648994-07:00 aigas io.github.benini.scid.desktop[33528]: scid: /run/build/scid/src/position.h:200: pieceT Position::GetPiece(squareT) const: Assertion `sq < 64' failed.
2025-04-27T16:14:45.736329-07:00 aigas systemd[14062]: app-flatpak-io.github.benini.scid-33513.scope: Consumed 31.628s CPU time.
2025-04-27T16:14:52.288863-07:00 aigas systemd[14062]: Started app-gnome-io.github.benini.scid-33836.scope - Application launched by gnome-shell.
2025-04-27T16:14:52.294269-07:00 aigas systemd[14062]: Started app-flatpak-io.github.benini.scid-33836.scope.
2025-04-27T16:20:02.748192-07:00 aigas systemd[14062]: app-flatpak-io.github.benini.scid-33836.scope: Consumed 10.788s CPU time.
2025-04-27T17:06:18.795636-07:00 aigas systemd[14062]: Started app-gnome-io.github.benini.scid-37877.scope - Application launched by gnome-shell.
2025-04-27T17:06:18.806215-07:00 aigas systemd[14062]: Started app-flatpak-io.github.benini.scid-37877.scope.
2025-04-28T10:36:22.714195-07:00 aigas io.github.benini.scid.desktop[37894]: scid: /run/build/scid/src/position.h:200: pieceT Position::GetPiece(squareT) const: Assertion `sq < 64' failed.
2025-04-28T10:36:22.818881-07:00 aigas systemd[14062]: app-flatpak-io.github.benini.scid-37877.scope: Consumed 2min 760ms CPU time.
2025-04-28T10:36:32.779384-07:00 aigas systemd[14062]: Started app-flatpak-io.github.benini.scid-39167.scope.
2025-04-28T10:36:32.784882-07:00 aigas systemd[14062]: Started app-gnome-io.github.benini.scid-39167.scope - Application launched by gnome-shell.

Only the last four lines are relevant to this particular crash and subsequent restart of the program, but the others show previous crashes of the same type.

I cannot provide a screenshot, as the app has vanished.

I attach a file that shows the game as it was last saved before the crash, about an hour's worth of analysis is missing. It will not contain the position it was in at the time of the crash. I will attempt to recreate the analysis, saving every few moves.

1 Attachments

Discussion

  • Steve Cohen

    Steve Cohen - 2025-04-28

    I added a bunch more moves, closer to the situation at the time of the crash, but it didn't crash, so is still not identical with the game that caused the crash.

    It looks like the failed assertion is the root cause of the problem. As you can tell from the position, in some variations pawn promotion is close to being on the agenda for either side, which might be relevant to the assertion sq < 64. I wish I could remember the exact variation.

     

    Last edit: Steve Cohen 2025-04-28
  • Steve Cohen

    Steve Cohen - 2025-04-28

    (please ignore this comment - I can not get it to go away without typing something)

     

Log in to post a comment.

MongoDB Logo MongoDB