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

Re: [BUG] Memory corruption crash with "git bisect start"

From
Christian Couder <christian.couder@gmail.com>
Date
Feb 14, 2017, 14:52 UTC
Message-ID
<CAP8UFD12tQmWRV29BLO+KJGcGHXOqPaOLbovL7kTBHPWdyMM3g@mail.gmail.com>
In-Reply-To
<A7AEC719-6E15-4622-8E21-3E11BAF74A3C@linaro.org>

On Tue, Feb 14, 2017 at 12:56 PM, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> wrote:

> I'm seeing the following memory corruption crash on a script-constructed repo when starting git bisect.  I'm seeing this crash both with system git of Ubuntu Xenial and with freshly-compiled git master from the official repo.
>
> The log of the crash is attached.
Yeah, thanks for the report.

I took a look and it looks like git bisect crashes when it runs git show-branch and it can be reproduced with just `git show-branch bottom` instead of `git bisect start bottom top`.

> It is possible that the bug is in Xenial glibc, in which case -- please let me know and I will take it up with the glibc developers.
I have Ubuntu GLIBC 2.23-0ubuntu5 and I get a crash too.
Previous: Maxim Kuvyrkov
Message 2 of 2 in “[BUG] Memory corruption crash with "git bisect start"”
  1. Maxim KuvyrkovFeb 14, 2017
  2. Christian CouderFeb 14, 2017

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.