Oscar Piastri had to take evasive action to avoid a crash with Aston Martin's Lance Stroll during P2.