that tries to write a call trace to error log (or if that fails to stderr) before triggering a core dump