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

git checkout crashes after server being updated to Debian X86_64

From
Raffael Reichelt <raffael.reichelt@gmail.com>
Date
Oct 18, 2016, 15:17 UTC
Message-ID
<6B2BE996-F696-4EB4-91CA-849D40B8802D@gmail.com>
Hello! 
I have a serious problem with git, After my provider had updated to a X86_64 architecture git crashes with various memory-related errors. This is happening remote when pushing to the repository from my local machine as well as trying it on a shell on the server itself.
This are the error-messages:

fatal: Out of memory, realloc failed fatal: recursion detected in die handler fatal: recursion detected in die handler

or fatal: unable to create threaded lstat fatal: recursion detected in die handler or fatal: unable to create threaded lstat *** Error in `git': double free or corruption (fasttop): 0x0000000000a8ade0 *** fatal: recursion detected in die handler Aborted

It’s obviously not a problem of the repository - happens with all of them. I think it is also not a question of size - happens with a 80M Repository as well as with a 500M one.
Any way: did a 

git fsck Prüfe Objekt-Verzeichnisse: 100% (256/256), Fertig. Prüfe Objekte: 100% (56305/56305), Fertig.

git gc --auto --prune=today —aggressive git repack

Additionally I played around some config parameters  so my config now looks like:
[http]
    postbuffer = 524288000
[pack]
    threads = 1
    deltaCacheSize = 128m
    packSizeLimit = 128m
    windowMemory = 128m
[core]
    packedGitLimit = 128m
    packedGitWindowSize = 128m
    repositoryformatversion = 0
    filemode = true
    bare = true
I am running 
git version 2.1.4
 
on
Linux infongp-de65 3.14.0-ui16196-uiabi1-infong-amd64 #1 SMP Debian 3.14.73-2~ui80+4 (2016-07-13) x86_64 GNU/Linux
Anyone out there to help me getting out of this trouble?

Regards, Raffael

Next: René Scharfe
Message 1 of 7 in “git checkout crashes after server being updated to Debian X86_64”
  1. Raffael ReicheltOct 18, 2016
  2. René ScharfeOct 18, 2016
  3. Raffael ReicheltOct 18, 2016
  4. Duy NguyenOct 19, 2016
  5. Raffael ReicheltOct 19, 2016
  6. Add a knob to abort on die() (was Re: git checkout crashes after ...)Duy Nguyen, Oct 19, 2016
  7. Jeff KingOct 19, 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.