Perhaps CP_nr is out of range and act just happens to be the victim?
Mainframe assembler programmer by trade. C coder when I can.