Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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

open
nobody
Core shell (16)
5
2013-01-25
2010-12-10
Anonymous
No

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.

Discussion

  • Kooothor
    Kooothor
    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

     
  • 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.