Detection of confinement failures