Re: a bug when execute "git status" in git version 1.7.7.431.g89633
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Oct 23, 2011, 08:25 UTC
- Message-ID
- <vpqfwiknmh3.fsf@bauges.imag.fr>
- In-Reply-To
- <4EA20C5B.3090808@gmail.com>
John Hsing <tsyj2007@gmail.com> writes:
> the error:
When does this error occur? is it reproducible on any repository? Which OS?
Show 7 quoted lines
> git: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) > (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct > malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= > (unsigned long)((((__builtin_offsetof (struct malloc_chunk, > fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - > 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) > == 0)' failed.
The assertion is violated outside the source code of Git itself, so either Git calls malloc incorrectly, or this is a bug in your libc.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/