OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
.forward file crashes and corresponding core dump files

From: Ronald F. Guilmette (rfgtristatelogic.com)
Date: Thu Jan 24 2008 - 14:28:13 CST


My apologies if this is an FAQ. In fact, I may have even asked this
question myself in prior years, but I seem to have forgotten the
answer. :-)

I've got a .forward file in the home directory of one specific account.
That invokesd a program which I write which, sadly, is crashing on
occasion with signal 11 (segfault). I know this because my nightly
log anaylzer (this is on FreeBSD) tells me so.

So anyway, I want to run gdb on the .core file, but I can't seem to
find the bleedin' thing. I looked in the home directory of the
account in question, and I don't see any .core file there. I also
looked in /var/spool/postfix and also didnt' see any .core file there
either.

So where should I actually be looking for the .core file that corresponds
to the (crashing) .forward file in question?

Or is Postfix setting coredumpsize to zero before my .forward file
commands are executed?

Regards,
rfg