On the fracture of constrained layers