The Samba-Bugzilla – Bug 9842
winbind/samba crash during ls -lha / getfacl
Last modified: 2013-07-13 07:41:19 UTC
Created attachment 8841 [details]
gdb bt full
Intermittently, samba w/ winbind integration crashes during an ls -lha / getfacl of a file.
Before the crash, owners are listed correctly (e.g. as their samba "DOMAIN\user"). After the crash, many calls hang, and ls -lha takes 10-15+ seconds.
This is compiled from the recent git:
Author: Andreas Schneider <email@example.com>
Date: Fri Oct 26 19:52:08 2012 +0200
regedit: Use color only when available.
Signed-off-by: Andreas Schneider <firstname.lastname@example.org>
Reviewed-by: Michael Adam <email@example.com>
Autobuild-User(master): Michael Adam <firstname.lastname@example.org>
Autobuild-Date(master): Mon Apr 29 15:02:19 CEST 2013 on sn-devel-104
Attached is a gdb backtrace.
Note that this is just before the patch for bug 9832, though I don't see the same "Bad talloc" signature in the backtrace.
This happens pretty frequently with "ls -lha" when looking at files owned by AD DC users. This seems to happen 100% of the time with "getfacl" on AD DC-owned files, though I'm trying to make a cleaner test case.
I'll attach a second bt full from a repeat crash, in case it's helpful.
Created attachment 8843 [details]
bt full, now built to git head, 5f82641
Have some logs of this crash today at debug level 8.
Still seeing this as of the recent commit:
Author: Aurélien Aptel <email@example.com>
Date: Fri Jun 28 17:34:26 2013 +0200
docs-xml/manpages/smbclient.1.xml: fix case of -T flag in example.
Signed-off-by: Aurélien Aptel <firstname.lastname@example.org>
Reviewed-by: David Disseldorp <email@example.com>
Autobuild-User(master): David Disseldorp <firstname.lastname@example.org>
Autobuild-Date(master): Fri Jun 28 17:45:31 CEST 2013 on sn-devel-1
Created attachment 9015 [details]
gdb full PID 10735
Hm, I think this crash is related to bug #9853
I noticed "krb5_cc_store_cred" in this trace, but from the logs I also see:
[2013/07/02 15:04:52.210352, 0] ../source3/smbd/open.c:1527(defer_open_done)
PANIC: assert failed at ../source3/smbd/open.c(1527): ret
[2013/07/02 15:04:52.210487, 0] ../source3/lib/util.c:810(smb_panic_s3)
PANIC (pid 18799): assert failed: ret
Appears fixed as of latest version ~ commit 596b51c666e
While this was filed first, mark as duplicate of the bug with the patches in it for 4.0 and 4.1
*** This bug has been marked as a duplicate of bug 9820 ***