Red Hat Bugzilla – Bug 99075
gdb segfaults when trying to step into libc
Last modified: 2015-01-07 19:05:49 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030515
Description of problem:
I just started using gdb and hit a repeatable segfault when trying to step into
libc (this was by accident, but gdb shouldn't blow up because I step into the
wrong thing!) For example, gdb ls, set a breakpoint on an opendir() line, and
then step. Segfault.
I've compiled the following packages myself (for target athlon-redhat-linux-gnu)
and installed the corresponding generated -debuginfo packages:
The segfault can also be reproduced with the gdb installed from the gdb rpm in
RedHat 9, although without a debuginfo package I couldn't immediately verify if
the function it occurred in was the same.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gdb ls
2. break 2157
Actual Results: Segmentation fault
Expected Results: Either an error message, a step into libc, or a step over libc.
Additional info: Backtrace attached.
Created attachment 92903 [details]
Session transcript, including backtrace
I've included a full backtrace with locals, and then one without locals at the
Created attachment 93011 [details]
Could you please try a more recent version of gdb?
I am not able to reproduce with:
Closing due to inactivity. Please feel free to reopen this bug or refile this
bug against the latest release Fedora Core if you feel this bug is still