Bug 660197
Summary: | [5.6] Using call subcommand to the functions handling DSOs causes info program to behave abnormally | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Masayoshi Yamazaki <myamazak> | ||||
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> | ||||
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 5.6 | CC: | cww, ebachalo, moshiro, pmuller | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Previously, a change to the list of shared libraries could corrupt the internal "bpstat" structure. Consequent to this, typing the "info program" command at a GDB prompt could cause the utility to terminate unexpectedly with a segmentation fault. This update ensures that the "bpstat" structure always contains the correct data, and running the "info program" command no longer causes the debugger to crash.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 669428 (view as bug list) | Environment: | |||||
Last Closed: | 2011-07-21 07:58:15 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: | 590060, 661773, 669428, 669636 | ||||||
Attachments: |
|
likely too late for 5.6, but should be in 5.6.z and 5.7.0 * Thu Jan 13 2011 Jan Kratochvil <jan.kratochvil> - 7.0.1-33.el5 - Fix crash on stale bpstat (BZ 660197). Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, a change to the list of shared libraries could corrupt the internal "bpstat" structure. Consequent to this, typing the "info program" command at a GDB prompt could cause the utility to terminate unexpectedly with a segmentation fault. This update ensures that the "bpstat" structure always contains the correct data, and running the "info program" command no longer causes the debugger to crash. 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 therefore 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-2011-1024.html |
Created attachment 468024 [details] Fix + testcase. New testcases: PASS: gdb.cp/infcall-dlopen.exp: test * info program +Running gdb/testsuite/gdb.base/moribund-step.exp ... +Running gdb/testsuite/gdb.base/watch-cond-infcall.exp ...