generating core dumps in winbindd and smbd

Andrew Bartlett abartlet at samba.org
Fri Mar 28 06:31:40 GMT 2003


On Fri, 2003-03-28 at 17:17, Tim Potter wrote:
> 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.

Isn't that what the mkdir() stuff is about?

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030328/dd6247ce/attachment.bin


More information about the samba-technical mailing list