linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: CLONE from pthread_create fails with ERESTARTNOINTR and application crashes
Date: Thu, 22 May 2014 10:04:47 +0100	[thread overview]
Message-ID: <20140522090447.GA14641@arm.com> (raw)
In-Reply-To: <CAGJAg9EHSgOg3trryA5Zb5ms8pfTX6Y7DF4s-mEP6YZmD8twVw@mail.gmail.com>

On Wed, May 21, 2014 at 02:40:16PM +0100, Raghu Pv wrote:
> CLONE from pthread_create fails with ERESTARTNOINTR and application crashes

[...]

> Executing a multithreaded application that creates and terminates
> threads and also there a lot of signals

Do you have sample source for that?

> If a signal arrives during execution of clone(), clone is returning
> ERESTARTNOINTR to userspace.

With which kernel version? Your quote from fork.c doesn't match mainline.
Can you reproduce with -rc6?

Will

  reply	other threads:[~2014-05-22  9:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 13:40 CLONE from pthread_create fails with ERESTARTNOINTR and application crashes Raghu Pv
2014-05-22  9:04 ` Will Deacon [this message]
2014-05-22  9:40   ` Raghu Pv

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=20140522090447.GA14641@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).