Parallel races in genrb
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.
Don’t see a reply from Ross; I just approved the PR.
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.
Can you describe the problem/symptom in more detail? Which version of ICU? Platform? Command lines?