Follow-up Comment #4, bug #25089 (project screen):
Well...
from quick look I would say that WNOHANG in waitpid() looks suspicious:
https://git.savannah.gnu.org/cgit/screen.git/tree/src/screen.c?h=screen-v4#n1495
Can you try removing it and see if it still happens?
You can also try building scree
Follow-up Comment #3, bug #25089 (project screen):
A coworker ran into this on Debian 10 Buster (amd64) with Screen 4.6.2 (Debian
package version 4.6.2-3) inside a (production) VM (ESX) and I was able to
reproduce this under my user on the same machine.
I was able to reproduce it by opening many