I use GNU Screen along with Bash for my SSH sessions.
While detaching my Screen sessions I came across a weird Bash bug and I'd like
your help in debugging this issue.
When I attempt to detach a running Screen session using `screen -Drr ,session
name` command, the original shell which contained the screen session does not
return to a prompt. It instead remains hung and a while later I get the message:
Warning: Program '/bin/bash' crashed
I'm running Arch Linux with Bash 4.3.30(1) and Konsole. I attempted to detach
and reattach a screen session from Terminator and did not experience any crashes
in Bash.
However, when I attempted the same from a virtual Terminal instead of an
emulator, upon remotely detaching the screen session, my terminal directly
displayed a login prompt again. This leads me to believe that Bash did crash
even then and caused the login prompt to reappear.