#53 Becomes non-responsive and eats CPU on Ctrl-D

Core shell (16)

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.


  • Anonymous - 2011-01-14

    I can't reproduce it.

  • pir

    pir - 2011-07-20

    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

  • Nobody/Anonymous

    But i can't reproduce it with zsh 4.3.12, so it seems to be fixed.

  • pir

    pir - 2011-10-24

    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.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks