Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh hangs on IRIX 5.2 / me to: (SunOS4.1.3 + Solaris 2.4)



I see the same behavior as he does in two other Systems:

Quoting Achim Braemer :
> 
> I am experiencing strange zsh behavior on IRIX 5.2 with zsh
> 2.6-beta13. It has been there a long time, I don't know exactly how
> long.
At least the last two years, I complained about this shortly after
we installed our first zsh.

> When a user logs in to the local the system using rlogin (with zsh as
> login shell, of course), and for some reason the session crashes
> (typically because the remote process is being killed because of idle
> time) then the local zsh process hangs and consumes 99% CPU time.
exactly the same here, except it's not necessary to have zsh for
login-shell (see below).

> This does not happen with sh, ksh or csh as login shell, but I am still
> not quite sure whether it's really zsh's fault or rather an IRIX bug.
It IS some zsh-bug, but it's a strange one ...

> Any help would be greatly appreciated, because the problem occurs quite
> often on my system blocking useful work!
It even kills a whole machine overnight, by blocking all usable CPU cycles
and this way crowding a machine with cron-jobs 'til it 'breaks'.


Well, we traced/debugged a bit and found out:
- it does NOT happen if you 'unset ignoreeof'
  ( so zsh is 'simply' ignoring an eof-condition FOREVER )

- if you hit TEN  '^D' (eof) on the keyboard zsh goes away
  ( even with ignoreeof set , so THERE is a maximum )

- a zsh which idles (waits for the keyboard/tty) goes away
  when the Window/Modem-Connection dies

- BUT a zsh WAITING FOR A PROCESS TO COMPLETE,
  RUNS FOREVER READING 'nothing' FROM STDIN
  IF THE SUBPROCESS VANISHES AND
  ZSH WAKES UP ON A 'DEAD' TTY.

May be this helps ?

We too (at math.fu-berlin.de) would GREATLY APPRECIATE ANYTHING which
allows to safely set ignoreeof !

Stucki

   **v**   ----v-----------------------------------------------------------
    S    *    |   Christoph von Stuckrad      | <stucki@xxxxxxxxxxxxxxxxx> \
    t   /  *  |   Dahlem                      | ...!unido!fub!leibniz!stucki|
    u /     * |   Fachbereich Mathematik, EDV | Tel:+49 30 838-754{9|8}     |
<stucki>- - C |   Freie Universitaet Berlin   | Fax:+49 30 838-5913         |
    k \     * |   Arnimallee 2-6              | IRC: /nick stucki           |
    r   \  *  | D-14195 Berlin                | PGP: not yet certified :-(  |
    a    *    |   Germany                     |      ask for key by mail   /
  **d**   ----^-----------------------------------------------------------




Messages sorted by: Reverse Date, Date, Thread, Author