GNU bug report logs - #57699
Assertion failure "lib_child_handler != dummy_handler"

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 9 Sep 2022 14:41:02 UTC

Severity: normal

Tags: patch

Merged with 57934

Found in version 29.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#57699: closed (Re: bug#57699: Assertion failure
 "lib_child_handler != dummy_handler")
Date: Fri, 09 Sep 2022 21:28:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#57699: Assertion failure "lib_child_handler != dummy_handler"

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 57699 <at> debbugs.gnu.org.

-- 
57699: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57699
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Lars Ingebrigtsen <larsi <at> gnus.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 57699-done <at> debbugs.gnu.org, Robert Pluim <rpluim <at> gmail.com>
Subject: Re: bug#57699: Assertion failure "lib_child_handler != dummy_handler"
Date: Fri, 9 Sep 2022 16:27:43 -0500
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.


[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: Assertion failure "lib_child_handler != dummy_handler"
Date: Fri, 09 Sep 2022 10:40:09 -0400
[Message part 4 (text/plain, inline)]
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 (text/patch, attachment)]

This bug report was last modified 2 years and 241 days ago.

Previous Next


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