From: Eli Zaretskii <eliz@gnu.org>
To: Ivan Kanis <ivan.kanis@googlemail.com>
Cc: 13192@debbugs.gnu.org
Subject: bug#13192: 24.3.50; gdb caught SIG_DFL after launching a process
Date: Sat, 15 Dec 2012 17:50:15 +0200 [thread overview]
Message-ID: <838v8zmi14.fsf@gnu.org> (raw)
In-Reply-To: <87sj77l4cg.fsf@kanis.fr>
> From: Ivan Kanis <ivan.kanis@googlemail.com>
> Cc: 13192@debbugs.gnu.org
> Date: Sat, 15 Dec 2012 16:31:11 +0100
>
> Eli Zaretskii <eliz@gnu.org> wrote:
>
> >> #0 terminate_due_to_signal (sig=6, backtrace_limit=10) at emacs.c:315
> >> No locals.
> >> #1 0x081756cb in emacs_abort () at sysdep.c:2113
> >> No locals.
> >> #2 0x08173b5c in get_child_status (child=12251, status=0xbfffdae4, options=3,
> >> interruptible=false) at sysdep.c:297
> >> pid = -1
> >
> > What is the value of errno in this frame #2?
>
> 10
Which is ECHILD, AFAIK.
So I think the problem is that, while we wait for a process to exit in
'waitpid', that function is interrupted by SIGCHLD, and the signal
handler re-enters 'waitpid', which now returns with ECHILD instead of
EINTR.
next prev parent reply other threads:[~2012-12-15 15:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-15 13:02 bug#13192: 24.3.50; gdb caught SIG_DFL after launching a process ivan.kanis
2012-12-15 13:54 ` Eli Zaretskii
2012-12-15 15:31 ` Ivan Kanis
2012-12-15 15:50 ` Eli Zaretskii [this message]
2012-12-17 16:11 ` Ivan Kanis
2012-12-17 16:54 ` Eli Zaretskii
2012-12-17 17:52 ` Paul Eggert
2012-12-17 20:23 ` Ivan Kanis
2012-12-21 9:54 ` Ivan Kanis
2012-12-21 10:08 ` Paul Eggert
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=838v8zmi14.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13192@debbugs.gnu.org \
--cc=ivan.kanis@googlemail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.