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

Re: a bug when execute "git status" in git version 1.7.7.431.g89633

From
JHJohn Hsing <tsyj2007@gmail.com>
Date
Oct 23, 2011, 08:35 UTC
Message-ID
<4EA3D1BB.2010802@gmail.com>
In-Reply-To
<vpqfwiknmh3.fsf@bauges.imag.fr>

ok,when i finish compiling git 1.7.7.431.g89633,I use it to check Cyanogenod(an Android mod source) by “git status”,it happend this error!but when i reuse git v1.7.7,it is OK!so i think it is a bug in git 1.7.7.431.g89633!My OS is Ubuntu Linux 10.10,sorry for my bad english! If you want to reproduce this error,please excute "git status" in https://github.com/CyanogenMod/android_packages_apps_DSPManager.git repo!

于2011年10月23日 星期日 16时25分28秒,Matthieu Moy写到:
Show 18 quoted lines
> John Hsing <tsyj2007@gmail.com> writes:
>
>> the error:
>
> When does this error occur? is it reproducible on any repository? Which
> OS?
>
>> 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.
>
Previous: Matthieu MoyNext: René Scharfe
Message 3 of 17 in “a bug when execute "git status" in git version 1.7.7.431.g89633”
  1. John HsingOct 22, 2011
  2. Matthieu MoyOct 23, 2011
  3. John HsingOct 23, 2011
  4. René ScharfeOct 23, 2011
  5. René ScharfeOct 23, 2011
  6. Jeff KingOct 23, 2011
  7. René ScharfeOct 23, 2011
  8. read-cache.c: fix index memory allocationRené Scharfe, Oct 24, 2011
  9. Junio C HamanoOct 24, 2011
  10. René ScharfeOct 24, 2011
  11. René ScharfeOct 24, 2011
  12. Nguyen Thai Ngoc DuyOct 24, 2011
  13. Nguyen Thai Ngoc DuyOct 25, 2011
  14. René ScharfeOct 25, 2011
  15. Junio C HamanoOct 25, 2011
  16. Junio C HamanoOct 24, 2011
  17. René ScharfeOct 24, 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.