Open siraben opened 6 years ago
Agreed this is a bug. fix is fairly simple. What is happening is that the code is not checking if any other window has a reference to the buffer that is being killed in the current window. It is probably about a 10 line fix. Will fix in the Femto repository when I get time. https://github.com/hughbarney/femto
Reproducing the following steps produces a segfault
C-x 2
, the file should now be open in two buffersC-x k
and answeringy
C-x o
C-x k
and answeringy
produces the segfault.What's interesting is that doing step 6 but answering
n
does not crash Femto-Emacs.