Re: Potential bug in pack-objects.c
- From
- Alex Netkachov <alex.netkachov@gmail.com>
- Date
- Jan 22, 2019, 15:33 UTC
- Message-ID
- <CAGAu0HW=N2nQr7zq_EVpegJDc6_womFDCLU5SCoCQw6cmzw8xg@mail.gmail.com>
- In-Reply-To
- <20190122072946.GB28975@sigill.intra.peff.net>
On Tue, 22 Jan 2019 at 07:29, Jeff King <peff@peff.net> wrote:
Show 12 quoted lines
> > On Mon, Jan 21, 2019 at 10:10:16PM +0000, Alex Netkachov wrote: > > > On the location builtin/pack-objects.c:1996 the code tries to set > > read_lock (pthread_mutex_lock(&read_mutex)) and fails. I suspect that > > read_mutex is not initialised yet. It is initialised in > > init_threaded_search, which is called later in prepare_pack (through > > ll_find_deltas). > > This sounds like the same bug being discussed in: > > http://public-inbox.org/git/20190118022736.36832-1-phogg@novamoon.net/
It is exactly the same thing. Thank you. Hope it will be applied soon and released.
Kind regards, Alex