Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: killing suspended jobs makes zsh hang after 47d1215
- X-seq: zsh-workers 29471
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: killing suspended jobs makes zsh hang after 47d1215
- Date: Sun, 12 Jun 2011 07:22:09 -0700
- In-reply-to: <86aadnwtl2.fsf@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <86aadnwtl2.fsf@gmail.com>
On Jun 12, 8:40am, Pan Tsu wrote:
} Subject: killing suspended jobs makes zsh hang after 47d1215
}
} % man man
} ^Z
} zsh: suspended man man
} % kill %
} % %
} [1] + continued man man
} load: 0.04 cmd: zsh 47317 [pause] 222.05r 0.01u 0.00s 0% 2612k
I am able to reproduce this.
kill -CLD wakes up the shell, showing this:
torch% jobs
[1] + running man man
torch%
The bug appears to have been introduced here:
----------------------------
revision 1.80
date: 2011/04/01 11:02:16; author: pws; state: Exp; lines: +18 -1
Stef van Vlierberghe: 28965 (as posted in 28967):
findproc() should not return processes not marked as SP_RUNNING
----------------------------
Evidently there are in fact cases where we need to find jobs that are
not running.
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author