mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Miguel Freitas" <mfreitas@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Advice on debuging the fork syscall hanging forever
Date: Wed, 25 Apr 2007 11:46:48 -0300	[thread overview]
Message-ID: <f9eabcda0704250746j26c67d03wc971c4ca32312ca1@mail.gmail.com> (raw)
In-Reply-To: <f9eabcda0704250721k20ba8a6bl50b8b0494caf5531@mail.gmail.com>

On 4/25/07, Miguel Freitas <mfreitas@gmail.com> wrote:
> (...)
> 0x00002b2e77d6d5b6 <fork+134>:  mov    $0x38,%eax
> 0x00002b2e77d6d5bb <fork+139>:  syscall
> 0x00002b2e77d6d5bd <fork+141>:  cmp    $0xfffffffffffff000,%rax
>
> (...)
>
> (gdb) info reg
> rax            0xfffffffffffffdff       -513

hey, could it be that this -513 is actually -ERESTARTNOINTR?
which, btw, is said to "Should never be seen by user programs" in
include/linux/errno.h?

is it leaking? ;-)

Miguel

  reply	other threads:[~2007-04-25 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 14:21 Miguel Freitas
2007-04-25 14:46 ` Miguel Freitas [this message]
2007-04-25 15:05   ` Miguel Freitas

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=f9eabcda0704250746j26c67d03wc971c4ca32312ca1@mail.gmail.com \
    --to=mfreitas@gmail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®