Red Hat Bugzilla – Bug 597445
Fix error on C++ application calling exec
Last modified: 2016-09-19 22:06:48 EDT
Description of problem:
C++ (libstdc++ linked) application on system with libstdc++ (=gcc) debuginfo installed calling exec() will stop on error.
This is an Archer branch [next-over-throw] regression.
It has been bugreported by Martin Stransky while debugging Firefox.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
execl ("/bin/true", "true", NULL);
g++ -o exec exec.c
gdb -q -ex r ./exec
Cannot access memory at address 0x7ffff764ab60
Program exited normally.
New testcase: gdb.cp/cxxexec.exp
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
# runtest --tool=gdb gdb.cp/cxxexec.exp
=== gdb Summary ===
# of expected passes 3
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.