Parallel races in genrb

Description

Related to ICU-13595, in parallel builds the use of genrb in data/ will occasionally segfault. Many variations of the input files but the segfault always looks like this:

ICU4C 67.1, on Linux.

Activity

Show:
Markus Scherer
August 4, 2020, 11:18 PM

Don’t see a reply from Ross; I just approved the PR.

Shane Carr
July 10, 2020, 7:29 PM
Ross Burton
June 29, 2020, 10:33 AM

Some comments from a colleague:

The specific bug is that rules.mk has:

which creates a file and numerous rules like

which quietly read it.

There is no prerequisite for the former to complete first. The race is extra complicated to fix as rules.mk is itself generated through a custom in-tree python tool.

Markus Scherer
June 24, 2020, 6:02 PM

Can you describe the problem/symptom in more detail? Which version of ICU? Platform? Command lines?

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Shane Carr

Reporter

Ross Burton

Components

Priority

medium

Time Needed

Hours

Fix versions