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

Re: Bug: git crashes on rebase reporting bogus memory corruption

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Nov 30, 2015, 05:39 UTC
Message-ID
<CAPig+cQBS2DVKkoyQWTRs6-zrXkEhrDnnZU0efh63B2B7Qu5CA@mail.gmail.com>
In-Reply-To
<CA+mi_8Y5bx-RDCV2oFfFRVZz-Jjcii7QbB6k45B5YsLoed-b8g@mail.gmail.com>

On Fri, Nov 27, 2015 at 9:08 AM, Daniele Varrazzo <daniele.varrazzo@gmail.com> wrote:

Show 21 quoted lines
> I was trying to rewrite history in a small repos and replace
> indentation tabs with spaces. Steps to reproduce:
>
> git clone https://github.com/dvarrazzo/suponoff.git
> git checkout -b gitbug
> git config core.whitespace
> trailing-space,tabwidth=4,tab-in-indent,space-before-tab
> git rebase  6af85bcde9a30c3841b754bbb60c03ba58b88a50 --whitespace=fix
>
> error reported on crash is:
>
> Applying: Read configuration from supervisor config itself, added groups tags
> *** Error in `git': malloc(): memory corruption: 0x00000000023f9420 ***
>
> Tested with:
>
> CentOS Linux release 7.1.1503 (Core)
> git: 1.8.3.1
>
> Ubuntu 14.04.3 LTS
> git: 1.9.1

Bisection indicates that this bug was fixed by 407a792 (apply: count the size of postimage correctly, 2015-01-16), which is included in Git 2.3.1.

Previous: Daniele Varrazzo
Message 3 of 3 in “Bug: git crashes on rebase reporting bogus memory corruption”
  1. Daniele VarrazzoNov 27, 2015
  2. Daniele VarrazzoNov 27, 2015
  3. Eric SunshineNov 30, 2015

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.