bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58960: 29.0.50; Assert fails when browsing an URL, bug#58960: 29.0.5


From: Paul Eggert
Subject: 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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0

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.

Attachment: 0001-Initialize-child-signal-handling-before-posix_spawn-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]