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

Re: [BUG] Segfault in "git submodule"

From
Duy Nguyen <pclouds@gmail.com>
Date
Sep 29, 2018, 15:33 UTC
Message-ID
<CACsJy8BYr6cVtAcDO9w-tfgEiWnbvQCgSR7p3OFKbqVkPA1Gaw@mail.gmail.com>
In-Reply-To
<87bm8giapu.fsf@evledraar.gmail.com>

On Sat, Sep 29, 2018 at 5:31 PM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

> > #1  refs_resolve_ref_unsafe (refs=0x0,
> > refname=refname@entry=0x55e863062253 "HEAD",
> > resolve_flags=resolve_flags@entry=1, oid=oid@entry=0x7ffdc834b1c0,
> > flags=flags@entry=0x7ffdc834b1bc) at refs.c:1493

refs is NULL. It looks like somebody fails to get the right submodule ref store (or tries to get it but fails to check if it may return NULL)

-- 
Duy
Previous: Ævar Arnfjörð BjarmasonNext: Raymond Jennings
Message 3 of 7 in “[BUG] Segfault in "git submodule"”
  1. Raymond JenningsSep 29, 2018
  2. Ævar Arnfjörð BjarmasonSep 29, 2018
  3. Duy NguyenSep 29, 2018
  4. Raymond JenningsSep 29, 2018
  5. Stefan BellerOct 1, 2018
  6. Raymond JenningsOct 1, 2018
  7. Raymond JenningsOct 2, 2018

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.