The problem is almost always caused by the use of the "C" programming language. Unless you have access to the source code then the easiest way to recover is to reboot.