Description of problem:
The GDB demangler segfaults on certain symbols.
Version-Release number of selected component (if applicable):
Fedora release: 20
GDB package version: 7.7.1-15.fc20.x86_64
GDB will segfault consistently if a library contains symbols that cause the demangler to enter into an infinite loop.
Steps to Reproduce:
I am working on a simple test case that can be used to reproduce this. In the meantime please see the "Additional info" section.
Segmentation fault (core dumped)
GDB completes symbol elaboration and enters into interactive mode.
This issue appears to have been fix by one of Redhat's own (Gary Benson). However the patch has not made its way into 7.7.1 or the Fedora RPM package (it does however appear to be part of the newly created 7.8 branch):
gdb-7.7.1-18.fc20 has been submitted as an update for Fedora 20.
./test-demangle: 888 tests, 0 failures
./test-demangle: 895 tests, 0 failures
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdb-7.7.1-18.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Provided positive karma feedback.
gdb-7.7.1-18.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.