{"thread":{"id":"40901","subject":"Bug: git crashes on rebase reporting bogus memory corruption","startedAt":"2015-11-27T14:08:52Z","lastAt":"2015-11-30T05:39:58Z","messageCount":3,"participants":["Daniele Varrazzo","Eric Sunshine"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"273797","messageId":"CA+mi_8Y5bx-RDCV2oFfFRVZz-Jjcii7QbB6k45B5YsLoed-b8g@mail.gmail.com","threadId":"40901","inReplyTo":null,"subject":"Bug: git crashes on rebase reporting bogus memory corruption","fromName":"Daniele Varrazzo","fromEmail":"daniele.varrazzo@gmail.com","sentAt":"2015-11-27T14:08:52Z","receivedAt":"2015-11-27T14:08:52Z","isPatch":false,"sender":{"key":"daniele.varrazzo@gmail.com","avatar":null},"body":"Bogus corruption is bogus because I've reproduced it on different machines.\n\nI was trying to rewrite history in a small repos and replace\nindentation tabs with spaces. Steps to reproduce:\n\ngit clone https://github.com/dvarrazzo/suponoff.git\ngit checkout -b gitbug\ngit config core.whitespace\ntrailing-space,tabwidth=4,tab-in-indent,space-before-tab\ngit rebase  6af85bcde9a30c3841b754bbb60c03ba58b88a50 --whitespace=fix\n\nerror reported on crash is:\n\nApplying: Read configuration from supervisor config itself, added groups tags\n*** Error in `git': malloc(): memory corruption: 0x00000000023f9420 ***\n\n\nTested with:\n\nCentOS Linux release 7.1.1503 (Core)\ngit: 1.8.3.1\nLinux 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015\nx86_64 x86_64 x86_64 GNU/Linux\nlibc: 2.17-78.el7\n\nUbuntu 14.04.3 LTS\ngit: 1.9.1\nlibc: 2.19-0ubuntu6\nkernel: Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC\n2014 x86_64 x86_64 x86_64 GNU/Linux\n\n\n-- Daniele\n"},{"id":"273801","messageId":"CA+mi_8ap9676PHKyuK1kdmLm9WLKO3XTUunjF8cwFyULoL=XOw@mail.gmail.com","threadId":"40901","inReplyTo":"CA+mi_8Y5bx-RDCV2oFfFRVZz-Jjcii7QbB6k45B5YsLoed-b8g@mail.gmail.com","subject":"Re: Bug: git crashes on rebase reporting bogus memory corruption","fromName":"Daniele Varrazzo","fromEmail":"daniele.varrazzo@gmail.com","sentAt":"2015-11-27T16:29:29Z","receivedAt":"2015-11-27T16:29:29Z","isPatch":false,"sender":{"key":"daniele.varrazzo@gmail.com","avatar":null},"body":"On Fri, Nov 27, 2015 at 2:08 PM, Daniele Varrazzo\n<daniele.varrazzo@gmail.com> wrote:\n> Bogus corruption is bogus because I've reproduced it on different machines.\n>\n> I was trying to rewrite history in a small repos and replace\n> indentation tabs with spaces. Steps to reproduce:\n\nMessing up with that repo. Not sure what reportedly originally still\nworks. This should remain as it is:\n\n  git clone -b gitbug https://github.com/dvarrazzo/suponoff.git\n  cd suponoff/\n  git config core.whitespace\ntrailing-space,tabwidth=4,tab-in-indent,space-before-tab\n  git rebase  6af85bcde9a30c3841b754bbb60c03ba58b88a50 --whitespace=fix\n\n-- Daniele\n"},{"id":"273823","messageId":"CAPig+cQBS2DVKkoyQWTRs6-zrXkEhrDnnZU0efh63B2B7Qu5CA@mail.gmail.com","threadId":"40901","inReplyTo":"CA+mi_8Y5bx-RDCV2oFfFRVZz-Jjcii7QbB6k45B5YsLoed-b8g@mail.gmail.com","subject":"Re: Bug: git crashes on rebase reporting bogus memory corruption","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2015-11-30T05:39:58Z","receivedAt":"2015-11-30T05:39:58Z","isPatch":false,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Fri, Nov 27, 2015 at 9:08 AM, Daniele Varrazzo\n<daniele.varrazzo@gmail.com> wrote:\n> I was trying to rewrite history in a small repos and replace\n> indentation tabs with spaces. Steps to reproduce:\n>\n> git clone https://github.com/dvarrazzo/suponoff.git\n> git checkout -b gitbug\n> git config core.whitespace\n> trailing-space,tabwidth=4,tab-in-indent,space-before-tab\n> git rebase  6af85bcde9a30c3841b754bbb60c03ba58b88a50 --whitespace=fix\n>\n> error reported on crash is:\n>\n> Applying: Read configuration from supervisor config itself, added groups tags\n> *** Error in `git': malloc(): memory corruption: 0x00000000023f9420 ***\n>\n> Tested with:\n>\n> CentOS Linux release 7.1.1503 (Core)\n> git: 1.8.3.1\n>\n> Ubuntu 14.04.3 LTS\n> git: 1.9.1\n\nBisection indicates that this bug was fixed by 407a792 (apply: count\nthe size of postimage correctly, 2015-01-16), which is included in Git\n2.3.1.\n"}]}