Bug 245440 - Spurious testcase FAIL: gdb.base/attach.exp: after attach3, exit (timeout)
Spurious testcase FAIL: gdb.base/attach.exp: after attach3, exit (timeout)
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gdb (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Jan Kratochvil
Depends On: 233853
  Show dependency treegraph
Reported: 2007-06-23 05:06 EDT by Jan Kratochvil
Modified: 2008-01-14 05:34 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-14 05:34:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Kratochvil 2007-06-23 05:06:17 EDT
Description of problem:
This testcase was always a race with spurious results.
On a change
* Tue Jun 19 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 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):

How reproducible:

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:
waitpid(pid) -> HANGS
The second waitpid should not be called there.
Comment 1 Jan Kratochvil 2007-06-23 05:24:04 EDT
Probably the same reason is for:
FAIL: gdb.pie/attach.exp: (timeout) after attach3, exit
Comment 2 Jan Kratochvil 2008-01-14 05:34:35 EST
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.

Note You need to log in before you can comment on or make changes to this bug.