Re: [BUG] Segfault in "git submodule"
- From
- Raymond Jennings <shentino@gmail.com>
- Date
- Sep 29, 2018, 16:43 UTC
- Message-ID
- <CAGDaZ_oS4bjzd67T5atJrJ6_x2Cfr8JgnoGWePzA53mb2ObdNg@mail.gmail.com>
- In-Reply-To
- <CACsJy8BYr6cVtAcDO9w-tfgEiWnbvQCgSR7p3OFKbqVkPA1Gaw@mail.gmail.com>
I have a repo, but it appears to be specific to staging area state. It only segfaults when I have a certain file deleted.
Where do you want me to upload it? On Sat, Sep 29, 2018 at 8:34 AM Duy Nguyen <pclouds@gmail.com> wrote:
Show 13 quoted lines
> > 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