Roller coaster derails, stranding riders