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

git bundle verify segfaults

From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Date
May 24, 2019, 17:48 UTC
Message-ID
<20190524174835.GA2068@chatter.i7.local>
Hello:

I seem to be getting a segfault trying to verify bundles created from linux.git. It's easy to reproduce:

$ cd linux
$ git show-ref master
c50bbf615f2f0028ad1771506ef8807130ccc2ce refs/heads/master
$ git bundle create /tmp/linux.bundle master
Enumerating objects: 6705678, done.
Counting objects: 100% (6705678/6705678), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1037089/1037089), done.
Writing objects: 100% (6705678/6705678), 1.19 GiB | 97.81 MiB/s, done.
Total 6705678 (delta 5657955), reused 6664576 (delta 5622679)
$ cd /tmp
$ git bundle verify linux.bundle
BUG: refs.c:1750: attempting to get main_ref_store outside of repository
Aborted (core dumped)
$ git --version
git version 2.21.0

Best, -K

Next: SZEDER Gábor
Message 1 of 2 in “git bundle verify segfaults”
  1. Konstantin RyabitsevMay 24, 2019
  2. SZEDER GáborMay 24, 2019

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.