Red Hat Bugzilla – Bug 219118
Assertion failure after attaching to stopped firefox process
Last modified: 2007-11-30 17:11:51 EST
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-18.104.22.168-1.fc6
firefox trunk is also affected
Steps to Reproduce:
2. kill -STOP _pid_of_firefox-bin_
3. gdb /usr/lib/firefox-22.214.171.124/firefox-bin _pid_of_firefox-bin_
Assertion failure. If I select to continue, gdb seems functional
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 <email@example.com> - 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.