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 How reproducible: 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. Actual results: Segmentation fault (core dumped) Expected results: GDB completes symbol elaboration and enters into interactive mode. Additional info: 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): https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00404.html https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=210205
gdb-7.7.1-18.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/gdb-7.7.1-18.fc20
./test-demangle: 888 tests, 0 failures -> ./test-demangle: 895 tests, 0 failures
Package gdb-7.7.1-18.fc20: * 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: https://admin.fedoraproject.org/updates/FEDORA-2014-9437/gdb-7.7.1-18.fc20 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.