From: Ashley Pittman <ashley@quadrics.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: patch: Clean shutdown if still attached at exit in batch mode
Date: Tue, 27 Jul 2004 09:40:00 -0000 [thread overview]
Message-ID: <1090921207.32676.323.camel@ashley> (raw)
In-Reply-To: <20040726192856.GA26044@nevyn.them.org>
On Mon, 2004-07-26 at 20:28, Daniel Jacobowitz wrote:
> On Thu, Apr 29, 2004 at 02:15:44PM +0100, Ashley Pittman wrote:
> >
> > The problem here is that it does not detach before quiting so the
> > process becomes a zombie. Attached is a patch to prevent this.
>
> This should not cause the process to become a zombie. Do you mean that
> it hangs around in the T (stopped) state?
Yes, it appears that I do. On the basis of this I've just noticed that
kill -CONT <pid> brings it back to life so perhaps this isn't as serious
as I had previously thought.
I'm running a different kernel now though so can't say for sure,
previously I know I had to reboot the node to clear it however this was
a function of the way that I was starting processes. Curiously this
only seemed to affect Redhat kernels so I switched to using vanilla
kernels which combined with running a modified gdb means I haven't
observed this happen for a while.
Ashley,
prev parent reply other threads:[~2004-07-27 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-29 13:15 Ashley Pittman
2004-07-26 19:13 ` [commit/6.2] Detach when in batch mode; Was: " Andrew Cagney
2004-07-26 19:30 ` patch: " Daniel Jacobowitz
2004-07-27 9:40 ` Ashley Pittman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1090921207.32676.323.camel@ashley \
--to=ashley@quadrics.com \
--cc=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox