GNU bug report logs - #58960
29.0.50; Assert fails when browsing an URL

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Wed, 2 Nov 2022 04:49:01 UTC

Severity: normal

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


Message #25 received at 58960-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, Robert Pluim <rpluim <at> gmail.com>
Cc: gerd.moellmann <at> gmail.com, 58960-done <at> debbugs.gnu.org,
 tino.calancha <at> gmail.com
Subject: Re: bug#58960: 29.0.50; Assert fails when browsing an URL, bug#58960:
 29.0.50; Assert fails when browsing an URL
Date: Wed, 2 Nov 2022 13:29:39 -0700
[Message part 1 (text/plain, inline)]
On 11/2/22 08:09, Eli Zaretskii wrote:
>> Why canʼt we just call `child_signal_init' from `init_process_emacs'
>> instead of `create_process'?
> Maybe we could.  Assuming the signal stuff is already set so early, I
> don't know exactly how posix_spawn works.

child_signal_init is reasonably heavyweight in that it keeps a couple of 
file descriptors open, so the idea is to be lazy and not call it unless 
Emacs plans to have children.

I installed the attached, which is like Robert's patch except it keeps 
the critical section smaller and checks the declaration of the 
now-extern function. Please give it a try. I'll boldly close the bug 
report; we can reopen it if I'm wrong.
[0001-Initialize-child-signal-handling-before-posix_spawn-.patch (text/x-patch, attachment)]

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

Previous Next


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