Description of problem: Version-Release number of selected component (if applicable): gdb-7.2-6.fc14.x86_64 openssh-server-5.6p1-9.fc15.x86_64 How reproducible: Always. Steps to Reproduce: 1. gdb /usr/sbin/sshd `pgrep sshd` 2. set follow-fork-mode child 3. c 4. ssh localhost 5. http://fpaste.org/Bzex/raw/ 6. sshd[4441]: segfault at ... Actual results: (gdb) set follow-fork-mode child (gdb) c Continuing. [New process 2094] [Thread debugging using libthread_db enabled] process 2094 is executing new program: /usr/sbin/sshd [Thread debugging using libthread_db enabled] [New process 2095] [Thread debugging using libthread_db enabled] Program exited normally. (gdb) q Expected results: debugged child Additional info: There may be some PIE problem, sshd is ET_DYN and: (gdb) c Continuing. process 2443 is executing new program: /usr/sbin/sshd Error in re-setting breakpoint 1: Cannot access memory at address 0xc2d0 Error in re-setting breakpoint 2: Cannot access memory at address 0xd5c0 Error in re-setting breakpoint 1: Cannot access memory at address 0xc2d0 Error in re-setting breakpoint 2: Cannot access memory at address 0xd5c0
Created attachment 450773 [details] screenshot
post: [patch] Fix inferior execl of new PIE x86_64 http://sourceware.org/ml/gdb-patches/2010-09/msg00519.html You need to use set follow-fork-mode child first and then parent on the second fork, otherwise the control also gets lost, though.
gdb-7.2-22.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/gdb-7.2-22.fc14
gdb-7.2-22.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gdb'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gdb-7.2-22.fc14
gdb-7.2-23.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/gdb-7.2-23.fc14
gdb-7.2-23.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.