Stress-corrosion failures of main pipelines