From: Eli Zaretskii <eliz@gnu.org>
To: Fabrice Niessen <fni@missioncriticalit.com>
Cc: 13157@debbugs.gnu.org
Subject: bug#13157: 24.3.50; Crash with Helm?
Date: Wed, 12 Dec 2012 20:48:41 +0200 [thread overview]
Message-ID: <8338zb85ti.fsf@gnu.org> (raw)
In-Reply-To: <80txrryzoy.fsf@somewhere.org>
> From: "Fabrice Niessen" <fni@missioncriticalit.com>
> Cc: 13157@debbugs.gnu.org
> Date: Wed, 12 Dec 2012 17:58:53 +0100
>
> > This abort comes from here:
> >
> > while ((pid = waitpid (child, status, options)) < 0)
> > {
> > /* Check that CHILD is a child process that has not been reaped,
> > and that STATUS and OPTIONS are valid. Otherwise abort,
> > as continuing after this internal error could cause Emacs to
> > become confused and kill innocent-victim processes. */
> > if (errno != EINTR)
> > emacs_abort (); <<<<<<<<<<<<<<<<<<<<<<<<<
> >
> > What it means is that Emacs was trying to get exit status of a process
> > that no longer exists. To make sure this is the reason, please do
> > this from GDB:
> >
> > (gdb) frame 2
> > (gdb) print errno
>
> --8<---------------cut here---------------start------------->8---
> (gdb) frame 2
> #2 0x01144111 in get_child_status (child=9468, status=0x0, options=1, interruptible=false) at sysdep.c:297
> 297 sysdep.c: No such file or directory.
> (gdb) print errno
> $1 = 10
> --8<---------------cut here---------------end--------------->8---
>
> Is it what you expected?
Yes. This is ECHILD. It means waitpid returned here:
if (nh == 0)
{
/* No such child process, or nothing to wait for, so fail. */
errno = ECHILD;
return -1;
}
next prev parent reply other threads:[~2012-12-12 18:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 15:37 bug#13157: 24.3.50; Crash with Helm? Fabrice Niessen
2012-12-12 16:39 ` Eli Zaretskii
[not found] ` <83bodz8bsb.fsf-mXXj517/zsQ@public.gmane.org>
2012-12-12 16:58 ` Fabrice Niessen
2012-12-12 18:48 ` Eli Zaretskii [this message]
2012-12-12 20:25 ` Stefan Monnier
[not found] ` <jwvpq2f3tpp.fsf-monnier+emacs-mXXj517/zsQ@public.gmane.org>
2012-12-12 20:30 ` Fabrice Niessen
2012-12-12 20:48 ` Dani Moncayo
[not found] ` <mailman.15191.1355343923.855.bug-gnu-emacs@gnu.org>
2012-12-13 17:09 ` Fabrice Niessen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8338zb85ti.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13157@debbugs.gnu.org \
--cc=fni@missioncriticalit.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).