From: tytso@mit.edu
From: tytso@mit.edu
To: Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.0-test11: kernel: waitpid(823) failed, -512
Date: Mon, 4 Dec 2000 20:33:39 -0500 [thread overview]
Message-ID: <200012050133.eB51XdJ14685@snap.thunk.org> (raw)
In-Reply-To: <20001203233611.A8410@iapetus.localdomain>; from F.vanMaarseveen@inter.NL.net on Sun, Dec 03, 2000 at 11:36:11PM +0100
On Sun, Dec 03, 2000 at 11:36:11PM +0100, Frank van Maarseveen wrote:
> While playing with routing (zebra) and PPP I regularly see this
> message appearing. It always happens when pppd terminates a connection,
> e.g:
> Dec 3 23:09:08 mimas kernel: waitpid(823) failed, -512
This means a system call returned with an error code of -ERESTARTSYS
when a signal wasn't pending; this is a kernel bug.
However, I've looked at the code to sys_wait4 (which implements
waitpid), and I can't see where this might happen. Just before
end_wait4, it does do something potentially dangerous in that it
leaves retval set to -ERESTARTSYS, but in all of the code paths I can
see, retval gets reset before it exits. The only thing I can think of
is a compiler bug; what version of gcc are you using?
Puzzled,
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-05 2:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-03 22:36 2.4.0-test11: kernel: waitpid(823) failed, -512 Frank van Maarseveen
2000-12-05 1:33 ` tytso, tytso [this message]
2000-12-05 1:47 ` Andrew Morton
2000-12-05 19:42 ` Frank van Maarseveen
2000-12-05 21:23 ` Frank van Maarseveen
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=200012050133.eB51XdJ14685@snap.thunk.org \
--to=tytso@mit.edu \
--cc=F.vanMaarseveen@inter.NL.net \
--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