Pressing Ctrl-D during multi-line input causes ZSH to become non-responsive and eat 100% CPU until you kill -9 it.
For example:
user@host (~) -> a\
> ^D
Will cause this (with ^D of course representing actually pressing Ctrl + D).
Reproduced on my home computer and a server, each running different distros (Ubuntu and Gentoo) with different configurations.
I can't reproduce it.
I reproduce it with your test case.
(I didn't reproduce with echo ' or echo " (waiting for a quote or a double quote), zsh just doesn't care ot the Ctrl+D.)
zsh 4.3.10
ubuntu 10.10
But i can't reproduce it with zsh 4.3.12, so it seems to be fixed.
Yes, it seems to be fixed in zsh 4.3.12.
With a\
> ^D
zsh doesn't care of the ^D and wait for something else.