Description of problem: This testcase was always a race with spurious results. On a change * Tue Jun 19 2007 Jan Kratochvil <jan.kratochvil> - 6.5-19 - Fix attaching to stopped processes / pending signals (BZ 209521, 233853). the probability of FAIL got higher. Version-Release number of selected component (if applicable): gdb-6.5-19.el5 How reproducible: Rarely. Steps to Reproduce: 1. runtest gdb.base/attach.exp Actual results: FAIL: gdb.base/attach.exp: after attach3, exit (timeout) Expected results: PASS: gdb.base/attach.exp: after attach3, exit Additional info: It was found there occurs: ptrace(PTRACE_KILL,PID) waitpid(pid)==pid waitpid(pid) -> HANGS The second waitpid should not be called there.
Probably the same reason is for: FAIL: gdb.pie/attach.exp: (timeout) after attach3, exit
This problem is no longer seen neither in Brew nor in RHTS, older logs were deleted. Expecting a consequence of the inappropriate and/or utrace-buggy kernels in Brew but I did not check it more.