Bug 1210135

Summary: gdb/linux-nat.c:1411: internal-error: linux_nat_post_attach_wait: Assertion `pid == new_pid' failed.
Product: Red Hat Enterprise Linux 7 Reporter: Sergio Durigan Junior <sergiodj>
Component: gdbAssignee: Sergio Durigan Junior <sergiodj>
Status: CLOSED ERRATA QA Contact: Miroslav Franc <mfranc>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: gdb-bugs, jan.kratochvil, mcermak, mfranc, ohudlick, orion, palves
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gdb-7.6.1-65.el7 Doc Type: Bug Fix
Doc Text:
Under certain conditions, while attaching to a process, GDB can perform the initial low level ptrace attach request, but then the kernel refuses to let the debugger finish the attach sequence and the waitpid system call fails with the EACCES (Permission denied) error. Previously, GDB did not expect this scenario and terminated unexpectedly with an internal error message. With this update, GDB handles the described scenario gracefully, the user now receives a warning message that GDB was unable to attach because permission was denied but the debugging session is not affected by this.
Story Points: ---
Clone Of: 1162264 Environment:
Last Closed: 2015-11-19 13:03:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 5 errata-xmlrpc 2015-11-19 13:03:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2089.html