Snapshot 20120214: fork: can't reserve memory for stack
Eric Blake
eblake@redhat.com
Wed Feb 15 21:01:00 GMT 2012
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 eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120215/6aeb9e72/attachment.sig>
More information about the Cygwin
mailing list