Use the following code which is copied from the reference documentation for RegionCentroid
reg = Polygon[{{0, 0}, {1, 0}, {1.5, 0.5}, {1, 1}, {0, 1}, {-0.5, 0.5}}];
RegionCentroid[reg]
This crashes with a Beep and an unitialized kernel and nothing else. No error message.