On 02/15/2012 01:47 PM, Corinna Vinschen wrote: > On Feb 15 11:45, Jehan Bing wrote: >> I'm getting the following error starting with cygwin snapshot >> 20120214 when running a git command: >> >> $ git add bigfile-test.dll >> 0 [main] git 7440 D:\dev_apps\cygwin\bin\git.exe: *** fatal >> error in forked process - fork: can't reserve memory for stack >> 0xAD0000 - 0xBD0000, Win32 error 487 > > I can't reproduce that (also on W7). How big is bigfile-test.dll? > > Eric, does git use pthreads and fork from a thread, by any chance?
/me rummages around in git.git Well, it certainly has both pthread_create and fork calls in the same files (at least run-command.c), although I'm not quire sure if it tries to actually fork from a pthread rather than from the main thread. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature