generating core dumps in winbindd and smbd

Tim Potter tpot at samba.org
Fri Mar 28 06:17:06 GMT 2003


On Thu, Mar 27, 2003 at 09:41:55PM -0800, Richard Sharpe wrote:

> On Fri, 28 Mar 2003, Tim Potter wrote:
> 
> > I was poking around in the segv signal handling code today as I'm in a
> > situation where an actual core dump would be handy to have.
> > 
> > The intent of the current code looks like core dumps are to be made in
> > $LOGDIR/corefiles but the dump_core() function is never executed as the
> > argument to fault_setup() is never used.
> > 
> > Do we want to keep the existing behaviour or shall I fix it to do what
> > was intended?
> 
> I would say do what was intended. I often need core files :-(

It would also be nice to have a core-<server>-<pid> filename for the
core dump but I'm not sure how portable that is.


More information about the samba-technical mailing list