public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: "Robert Święcki" <robert@swiecki.net>, linux-kernel@vger.kernel.org
Subject: Re: Processes hang in an unkillable state
Date: Tue, 12 Apr 2011 20:28:09 +0200	[thread overview]
Message-ID: <20110412182809.GA1218@redhat.com> (raw)
In-Reply-To: <BANLkTimJLcfsYAhV+3=-F14YZvX12-yXgA@mail.gmail.com>

On 04/12, Américo Wang wrote:
>
> 2011/4/12 Robert Święcki <robert@swiecki.net>:
> > Hi, while fuzzing Linux system calls (32bit fuzzer, 64bi linux
> > kernel), it happens after some time (10-20mins) that some processes
> > enter a state which makes them un-killable. They are either in R or D
> > state.
> >
> > # strace ps wwuax
> > ...
> > ...
> > open("/proc/450/cmdline", O_RDONLY)     = 6
> > read(6,  -             hangs....
> >
> > # kill -9 450
> > # kill -9 450 (no ESRCH)
> >
> > More data in the attachment - I'll keep it in the kdb session for
> > further examination.
>
> http://marc.info/?t\x130260440100004
>
> Hmm, it must be stuck at
>
> lib/rwsem.c
>
>         /* wait to be given the lock */
>         for (;;) {
>                 if (!waiter.task)
>                         break;
>                 schedule();
>                 set_task_state(tsk, TASK_UNINTERRUPTIBLE);
>         }
>
> don't know why it still can't acquire the ->mmap_sem...
>
> Cc'ing Oleg...

I seem to understand...

Please wait a bit, I need to recheck.

Oleg.


  parent reply	other threads:[~2011-04-12 18:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 10:32 Processes hang in an unkillable state Robert Święcki
2011-04-12 12:44 ` Américo Wang
2011-04-12 13:03   ` Robert Święcki
2011-04-12 13:08     ` Robert Święcki
2011-04-12 18:28   ` Oleg Nesterov [this message]
2011-04-12 18:34     ` Robert Święcki
2011-04-12 19:20       ` Oleg Nesterov
     [not found]         ` <BANLkTimJgx_x=0bpBDWaUkJgZPYs3_iwsg@mail.gmail.com>
     [not found]           ` <BANLkTimBegMUq2fX67o2YnoATWG-NDbKgA@mail.gmail.com>
2011-04-12 20:22             ` Linus Torvalds
     [not found]               ` <BANLkTi=HyK+8DhJS3db0j2fefdOjwVMN3w@mail.gmail.com>
2011-04-12 21:46                 ` Linus Torvalds
2011-04-12 21:59                   ` Robert Święcki
2011-04-12 22:12                     ` Linus Torvalds
2011-04-12 22:16                       ` Robert Święcki
2011-04-12 22:18                         ` Linus Torvalds
2011-04-12 22:30                           ` Robert Święcki
2011-04-12 22:43                             ` Linus Torvalds
2011-04-13 12:19                               ` Robert Święcki
2011-04-12 19:07     ` [PATCH 0/1] Was: " Oleg Nesterov
2011-04-12 19:08       ` [PATCH 1/1] __mlock_vma_pages_range: stack_guard_page() case returns the wrong value Oleg Nesterov
2011-04-12 19:18         ` Robert Święcki

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=20110412182809.GA1218@redhat.com \
    --to=oleg@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert@swiecki.net \
    --cc=xiyou.wangcong@gmail.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