GNU bug report logs -
#13192
24.3.50; gdb caught SIG_DFL after launching a process
Previous Next
Reported by: ivan.kanis <at> googlemail.com
Date: Sat, 15 Dec 2012 13:05:02 UTC
Severity: normal
Found in version 24.3.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 13192 <at> debbugs.gnu.org (full text, mbox):
> From: Ivan Kanis <ivan.kanis <at> googlemail.com>
> Cc: 13192 <at> debbugs.gnu.org
> Date: Sat, 15 Dec 2012 16:31:11 +0100
>
> Eli Zaretskii <eliz <at> 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.
This bug report was last modified 12 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.