Bug 1884577
Summary: | gdb leaks ignored SIGPIPE to child process | |||
---|---|---|---|---|
Product: | Red Hat Developer Toolset | Reporter: | Michal Kolar <mkolar> | |
Component: | gdb | Assignee: | Keith Seitz <keiths> | |
Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | DTS 10.0 RHEL 7 | CC: | dsmith, fche, jan.kratochvil, mcermak, mjw, mnewsome, ohudlick, palves | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | devtoolset-10-gdb-9.2-8.el7 | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1473411 | |||
: | 1888340 (view as bug list) | Environment: | ||
Last Closed: | 2020-12-01 12:15:13 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: | 1888340 |
Comment 2
David Smith
2020-10-06 19:06:29 UTC
*** Bug 1884578 has been marked as a duplicate of this bug. *** It may be worth considering changing gdb itself that when forking the child process to debug, it methodically clean up -all- incoming state, including env vars, open fds, and yeah signal handlers. It's conceivable that such litter may come in from other incidental bits of gdb environment (extension python solibs?), that a more formal hygiene pass now could prevent. Verified against devtoolset-10-gdb-9.2-8.el7 thusly: I took the srpm, did rpmbuild -bc and then, in the testsuite dir, I did: make check RUNTESTFLAGS='GDB=\"/opt/rh/devtoolset-10/root/usr/bin/gdb\"' TESTS=gdb.base/signals-state-child.exp devtoolset-10-gdb-9.2-8.el7 was built using devtoolset-10-elfutils-debuginfod-client-devel-0.180-3.el7. Reproduced and verified also with attached /tools/gdb/Regression/bz1473411-gdb-leaks-ignored-SIGPIPE-to-child-process. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: devtoolset-10-gdb), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:5295 |