I get this MQX error so often I now consider myself an expert.
I would turn on my "generate Listing file" on the Linker compiler settings then do something like this:
Set up a com channel for debug.
_io_set_handle(IO_STDIN, ch1_fh);
_io_set_handle(IO_STDOUT, ch1_fh);
_int_install_unexpected_isr();
The port will spit out the details in particular the program counter where the error occurs.
Find it in you list file and all will be revealed.