Subject: Re: bug#75292: 31.0.50; igc: (file-error "Doing vfork" "Bad address")

From: Eli Zaretskii <[email-masked]>
Date: Thu, 02 Jan 2025 22:35:06 +0200

> Date: Thu, 2 Jan 2025 11:41:29 -0800
> Cc: [email-masked]
> From: Paul Eggert <[email-masked]>
> 
> On 2025-01-02 11:29, Eli Zaretskii wrote:
> >>>> Debugger entered--Lisp error: (file-error "Doing vfork" "Bad address")
> >>>>    (call-process-shell-command "grep -anE '^:(Sourc.URL\\+?):[ \11[]+https://curiouscoding\\.nl/posts/static-search-tree/[]]*$' '/home/yantar92/Org/rss_archive_2019.org'" nil t)
> ...
> > Could it be that this started happening when we began using
> > posix_spawn instead of vfork?
> 
> If Emacs uses posix_spawn instead of vfork, shouldn't file-error report 
> "Doing posix_spawn" instead of "Doing vfork"? Truth in advertising and 
> all that....

We should, but it looks like someone didn't want to condition the
value of CHILD_SETUP_ERROR_DESC by USABLE_POSIX_SPAWN...