From: Matt Zimmerman <mdz@debian.org>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] unkillable UML threads
Date: Thu, 16 Oct 2003 16:32:22 -0400 [thread overview]
Message-ID: <20031016203222.GV15069@dijkstra.csh.rit.edu> (raw)
In-Reply-To: <20031016201510.GA31337@vagabond>
On Thu, Oct 16, 2003 at 10:15:10PM +0200, Jan Hudec wrote:
> On Sat, Oct 11, 2003 at 00:15:47 -0400, Matt Zimmerman wrote:
> > On Mon, Oct 06, 2003 at 05:18:54PM -0400, Jeff Dike wrote:
> > > It could easily be a UML bug. I do have code which continues threads
> > > so that they die properly, but it seems not to be happening here. Can
> > > you tell me how to reproduce it?
> >
> > I know of no reliable way to reproduce it, but I commonly do things like
> > "killall linux" and end up with a suspended process left behind. Maybe it
> > has something to do with multiple threads receiving the signal? I think it
> > has also happened when killing only the first process, but I can't test
> > right now.
>
> The way out is to also kill with SIGCONT signal. Since umlinux uses
> tracing a lot, some processes are often stopped. When you kill the
> tracer while it's victim is stopped, it's not awoken. So you have to do
> it yourself.
Yes, I understand how signals work, thank you. Jeff asked how to reproduce
the situation where a suspended process is left behind, because that should
not happen.
--
- mdz
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2003-10-16 20:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-24 12:40 [uml-devel] unkillable UML threads Michael Richardson
2003-09-24 14:30 ` Matt Zimmerman
2003-09-25 14:40 ` Michael Richardson
2003-10-06 21:18 ` Jeff Dike
2003-10-07 1:09 ` Michael Richardson
2003-10-07 3:20 ` Jeff Dike
2003-10-07 23:39 ` Michael Richardson
2003-10-11 4:15 ` Matt Zimmerman
2003-10-16 20:15 ` Jan Hudec
2003-10-16 20:32 ` Matt Zimmerman [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=20031016203222.GV15069@dijkstra.csh.rit.edu \
--to=mdz@debian.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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