Bug 433410 - gdb: double free or corruption when restarting program after symbols changed
gdb: double free or corruption when restarting program after symbols changed
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: gdb (Show other bugs)
rawhide
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Jan Kratochvil
Fedora Extras Quality Assurance
:
: 233276 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-18 23:45 EST by Jim Hayward
Modified: 2008-05-13 11:26 EDT (History)
0 users

See Also:
Fixed In Version: 6.8-5.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-13 11:26:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
stack trace (5.00 KB, text/plain)
2008-02-18 23:45 EST, Jim Hayward
no flags Details

  None (edit)
Description Jim Hayward 2008-02-18 23:45:43 EST
Description of problem:
When restarting a program in gdb after making a change and recompiling, gdb
exits with *** glibc detected *** gdb: double free or corruption (!prev)

Version-Release number of selected component (if applicable):
gdb-6.7.1-12.fc9.x86_64

How reproducible:


Steps to Reproduce:
1. run a program under gdb.. gdb some/program
2. close the program
3. make a change and recompile the program
4. restart the program
  
Actual results:
gdb exits with *** glibc detected *** gdb: double free or corruption (!prev)

Expected results:
gdb should not exit

Additional info:
Comment 1 Jim Hayward 2008-02-18 23:45:43 EST
Created attachment 295247 [details]
stack trace
Comment 2 Jim Hayward 2008-04-08 11:02:51 EDT
*** Bug 233276 has been marked as a duplicate of this bug. ***
Comment 3 Jan Kratochvil 2008-04-13 20:07:42 EDT
It should be fixed in Rawhide/F9.
Upstream does not have this problem as it does not update / it has stale
information about the EXEC file being run which hurts support of PIEs
(Position-Independent-Executable) missing upstream.
The Fedora patch I put there for the EXEC file update was broken.
Comment 4 Jim Hayward 2008-04-14 00:44:48 EDT
I grabbed 6.8-2 from koji. Appears to be fixed here. Tested on i386. Not tested
on x86_64, but I was seeing the problem on both. Thanks.
Comment 5 Fedora Update System 2008-05-12 08:23:57 EDT
gdb-6.8-5.fc9 has been submitted as an update for Fedora 9
Comment 6 Fedora Update System 2008-05-13 11:25:58 EDT
gdb-6.8-5.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

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