Skip to content

Stockfish needlessly hangs the queen #5174

@robertnurnberg

Description

@robertnurnberg

Describe the issue

Stockfish playing as black hangs the queen in the position r5k1/1p2qpb1/2p1bnp1/r3p2p/7Q/P1NPPB1P/1BP3P1/1R3R1K b - - by suggesting as bestmove f6e8

Expected behavior

Stockfish should suggest any other available move, that does not blunder the position in a single move.

Steps to reproduce

These steps deterministically lead to the described issue. They only work for sf revision 0716b84

position fen r1bq1rk1/pppn1pbp/3p1np1/4P3/1P6/P3PN2/1BPP2PP/RN1QKB1R b KQ - 0 8
go nodes 110000
position fen r1bq1rk1/ppp2pbp/3p1np1/4N3/1P6/P3P3/1BPP2PP/RN1QKB1R b KQ - 0 9
go nodes 110000
position fen r1bq1rk1/ppp2pbp/5np1/4p3/1P6/P3P3/1BPPB1PP/RN1QK2R b KQ - 1 10
go nodes 110000
position fen r2q1rk1/ppp2pbp/5np1/4pb2/1P6/P3P3/1BPPB1PP/RN1Q1RK1 b - - 3 11
go nodes 110000
position fen r4rk1/ppp2pbp/3q1np1/4pb2/1P6/P1N1P3/1BPPB1PP/R2Q1RK1 b - - 5 12
go nodes 110000
position fen r4rk1/ppp2pb1/3q1np1/4pb1p/1P6/P1NPP3/1BP1B1PP/R2Q1RK1 b - - 0 13
go nodes 110000
position fen r4rk1/1pp2pb1/3q1np1/P3pb1p/8/P1NPP3/1BP1B1PP/R2Q1RK1 b - - 0 14
go nodes 110000
position fen 5rk1/1pp2pb1/3q1np1/r3pb1p/8/P1NPP3/1BP1B1PP/R3QRK1 b - - 1 15
go nodes 110000
position fen r5k1/1pp2pb1/3q1np1/r3pb1p/8/P1NPP3/1BP1B1PP/1R2QRK1 b - - 3 16
go nodes 110000
position fen r5k1/1p3pb1/2pq1np1/r3pb1p/8/P1NPP3/1BP1B1PP/1R2QR1K b - - 1 17
go nodes 110000
position fen r5k1/1p3pb1/2p2np1/r1q1pb1p/8/P1NPPB2/1BP3PP/1R2QR1K b - - 3 18
go nodes 110000
position fen r5k1/1p3pb1/2p1bnp1/r1q1p2p/8/P1NPPB1P/1BP3P1/1R2QR1K b - - 0 19
go nodes 110000
position fen r5k1/1p2qpb1/2p1bnp1/r3p2p/7Q/P1NPPB1P/1BP3P1/1R3R1K b - - 2 20
go nodes 400000

Anything else?

Losing games by hanging the queen in games on fishtest has been anecdotally reported by @dav1312 . The steps to reproduce this example blunder were initiated by his post on discord. See also here for a script to find the necessary commands to reproduce the "bug".

Operating system

All

Stockfish version

0716b84

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions