Description of problem:
when debugging a go program, gdb eats memory at what looks like 1GB/sec and brings the machine to its knees.
Version-Release number of selected component (if applicable):
fairly reproducible, nearly 100% of the time
Steps to Reproduce:
1. git clone https://github.com/amahi/spdy-proxy
2. cd spdy-proxy
4. gdb bin/p
7. goroutine 4 bt
gdb stops responding to ctrl-c and the machine becomes unresponsive.
on another ssh session, i could see gdb brutally eating memory
show a backtrace
sergiodj produced a test rpm that has a patch for this issue.
Thanks for the report. The bug is fixed by the following commit:
Author: Doug Evans <firstname.lastname@example.org>
Date: Thu Aug 1 23:59:47 2013 +0000
* valops.c (value_struct_elt): Add missing call to check_typedef.
* gdb.base/func-ptr.exp: New file.
* gdb.base/func-ptr.c: New file.
I haven't regression-tested the patch when I generated the scratch build, but it fixes this bug.
gdb-7.6.1-42.fc19 has been submitted as an update for Fedora 19.
gdb-126.96.36.19930731-12.fc20 has been submitted as an update for Fedora 20.
gdb-7.5.1-43.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdb-7.5.1-43.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
gdb-188.8.131.5230731-12.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
gdb-7.6.1-42.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.