Bug 145124 (IT#61189_IT#60427)
Summary: | Bash appears to be mishandling sub-processes that use recycled PIDs | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Steve Conklin <sconklin> | ||||
Component: | bash | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | cward, kmori, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-05-19 12:53:20 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 132991, 191463 | ||||||
Attachments: |
|
Description
Steve Conklin
2005-01-14 16:17:00 UTC
This has been reproduced on U1 and U2, I have requested that it be reproduced on U4. This is reported to have been reproduced on U4. Based on the way Bash performs fork/exec, I think that the re-use of PIDs must be happening outside BASH. If you execute many testcase at the same time, (of course, please change the log file name in each testcase.), this problem happens shorter time, because pids are re-used shorter term. In case of executing 5 testcases at the same time, this problem has reproduced about one hour. From comment #2 it seems that this isn't a bash problem after all? I'm not quite sure what this is about. Could someone please explain it in more detail? What signal is delivered? What does strace say at the time? (The strace fragment in the original description only shows execve and no signals.) I understand now. Thanks for the detailed strace. I am now analysing it. This also seems to happen with bash-3.0. Reported upstream with simplified test case. Please try this package: ftp://people.redhat.com/twaugh/tmp/bash/bash-2.05b-41.2.i386.rpm An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-437.html |