git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: git 2.7.0 crashes when top-down memory allocation preference is set

From
KXKlinger, Xia <xia.klinger@cognex.com>
Date
Feb 4, 2016, 13:22 UTC
Message-ID
<43fbdf617f8d412db7b0d5c7d06df3ad@USNAEXCP2.pc.cognex.com>
In-Reply-To
<alpine.DEB.2.20.1602040844330.2964@virtualbox>
Hi Johannes,
I am not sure the Fast Track release means. Do you refer to Windows 10 builds (updates)? I am running Windows 7 x64 and haven't gone to Windows 10.
Default memory allocation in Windows is bottom-up, which means the lowest addresses are consumed the first. This is all fine until the address is over 4GB on x64 OS with more than 4GB physical memories. Many applications don't handle it properly and will crash. Windows provides a registry key to force OS allocating memory from the highest address available first and going down the chain as a way to test application's memory management. That's what I did on my host to test our own software. And it affected Git 2.7.0.2 (latest build for Windows from 2/2/2016). 
I had to rollback to Git 1.8.4 to work around this problem. 1.8.4 is a 32-bit build not 64-bit build. That's why it worked so far.
Thanks
Xia
-----Original Message-----
From: Johannes Schindelin [mailto:Johannes.Schindelin@gmx.de] 
Sent: Thursday, February 04, 2016 2:46 AM
To: Klinger, Xia
Cc: git@vger.kernel.org
Subject: Re: git 2.7.0 crashes when top-down memory allocation preference is set
Hi,
On Wed, 3 Feb 2016, Klinger, Xia wrote:
> When the memory allocation preference is set to be Top-down on Windows 
> and there are more than 4GB memory available, git will crash. The 
> symptom is "Segmentation Fault".
This might be related to https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_git-2Dfor-2Dwindows_git_issues_627&d=CwIBAg&c=VCWpAYkS3z1bOCIxc-BPGZarCq9MRCAVxZJE051VqH8&r=67DEVp3lXDRlQoHC5xXHqK4qsTItx9yvwX98R_Hn9tg&m=jBFYZYDLdCLg-WMJPpbvl9rXn4syBv9RAGsbi106m3Y&s=MaQ04pu8kp8pdAOjVSd1PCqEwsYMpxpsFiqZ100gkrk&e= 

Do you have access to the Fast Track releases? If so, Windows 10 build 14257 was released to it and purportedly fixes these issues.

Ciao, Johannes

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 7 in “git 2.7.0 crashes when top-down memory allocation preference is set”
  1. Klinger, XiaFeb 3, 2016
  2. Johannes SchindelinFeb 4, 2016
  3. Klinger, XiaFeb 4, 2016
  4. Johannes SchindelinFeb 4, 2016
  5. Klinger, XiaFeb 4, 2016
  6. Johannes SchindelinFeb 4, 2016
  7. Johannes SchindelinFeb 11, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.