Also, the SCID 5.1.0 I tested was installed with Flatpak and I noticed that you are the also the maintainer. It seems that this Flatpak release doesn't remove the assertions.
Thank for your answer. I made a new build of SCID 5.0.2 on Gentoo with the -DNDEBUG flag and I can import the PGN with this crazy game of Nakamura ! It count 298 moves in the game list but the game can indeed be loaded with all the 810 moves. Finally, instead of trying to repair the corrupted si4 database, I recreated a new one in the si5 format.
Thank for your answer. I made a new build of SCID 5.0.2 on Gentoo with the -DNDEBUG flag and I can import the PGN with this crazy game of Nakamura ! It count 298 moves in the games listbut the game can indeed be loaded with all the 810 moves. Finally, instead of trying to repair the corrupted si4 database, I recreated a new one in the si5 format.
SCID crashes while importing a pgn into a database