Dumping core?

Lars Müller lars at samba.org
Fri Apr 20 07:41:34 GMT 2007

Hi Senthil,

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 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?

Therefore revisions 22318 and 22320 include the solution which fixes the
problem too and is portable to non Linux systems.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070420/7891aeff/attachment.bin

More information about the samba-technical mailing list