svn commit: samba r14898 - branches/SAMBA_3_0/source branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/lib branches/SAMBA_3_0/source/nmbd branches/SAMBA_3_0/source/nsswitch branches/SAMBA_3_0/source/printing branches/SAMBA_3_0/source/smbd branches/SAMBA_3_0/source/torture branches/SAMBA_3_0/source/utils trunk/source trunk/source/include trunk/source/lib trunk/source/nmbd trunk/source/nsswitch trunk/source/printing trunk/source/smbd trunk/source/torture trunk/source/utils

jpeach at samba.org jpeach at samba.org
Tue Apr 4 00:27:56 GMT 2006


Author: jpeach
Date: 2006-04-04 00:27:50 +0000 (Tue, 04 Apr 2006)
New Revision: 14898

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14898

Log:
This change is an attempt to improve the quality of the information that
is produced when a process exits abnormally.

First, we coalesce the core dumping code so that we greatly improve our
odds of being able to produce a core file, even in the case of a memory
fault. I've removed duplicates of dump_core() and split it in two to
reduce the amount of work needed to actually do the dump.

Second, we refactor the exit_server code path to always log an explanation
and a stack trace. My goal is to always produce enough log information
for us to be able to explain any server exit, though there is a risk
that this could produce too much log information on a flaky network.

Finally, smbcontrol has gained a smbd fault injection operation to test
the changes above. This is only enabled for developer builds.

Modified:
   branches/SAMBA_3_0/source/configure.in
   branches/SAMBA_3_0/source/include/debug.h
   branches/SAMBA_3_0/source/include/includes.h
   branches/SAMBA_3_0/source/include/messages.h
   branches/SAMBA_3_0/source/lib/fault.c
   branches/SAMBA_3_0/source/lib/util.c
   branches/SAMBA_3_0/source/nmbd/nmbd.c
   branches/SAMBA_3_0/source/nsswitch/winbindd.c
   branches/SAMBA_3_0/source/printing/printing.c
   branches/SAMBA_3_0/source/smbd/open.c
   branches/SAMBA_3_0/source/smbd/process.c
   branches/SAMBA_3_0/source/smbd/server.c
   branches/SAMBA_3_0/source/torture/vfstest.c
   branches/SAMBA_3_0/source/utils/smbcontrol.c
   trunk/source/configure.in
   trunk/source/include/debug.h
   trunk/source/include/includes.h
   trunk/source/include/messages.h
   trunk/source/lib/fault.c
   trunk/source/lib/util.c
   trunk/source/nmbd/nmbd.c
   trunk/source/nsswitch/winbindd.c
   trunk/source/printing/printing.c
   trunk/source/smbd/open.c
   trunk/source/smbd/process.c
   trunk/source/smbd/server.c
   trunk/source/torture/vfstest.c
   trunk/source/utils/smbcontrol.c


Changeset:
Sorry, the patch is too large (1621 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14898


More information about the samba-cvs mailing list