--- Begin Message ---
Subject: |
Assertion failure "lib_child_handler != dummy_handler" |
Date: |
Fri, 09 Sep 2022 10:40:09 -0400 |
Tags: patch
Tags: patch
Tags: patch
Recently on my Debian testing machines, my Emacs built with assertion
checks crash at startup with:
process.c:8441: Emacs fatal error: assertion failed: lib_child_handler !=
dummy_handler
The patch below seems to fix it, but I have no idea if it's the right
thing to do.
Stefan
In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnux32, GTK+ Version 3.24.34,
cairo version 1.16.0)
of 2022-07-19 built on alfajor
Repository revision: 1c7aefa0c5327803f32aebbdf7cfed8d21f65f96
Repository branch: work
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Debian GNU/Linux bookworm/sid
Configured using:
'configure -C --enable-checking --enable-check-lisp-object-type --with-modules
--with-cairo --with-tiff=ifavailable
'CFLAGS=-Wall -g3 -Og -Wno-pointer-sign'
PKG_CONFIG_PATH=/home/monnier/lib/pkgconfig'
lib_child_handler.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#57699: Assertion failure "lib_child_handler != dummy_handler" |
Date: |
Fri, 9 Sep 2022 16:27:43 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 9/9/22 12:13, Lars Ingebrigtsen wrote:
Perhaps Paul has some comments here; added to the CCs.
Stefan's patch looks good so I installed it (with my comments :-).
At some point Emacs should probably use the superior method of clone3
with CLONE_PIDFD and waitid if available, so that it can avoid the
hackery and races entailed by SIGCHLD.
--- End Message ---