Core Shell crashes (SEGV) every time I exit an SSH session