That usually happens when you’ve spent more than an hour on a particularly hard program only to have less than 10 cells left, and yet it’s impossible to solve because somewhere possibly at the start of the puzzle, you’ve made a mistake.
/johnny