GNU bug report logs - #53013
29.0.50; xwidget-webkit: SIGCHLD not being caught after xwidget-webkit buffer killed

Previous Next

Package: emacs;

Reported by: Akira Kyle <akira <at> akirakyle.com>

Date: Tue, 4 Jan 2022 21:11:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 53013 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Akira Kyle <akira <at> akirakyle.com>
Cc: 53013 <at> debbugs.gnu.org
Subject: Re: bug#53013: 29.0.50; xwidget-webkit: SIGCHLD not being caught
 after xwidget-webkit buffer killed
Date: Wed, 05 Jan 2022 10:40:40 +0800
Akira Kyle <akira <at> akirakyle.com> writes:

> I suspect that a call to catch_child_signal might also be needed in
> kill_xwidget so emacs reinstalls its signal handler.

Should be fixed now on master.

Making kill_xwidget call catch_child_signal wasn't enough, since GLib
was resetting SIGCHLD inside a timer set by WebKitGTK and about a dozen
other places as well, hence the very ugly (and unreliable) hack on
master.

It's a temporary solution that just motivated me to look at making Emacs
use GLib for handling subprocesses.




This bug report was last modified 3 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.