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: glibc-2.3.2-57 coreutils-5.0-4 gdb-5.3post-1.20021129.37 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): 5.3post-1.20021129.37rh How reproducible: Always Steps to Reproduce: 1. gdb ls 2. break 2157 3. run 4. step 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 end.
Created attachment 93011 [details] patch
Could you please try a more recent version of gdb? I am not able to reproduce with: coreutils-4.5.3-26 gdb-5.3.90-0.20030710.16
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 relevant today. Thank you