intrepidhero-coder / whimsy

entry to gameoff 2020
MIT License
0 stars 0 forks source link

Hung game on CTRL-Z in terminal #1

Open cashpipeplusplus opened 3 years ago

cashpipeplusplus commented 3 years ago

I ran the Linux build of the game from a terminal, then wanted to background it, so I hit CTRL-Z in the terminal. I didn't get back to the terminal where I could type "bg", and the GUI hung. I was able to recover the GUI by sending SIGCONT to both Whimsy processes.

I wonder if there is something wonky with the game being composed of two processes, so that the SIGTSTP/SIGSTO signal generated by CTRL-Z in the terminal was intercepted or handled in some particular way that caused the issue. I haven't looked into this in the source at all.

I don't know if it's relevant, but I was running in a Linux container on ChromeOS. I can't say if the same would happen in a native Linux system.

Nice game! I'm really enjoying it.

intrepidhero-coder commented 3 years ago

Interesting and thanks. Not the sort of thing I'd usually test but I'll look into it.

Glad you enjoyed it.