Dumping core?

senthil kumar lihtnes78 at yahoo.com
Thu Apr 26 02:31:53 GMT 2007

On Thu, Apr 19, 2007 at 08:20:45PM -0700, senthil kumar wrote:
> > We faced a similar issue on samba 3.0.23c on Linux 2.6 kernel - failure
> > to dump core.

> Does this got a bugzilla.samba.org bug ID?  I didn't find it while
> searching for 'core'.
I am not sure about it.

> > I was able to resolve it by adding:
> > prctl(PR_SET_DUMPABLE, 1);
> > in the dump_core function in source/lib/fault.c

> Isn't prctl() Linux only?
yes, we run samba server only on linux. We needed a quick fix,
so I jumped in for this solution.

> Therefore revisions 22318 and 22320 include the solution which fixes the
> problem too and is portable to non Linux systems.
I will take a look at it. Thanks.


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the samba-technical mailing list