public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15316] New: GNU/Linux x86_64, fails to switch inferior processes with error "Inferior has no threads" after child process exits
@ 2013-03-27 19:26 jjgionta at ncsu dot edu
  0 siblings, 0 replies; only message in thread
From: jjgionta at ncsu dot edu @ 2013-03-27 19:26 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-27 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-27 19:26 [Bug gdb/15316] New: GNU/Linux x86_64, fails to switch inferior processes with error "Inferior has no threads" after child process exits jjgionta at ncsu dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).