I cannot reproduce the crash using your recipe. There clearly is a bug that affects some users, but after all these years it is not fixed.

If it affects you, use another editor is all I can suggest.

If that does not satisfy you, read the sticky thread on reporting bugs.