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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Robert Pluim <rpluim <at> gmail.com>, Paul Eggert <eggert <at> cs.ucla.edu>, 57699 <at> debbugs.gnu.org
Subject: bug#57699: Assertion failure "lib_child_handler != dummy_handler"
Date: Fri, 09 Sep 2022 19:13:10 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> -      eassert (lib_child_handler != dummy_handler);
> -      signal_handler_t lib_child_handler_glib = lib_child_handler;
> -      catch_child_signal ();
> -      eassert (lib_child_handler == dummy_handler);
> -      lib_child_handler = lib_child_handler_glib;
> +      /* Apparently more recent versions of glib do not set this handler
> +         any more, so make sure the dance is needed before going for it.  */
> +      if (lib_child_handler != dummy_handler)
> +        {
> +          signal_handler_t lib_child_handler_glib = lib_child_handler;
> +          catch_child_signal ();
> +          eassert (lib_child_handler == dummy_handler);
> +          lib_child_handler = lib_child_handler_glib;

Perhaps Paul has some comments here; added to the CCs.




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

Previous Next


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