The incident is causing major disruption to Fife and Tayside services.