logging the crash dump removed because it causes hangs when the crash has to do with memory.  Replaced with a function the logs the stack trace to a fd