Description of problem: gdb has an assertion failure after attaching to a stopped firefox process: ../../gdb/linux-nat.c:1011: internal-error: lin_lwp_attach_lwp: Assertion `pid == GET_LWP (ptid) && WIFSTOPPED (status) && WSTOPSIG (status)' failed. Version-Release number of selected component (if applicable): gdb-6.5-13.fc6 and firefox-1.5.0.8-1.fc6 firefox trunk is also affected How reproducible: always Steps to Reproduce: 1. firefox 2. kill -STOP _pid_of_firefox-bin_ 3. gdb /usr/lib/firefox-1.5.0.8/firefox-bin _pid_of_firefox-bin_ Actual results: Assertion failure. If I select to continue, gdb seems functional Expected results: No assertion failure.
While it looked as Bug 209521 it is a valid bugreport needing more fixing in the other gdb code around, thanks.
* Wed Dec 13 2006 Jan Kratochvil <jan.kratochvil> - 6.5-15 - Fix attachment also to a threaded stopped process (BZ 219118).
gdb-6.5-15.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.