Hi! I don't know how to reproduce this bug, but here is a little history:
I was running GNU Emacs inside tmux(1) and writting UTF-8 mail, meanwhile I frequently and randomly pressed C-x and C-b, after that (don't remember after pressing C-x or after pressing C-b) I accidentally pressed ] and that caused xterm(1) to vanish, after checking dmesg(1) output here's what I got: xterm[90461]: pledge "cpath", syscall 5