read-write race in vtkHull::ComputePlaneDistances with an std::vector
vtkSMPTools::For(1, numPts, [&](vtkIdType ptId, vtkIdType endPtId) {
<snip>
if (v < planes[j * 4 + 3])
{
planes[j * 4 + 3] = v;
}
}); // end lambda
Here planes
(an std::vector) is read and written at the same index by different threads simultaneously.
Same code is also copy-pasted into TestSMPFeatures.cxx.