Created attachment 820267 [details] Reproducer EBD file $ gnuchess load AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtest2 ��� Output: GNU Chess 6.2.5 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. White (1) : load AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtest2 : Best move = 1 black r . . . . . k . p . p . . . p . . . . b q r . . . . . p N . . p . . . p p B . . P . . . . . . . . P . . . P . Q R . . . R . K . *** stack smashing detected ***: <unknown> terminated Aborted (core dumped)