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

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

> From: Ihor Radchenko <[email-masked]>
> Cc: [email-masked], [email-masked]
> Date: Thu, 02 Jan 2025 19:37:00 +0000
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > Could it be that this started happening when we began using
> > posix_spawn instead of vfork?  If you rebuild Emacs disabling
> > USABLE_POSIX_SPAWN, does the problem go away?
> 
> Should I pass some ./configure option? Or do you want me to modify the
> sources directly?

I think you just need to recompile callproc.c and then relink.  Like
this:

  $ cd src
  $ make callproc.o -W callproc.c MYCPPFLAGS='-DUSABLE_POSIX_SPAWN=0'
  $ cd .. && make