signal handlers do not treat core file.
Jeremy Allison
jra at samba.org
Tue May 11 01:03:09 GMT 2004
On Fri, May 07, 2004 at 06:38:51PM +0900, kawasa_r at itg.hitachi.co.jp wrote:
> Nmbd, smbd, and winbindd do not output core dump files even if they catch
> SIGABRT or SIGSEGV.
>
> Signal handlers for SIGABRT, SIGSEGV, and SIGBUS are added in the second
> release candidate of 3.0.2.
> After that, sig_fault() catches the abort() call from smb_panic().
> This signal handler calls fault_report() and logs the event. However,
> fault_report() calls _exit(1) except for its first-time-call, so the
> process is terminated without creating any core file. Perhaps this
> is an unintentional move.
>
> Before calling abort() in the function smb_panic(), the signal handler
> of SIGABRT set to default.
Applied, thanks !
Jeremy.
More information about the samba-technical
mailing list