Closed LucasPickering closed 4 months ago
I got pretty far on diagnosing this but couldn't figure out a fix. A few things I found out:
read
syscallcrossterm::poll
and having signal_hook
catch SIGHUP
SIGHUP
from this list, or remove the poll
call, the issue disappears and the process exits gracefullyI haven't figured out a way to reproduce this outside of zellij, so it's hard to submit a bug report anywhere for it. I'm not really sure if it's a bug in crossterm or signal_hook (or neither?).
If slumber's parent process is killed (with SIGTERM, although not sure it matters how), instead of terminating the
slumber
process hangs at 100% CPU and stops responding to SIGTERM itself. I've noticed this with bothwatchexec
andzellij
as the parent.