by fsckboy · 1y ago · 0 comments
the bug: anyway, I was running the C version of the puzzle from cli (didn't want to slow my browser down) and I must have put a typo in for an even bigger number than I intended and the process went away for a long time. I got sick of looking at the little window and discovered that I couldn't kill it even with kill -9. I killed the window with xkill but the process was still chugging away in the background at 99% CPU.
I finally managed to kill it with htop but I have a sense that I didn't really kill it, I think it just finished whatever long ops it was doing.
I didn't test much more, but I did load up a board size 600 to play and confirmed while it was building the board, kill -9 didn't do anything, and after it finished it allowed me to play the game. the kill -9 was swallowed and gone.
So if the process is not terminated this is an OS or kill issue because the process itself is not given a chance to catch the signal.
"shouldn't" hides the flaw in your thinking, it is happening, that's the bug, so shouldn't is out the window