I asked the same question on Stockfish's forum.
Black to move in the classic scholar's mate position. mate in 1. Engine produce erroneous results?
position fen rnbqkbnr/pppp1ppp/8/4p3/6P1/5P2/PPPPP2P/RNBQKBNR b KQkq - eval Total Evaluation: -0.85 (white side)
Same position, except black checkmated white. White to move:
position fen rnb1kbnr/pppp1ppp/8/4p3/6Pq/5P2/PPPPP2P/RNBQKBNR w KQkq - eval Debug error! abort() has been called
Here is another position that crashes:
1b1B1k2/8/2B1p1p1/3n1p2/4KP2/6P1/8/8 w eval
Go seems to work properly, showing that its mate in 1, and checkmate. However
eval is not showing the correct numbers.
Or am I misunderstanding something here?