[Samba] Samba 4.1.11 smbd crashes regularly

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Aug 13 05:00:38 MDT 2014


On Wed, Aug 13, 2014 at 11:22:03AM +0200, Christian wrote:
> On 2014-08-12 12:24, Volker Lendecke wrote:
> >On Tue, Aug 12, 2014 at 08:52:04AM +0200, Christian wrote:
> >>Hi,
> >>
> >>I'm using a fresh install of samba 4.1.11 compiled from source on a
> >>fully patched Ubuntu 12.04 Server.
> >>
> >>Most Clients are Windows 7 and some are Windows XP.
> >>
> >>My logs get flooded (happend over 100 times in the last 12 hours)
> >>with internal errors and smbd dumps core.
> >>
> >>Has anyone else such a problem or knows how to fix it?
> >
> >Jeremy recently fixed
> >
> >https://bugzilla.samba.org/show_bug.cgi?id=10716
> >
> >Is it possible that you are sitting on something similar?
> >Can you try the patchset in
> >
> >https://bugzilla.samba.org/attachment.cgi?id=10176
> >
> >and report back?
> >
> >Thanks,
> >
> >Volker
> 
> Hello Volker,
> 
> the backtraces are still there, 157 until now. Is there anything
> else i could do?

If you compile yourself, can you give

CFLAGS=-g

a try such that we get debug symbols? Also, all information
around this would help a lot. In case you have used gdb
before, you might put

panic action = /bin/sleep 9999

into your smb.conf. If an smbd crashes, it will spawn a
sleep child (visible with ps axf). Attach to the parent of
that sleep (the smbd) with gdb:

gdb /usr/sbin/smbd --pid=<pid>

and issue a

bt full

at the prompt.

We do have scripts to do this automatically, but I don't
have a recipe handy to walk you through that. Maybe someone
else on this list has it available somewhere?

The bt full would VERY likely provide interesting
information.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list