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

Re: [PATCH] t4053: avoid race when killing background processes

From
Jeff King <peff@peff.net>
Date
Aug 11, 2023, 14:44 UTC
Message-ID
<20230811144403.GA2303200@coredump.intra.peff.net>
In-Reply-To
<2d9e9b59-bf78-8470-0731-3cd7fe15a727@gmail.com>
On Fri, Aug 11, 2023 at 10:56:40AM +0100, Phillip Wood wrote:
Show 10 quoted lines
> This is only a fix for the test failure that Peff saw when running with
> --stress.
> 
> > which
> > presumably is a symptom that somebody is trying to read from
> > a pipe that nobody is making progress to write into?
> 
> That or a process blocking when tying to open a fifo seems the mostly likely
> cause but I can't see where that is happening. As you say this patch does
> not obviously change anything that would be causing the test to hang.

Yeah, sorry if my initial report was unclear. It was while digging for the cause of the hang that I ran into the racy failures. This patch looks good for fixing the race. I'm still waiting to hit the hang again to get more data. But if it never happens again, then that is a success of sorts. :)

-Peff
Previous: Phillip WoodNext: Junio C Hamano
Message 4 of 5 in “t4053: avoid race when killing background processes”
  1. t4053: avoid race when killing background processesPhillip Wood via GitGitGadget, Aug 10, 2023
  2. Junio C HamanoAug 10, 2023
  3. Phillip WoodAug 11, 2023
  4. Jeff KingAug 11, 2023
  5. Junio C HamanoAug 11, 2023

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.