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

Do not use zlib 1.1.3 with git packs!

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 29, 2006, 00:52 UTC
Message-ID
<Pine.LNX.4.63.0604290245510.30565@wbgn013.biozentrum.uni-wuerzburg.de>
Hi,

I had a strange effect when trying to repack a git repository on my iBook: first, "git-repack -a -d" would quit without an error message when about 57% of the objects were written (*not* when deltifying them!).

It became even stranger when I tracked it to a segmentation fault in adler32(), where the debugger insisted that a buffer was NULL, but the calling code insisted it was not.

Upgrading to zlib 1.2.3 helped. That is, after I had a complete systen fsck-up, since virtually every binary, including su, login and getty, are linked to zlib on Mac OS X. (Yeah, yeah, no Linux, I know.)

Ciao, Dscho

P.S.: This _might_ be related to the git-repack issue that came up a few days ago.

Next: Johannes Schindelin
Message 1 of 4 in “Do not use zlib 1.1.3 with git packs!”
  1. Johannes SchindelinApr 29, 2006
  2. Johannes SchindelinApr 29, 2006
  3. Nicolas PitreApr 29, 2006
  4. Junio C HamanoApr 29, 2006

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.