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

Re: Recent gits corrupts repository

From
Øyvind A. Holm <sunny@sunbase.org>
Date
Oct 27, 2011, 07:30 UTC
Message-ID
<CAA787rmRqacu62O0Mzo4QYT=7FeB92QPvFUCuSBJ5__KMw92pA@mail.gmail.com>
In-Reply-To
<vpqk47qc40s.fsf@bauges.imag.fr>
On 27 October 2011 09:00, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 18 quoted lines
> Øyvind A. Holm <sunny@sunbase.org> writes:
> >   $ git status
> >   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.
> >   Aborted
>
> This looks very much like
>
>  http://thread.gmane.org/gmane.comp.version-control.git/184094
>
> for which a patch is pending in "next":
>
>  8f41c07 read-cache.c: fix index memory allocation

Argh, that was some wasted hours, should have searched the mailing list first. But hey, I'm not complaining. :) Glad there's a fix coming up. I cherry-picked 8f41c07, and it seems to work nicely. Thanks.

Regards, Øyvind

Previous: Matthieu Moy
Message 3 of 3 in “Recent gits corrupts repository”
  1. Øyvind A. HolmOct 27, 2011
  2. Matthieu MoyOct 27, 2011
  3. Øyvind A. HolmOct 27, 2011

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.