Hi,
Please check the status of NMI pin. If it is low and NMI pin is not been disabled, the NMI interrupt may happen when MCU go out of ROM code. Please read 6.3.3 in Reference Manual for detail.
If NMI happened but it is not serviced, the MCU will go into Handler mode. Then no other interrupts can be serviced.
Regards
Jing