Aborted core-files...

Mattias.Gronlund Mattias.Gronlund at sa.erisoft.se
Mon Sep 20 21:44:15 GMT 1999


Hi,

I have started to see some SIGBUS getting cought by smbd, but smbd have
not dumped any core-files :-(...

This patch seems to fix the problem under Redhat Linux 6.0 and I hope
that
it will give me core:s on our Solaris servers too...

For what I understand it seems like smb_panic calls abort(). But it
seems
like a bad ide as we are running in a signalhander which then gets
aborted.
And it seems that a aborted signalhandler does not create a core-file.

Is there anything in this that I have missed, or should not core:s get
created?

/Mattias

--- samba-2.0.5a/source/lib/fault.c     Fri Aug 21 13:37:08 1998
+++ samba-2.0.5a-epl/source/lib/fault.c Mon Sep 20 23:10:55 1999
@@ -42,8 +42,6 @@
        DEBUG(0,("\nPlease read the file BUGS.txt in the
distribution\n"));
       
DEBUG(0,("===============================================================\n"));
   
-       smb_panic("internal error");
-
        if (cont_fn) {
                cont_fn(NULL);
 #ifdef SIGSEGV


More information about the samba-technical mailing list