Red Hat Bugzilla – Bug 245440
Spurious testcase FAIL: gdb.base/attach.exp: after attach3, exit (timeout)
Last modified: 2008-01-14 05:34:35 EST
Description of problem:
This testcase was always a race with spurious results.
On a change
* Tue Jun 19 2007 Jan Kratochvil <firstname.lastname@example.org> - 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):
Steps to Reproduce:
1. runtest gdb.base/attach.exp
FAIL: gdb.base/attach.exp: after attach3, exit (timeout)
PASS: gdb.base/attach.exp: after attach3, exit
It was found there occurs:
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.