vfork: Resource temporarily unavailable

Ken Brown kbrown@cornell.edu
Sun Jul 9 15:56:53 GMT 2023


On 7/8/2023 9:37 PM, Eliot Moss via Cygwin wrote:
> Dear cygwin-ers --
> 
> I'm running 64-bit cygwin 3.4.7-1 and lately I've been getting these vfork
> errors from emacs-gtk when I try to run dired on a directory.  I believe 
> this
> tries to fork ls to get the necessary file information.  I've tried 
> updating
> cygwin, which runs rebase, and I've tried rebooting my Windows 11 
> system.  I
> thought the newer 64-bit Cygwin was supposed to have overcome this historic
> issue in 32-bit Cygwin ...
> 
> Anyway, I attach output from cygcheck -s -v -r -h and also from ldd
> /usr/bin/emacs.
> 
> Any guidance on fixing this would be appreciated.  IIRC, cyggif is the 
> library
> that had a conflict.

Your cygcheck output shows that you're using the test release of emacs, 
which is built with the native compilation feature.  As explained in the 
release announcement, fork failures are to be expected unless you take 
certain steps to make sure that the .eln files get rebased:

   https://cygwin.com/pipermail/cygwin/2022-September/252217.html

Ken


More information about the Cygwin mailing list