The solution is to examine or debug the code to determine what is throwing the exception.

Better yet, remove the catch(...) handler, and configure the system to produce a dump file when it...