On RHEL5, zsh may hang when re-using PIDs
Environment
- Red Hat Enterprise Linux 5
- zsh 4.2.6-2 and older
Issue
On RHEL5, zsh may hang when re-using PIDs
Resolution
Please upgrade zsh to version 4.2.6-3 provided in RHBA-2009-0463.
Root Cause
It may happen that with many processes one PID may appear in zsh's job table twice, one marked as done. In such a case zsh may not be able to pick the other process and mark it as done and would wait for it to finish forever. This would cause the zsh scripts to hang.
Diagnostic Steps
Please review Bugzilla #465455.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
