Stumbled on this in the wichdale, in the cave on the right, when tried to mine, tried it the second time, and it worked just fine.
It froze the game completely, hope this helps ironing stuff out.