All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Hudec <bulb@ucw.cz>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] unkillable UML threads
Date: Thu, 16 Oct 2003 22:15:10 +0200	[thread overview]
Message-ID: <20031016201510.GA31337@vagabond> (raw)
In-Reply-To: <20031011041547.GH13041@dijkstra.csh.rit.edu>

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:
> 
> > mcr@sandelman.ottawa.on.ca said:
> > > FYI: This is without the skas patch, with a stock RH9 kernel on the
> > > host.
> > >
> > > Any thoughts or coroboration would be appreciated. Clearly this is a
> > > bug in the RH9 kernel.  
> > 
> > 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.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>


-------------------------------------------------------
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

  reply	other threads:[~2003-10-16 20:16 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 [this message]
2003-10-16 20:32       ` Matt Zimmerman

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=20031016201510.GA31337@vagabond \
    --to=bulb@ucw.cz \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.