bmon
bmon copied to clipboard
bmon does not exit after the user chooses to quit (deadlock?)
On a LEDE system, bmon 3.9 does not exit after the user chooses to quit. The curses display closes as expected, but then bmon does not give back a shell prompt, and just sits there doing nothing (without consuming any CPU cycles). It does not react to Ctrl-c or normal kill signals. Only a kill -9 allows the program to exit.
This looks like a deadlock during cleanup/shutdown. I do not remember this issue occurring with bmon 3.8, but I can test again (maybe it's something that changed in LEDE).
This is using LEDE r1670, with musl 1.1.15 and linux 4.4.21.