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

Re: Potential bug in pack-objects.c

From
ANAlex 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

Previous: Jeff King
Message 3 of 3 in “Potential bug in pack-objects.c”
  1. Alex NetkachovJan 21, 2019
  2. Jeff KingJan 22, 2019
  3. Alex NetkachovJan 22, 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.