Re: git-apply segfault.
- From
- Dave 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