This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Snapshot 20120214: fork: can't reserve memory for stack


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]