This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18749] New: problems if whole process dies while (ptrace-) stopped
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 31 Jul 2015 11:18:46 +0000
- Subject: [Bug gdb/18749] New: problems if whole process dies while (ptrace-) stopped
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18749
Bug ID: 18749
Summary: problems if whole process dies while (ptrace-) stopped
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
Between fetching a thread stop event (on Linux, after waitpid returns a stop)
and fully handling the event (e.g., all the way evaluating a breakpoint
condition and reresuming if it evals false), some other thread that is still
running may cause the whole process to exit. Usually in such a situation, the
lower level code that tries to access memory or registers throws an error
(usually a perror_with_name/ESRCH), and many code paths in GDB don't expect
this, resulting in a broken debug session.
--
You are receiving this mail because:
You are on the CC list for the bug.