[Samba] Samba 4.1.11 smbd crashes regularly

Ricky Nance ricky.nance at gmail.com
Thu Aug 14 09:48:39 MDT 2014


On Thu, Aug 14, 2014 at 6:50 AM, Christian <lnxlists at lownoize.org> wrote:
> On 2014-08-13 13:00, Volker Lendecke wrote:
>>
>> 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
>
> I think i was able to reproduce the error on my test System where i have
> debugging symbols enabled (configure --enable-debug).
> It happens when i unzip some files to a share via a windows 7 Client.
> I used gdb /usr/local/samba4/sbin/smbd core and have attached a bt/bt full.
>
>
> Cheers
>
> Christian
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

Hi Christian, what does smbd -V tell you... I have seen similar things
when you end up with mixed libraries. I am thinking its possible you
had samba installed from package (ubuntu has that option when you
install it) and then installed the source, but are still using the
binaries from the package. This may not be your issue, but definitely
worth checking.

Thanks,
Ricky


More information about the samba mailing list