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

Re: git-apply segfault.

From
DJDave Jones <davej@redhat.com>
Date
Feb 10, 2006, 19:41 UTC
Message-ID
<20060210194127.GM22611@redhat.com>
In-Reply-To
<Pine.LNX.4.64.0602101120440.19172@g5.osdl.org>
On Fri, Feb 10, 2006 at 11:22:46AM -0800, Linus Torvalds wrote:
 > 
 > 
 > On Fri, 10 Feb 2006, Dave Jones wrote:
 > >
 > > (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.
Indeed. Self-inflicted in this case.
 > > git on hera is 1.1.6-1
 > Can you try running "valgrind" on it? That should show what corrupts the 
 > heap.

Actually it's a glibc bug (fixed last September, but not backported to older releases). Jakub is working on an FC4 update.

(It also only hits you if you're a loony and have something like
 export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
 in your ~/.bashrc)
		Dave
Previous: Linus Torvalds
Message 3 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.