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

Re: git-apply segfault.

From
Linus Torvalds <torvalds@osdl.org>
Date
Feb 10, 2006, 19:22 UTC
Message-ID
<Pine.LNX.4.64.0602101120440.19172@g5.osdl.org>
In-Reply-To
<20060210183745.GI22611@redhat.com>
On Fri, 10 Feb 2006, Dave Jones wrote:
Show 5 quoted lines
>
> (gdb) bt
> #0  0x0000003287f73474 in memset () from /lib64/libc.so.6
> #1  0x0000003287f6c92a in calloc () from /lib64/libc.so.6
> #2  0x0000000000407399 in read_cache () at read-cache.c:537
Ouch. Looks like malloc heap corruption.
> git on hera is 1.1.6-1

Can you try running "valgrind" on it? That should show what corrupts the heap.

		Linus
Previous: Dave JonesNext: Dave Jones
Message 2 of 3 in “git-apply segfault.”
  1. Dave JonesFeb 10, 2006
  2. Linus TorvaldsFeb 10, 2006
  3. Dave JonesFeb 10, 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.