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

Re: Potential bug in pack-objects.c

From
Jeff King <peff@peff.net>
Date
Jan 22, 2019, 07:29 UTC
Message-ID
<20190122072946.GB28975@sigill.intra.peff.net>
In-Reply-To
<CAGAu0HVeQFA_O8_hsZbzRi9X35fF3DAeUaSd993JF=NTwaZP1Q@mail.gmail.com>
On Mon, Jan 21, 2019 at 10:10:16PM +0000, Alex Netkachov wrote:
Show 5 quoted lines
> 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/
-Peff
Previous: Alex NetkachovNext: Alex Netkachov
Message 2 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.