Railway glitch delays, halts trains in Poland, Italy