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

Bug: git crashes on rebase reporting bogus memory corruption

From
DVDaniele Varrazzo <daniele.varrazzo@gmail.com>
Date
Nov 27, 2015, 14:08 UTC
Message-ID
<CA+mi_8Y5bx-RDCV2oFfFRVZz-Jjcii7QbB6k45B5YsLoed-b8g@mail.gmail.com>
Bogus corruption is bogus because I've reproduced it on different machines.

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 Linux 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux libc: 2.17-78.el7

Ubuntu 14.04.3 LTS git: 1.9.1 libc: 2.19-0ubuntu6 kernel: Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

-- Daniele
Next: Daniele Varrazzo
Message 1 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.