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

Re: [BUG] seemingly-rare segfault in merge-tree

From
Taylor Blau <me@ttaylorr.com>
Date
Sep 20, 2022, 21:57 UTC
Message-ID
<Yyo3PF+dxrQ3Po/B@nand.local>
In-Reply-To
<nqp61q74-1oqs-9n1s-q7s9-r8741n3r735p@tzk.qr>
On Tue, Sep 20, 2022 at 11:24:00PM +0200, Johannes Schindelin wrote:
Show 9 quoted lines
> I am afraid that there is way more custom code from GitHub's internal fork
> involved in this report than meets the eye. The `result.tree` that is most
> likely the cause of the segmentation fault does not actually stem from
> `merge_incore_recursive()` as the linked source code might suggest.
>
> Instead, it stems from the `merge_incore_nonrecursive()` call in the
> custom code that allows to specify a merge base manually (rather than let
> `git merge-tree` perform a full recursive merge). Custom code, I need to
> add, that is nowhere to be seen in upstream Git.

Ah, thanks. I didn't recall off-hand the extent of the custom code GitHub is carrying to support merge-tree. If this has nothing to do with any code in the open-source project, then please feel free to drop the list from any more emails on this thread.

> I did hint at this custom code during the Git Contributor Summit, and
> there seemed to be enough interest that I had appended an item to my
> ever-growing todo list to upstream this.
Yes, that would be great.

Thanks, Taylor

Previous: Johannes Schindelin
Message 4 of 4 in “[BUG] seemingly-rare segfault in merge-tree”
  1. Taylor BlauSep 20, 2022
  2. Taylor BlauSep 20, 2022
  3. Johannes SchindelinSep 20, 2022
  4. Taylor BlauSep 20, 2022

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.