Bug 219118

Summary: Assertion failure after attaching to stopped firefox process
Product: [Fedora] Fedora Reporter: Andrew Schultz <ajschult784>
Component: gdbAssignee: Alexandre Oliva <aoliva>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: aoliva, cagney, jan.kratochvil
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gdb-6.5-15.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-18 08:30:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.