delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/15/16:02:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F3C1D16.20602@redhat.com>
Date: Wed, 15 Feb 2012 14:01:10 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Snapshot 20120214: fork: can't reserve memory for stack
References: <jhh1vj$u77$1 AT dough DOT gmane DOT org> <20120215204723 DOT GC27454 AT calimero DOT vinschen DOT de>
In-Reply-To: <20120215204723.GC27454@calimero.vinschen.de>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enigFADDB3CC3FED0FD4BEE33D02
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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
>=20
> I can't reproduce that (also on W7).  How big is bigfile-test.dll?
>=20
> 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.

--=20
Eric Blake   eblake AT redhat DOT com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enigFADDB3CC3FED0FD4BEE33D02
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJPPB0WAAoJEKeha0olJ0NqWYEH/A2j/HxacceYbNuVcdJN3uig
ynxDt6A02+F31ecb6Ldx2n42kYJON0x2eZckTTMJV+GtQ91bhvWjL2jFTNDptdm7
szCH7z40NP1gQ5a3ixRbE2lHz3SjXBJF19tiaOLHiHleFu/7E1IQuj3pmF+D+cu6
wb6014Syy6kRg9NthmiGUY5h5k5AEMkyuzwtDKWsc9zqTBKcf5THzZDSSsg2FlLr
wxECL3tJNQUilxJ5kPmWjOSF1XobPL7XkyWfNBd0QXiUrhhGnXtYUvOFYBogJ1mz
ejWjaDk44NvTk+eVQM2ENPZgPzZm4C4rv5WUuMu7n7YLR6fdQ9eJ9ZQJU4l5XzU=
=kvyw
-----END PGP SIGNATURE-----

--------------enigFADDB3CC3FED0FD4BEE33D02--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019