This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/15316] New: GNU/Linux x86_64, fails to switch inferior processes with error "Inferior has no threads" after child process exits
- From: "jjgionta at ncsu dot edu" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 27 Mar 2013 19:26:13 +0000
- Subject: [Bug gdb/15316] New: GNU/Linux x86_64, fails to switch inferior processes with error "Inferior has no threads" after child process exits
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15316
Bug #: 15316
Summary: GNU/Linux x86_64, fails to switch inferior processes
with error "Inferior has no threads" after child
process exits
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: jjgionta@ncsu.edu
Classification: Unclassified
Created attachment 6952
--> http://sourceware.org/bugzilla/attachment.cgi?id=6952
output of gdb with bug behavior. Cannot switch to inferior 1.
Debugging a process with detach-on-fork off and follow-fork-mode child. The
parent forks and waits on the child pid. After the child exits, gdb cannot
successfully switch to the parent that is waiting on the exited child. Inferior
1 returns "Inferior has no threads" however the process is still running
waiting on the child to exit.
This bug is essentially the same as a previously closed bug
http://sourceware.org/bugzilla/show_bug.cgi?id=9585
attached is the gdb trace with:
handle SIGUSR2 noprint
set follow-fork-mode child
set detach-on-fork off
set schedule-multiple on
set debug infrun 1
set debug lin-lwp 1
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.