[Samba] Samba 4.1.11 smbd crashes regularly

Christian lnxlists at lownoize.org
Thu Aug 14 05:50:16 MDT 2014


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


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bt.txt
URL: <http://lists.samba.org/pipermail/samba/attachments/20140814/3da5b37e/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bt-full.txt
URL: <http://lists.samba.org/pipermail/samba/attachments/20140814/3da5b37e/attachment-0001.txt>


More information about the samba mailing list