Undo stack corruption under unknown conditions
Every few days, I'll use some combination of Ctrl+Z and Ctrl+Shift+Z and wind up at a corrupted state. For example, some code that I was working on now looks like:
} while (0)ne CRASH() std::abort()
This is the end of my undo stack, so I cannot go back farther, but I am quite certain I never left it in such a broken condition.
I haven't yet figured out how to reproduce it, but it's not a recent regression: it's happened occasionally ever since I started using gnome-text-editor. This never happened with gedit.