From: Alex Netkachov Date: Tue, 22 Jan 2019 15:33:25 GMT Subject: Re: Potential bug in pack-objects.c Message-ID: In-Reply-To: <20190122072946.GB28975@sigill.intra.peff.net> On Tue, 22 Jan 2019 at 07:29, Jeff King wrote: > > 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