Matteo Pelucchi (IAM) beat Marcel Kittel (Giant Alpecin) into second in a sprint finish but only a handful of riders were able to coast home without alarm.
As the video above shows, a monstrous crash brought down scores of riders and ended up blocking the whole road.
Brave Brooks battles back from BMX horror crash to land brilliant Olympic bronze
No serious injuries were announced.
The race director told AFP: “There is no news of serious injuries.”
You can relive the final moments of the crazy race with full commentary below.
Kittel, who was wearing the yellow jersey on stage two, tweeted about his near miss as he actually rode over a competitors bike to avoid injury.
Clásica San Sebastián
Powless sprints to Clasica Cicliste San Sebastian victory
Charlotte Worthington's out of the kitchen and into the Olympic fire