Bug 219118 - Assertion failure after attaching to stopped firefox process
Summary: Assertion failure after attaching to stopped firefox process
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexandre Oliva
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-11 05:01 UTC by Andrew Schultz
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: gdb-6.5-15.fc6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-18 08:30:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Schultz 2006-12-11 05:01:04 UTC
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.

Comment 1 Jan Kratochvil 2006-12-11 20:56:48 UTC
While it looked as Bug 209521 it is a valid bugreport needing more fixing in the
other gdb code around, thanks.


Comment 2 Jan Kratochvil 2006-12-13 11:00:33 UTC
* Wed Dec 13 2006 Jan Kratochvil <jan.kratochvil> - 6.5-15
- Fix attachment also to a threaded stopped process (BZ 219118).


Comment 3 Fedora Update System 2006-12-13 21:01:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.