ttyd: ttyd crashes or becomes unresponsive
Closing the web terminal window before it has fully loaded (i.e. during the completely black screen), ttyd would sometimes lock and utilise its thread to 100% or exit with a segmentation fault.
Used with a Nginx’s proxy_pass to the unix socket and initialised with exec ttyd -d 0 -i /var/run/ttyd.sock bash -l &>/dev/null & on kernel 4.14.9-unRAID.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (10 by maintainers)
Reproduced the crash on ubuntu and debugged the code, I’ve identified the root cause but have no idea for it, filed an upstream issue: https://github.com/warmcat/libwebsockets/issues/1149