Bug 6015 - Winbind periodically crashes with LDAP and ADS
Summary: Winbind periodically crashes with LDAP and ADS
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.34
Hardware: x86 FreeBSD
: P3 regression
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 22:17 UTC by Svyatoslav Semenov
Modified: 2020-03-15 20:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svyatoslav Semenov 2009-01-05 22:17:33 UTC
The winbind may crash in 15 minutes after restarting samba and may work fine for three days. The average is about 20 hours. I don't think it's about too many connections or whatever, because it often crashes at night too. The problem appeared about month ago, no changes to the configurations of both samba server on FreeBSD7 gateway and AD on Win2003 were made that time.

Thanks in advance.

The samba is built with options:
_OPTIONS_READ=samba-3.0.32_2,1
WITH_LDAP=true
WITH_ADS=true
WITH_WINBIND=true
WITH_ACL_SUPPORT=true
WITH_AIO_SUPPORT=true
WITH_FAM_SUPPORT=true
WITH_SYSLOG=true
WITH_QUOTAS=true
WITH_UTMP=true
WITH_PAM_SMBPASS=true
WITH_DNSUPDATE=true
WITH_POPT=true
WITH_PCH=true
and with patches from bug #5814 and #5737

Jan  5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(41)
Jan  5 22:20:03 proxy winbindd[70676]:   ===============================================================
Jan  5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(42)
Jan  5 22:20:03 proxy winbindd[70676]:   INTERNAL ERROR: Signal 6 in pid 70676 (3.0.32)
Jan  5 22:20:03 proxy winbindd[70676]:   Please read the Trouble-Shooting section of the Samba3-HOWTO
Jan  5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(44)
Jan  5 22:20:03 proxy winbindd[70676]:
Jan  5 22:20:03 proxy winbindd[70676]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Jan  5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(45)
Jan  5 22:20:03 proxy winbindd[70676]:   ===============================================================
Jan  5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/util.c:smb_panic(1633)
Jan  5 22:20:03 proxy winbindd[70676]:   PANIC (pid 70676): internal error
Jan  5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/util.c:log_stack_trace(1737)
Jan  5 22:20:03 proxy winbindd[70676]:   BACKTRACE: 19 stack frames:
Jan  5 22:20:03 proxy winbindd[70676]:    #0 0xd313d <smb_panic+93> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #1 0xbd4f6 <dump_core_setup+1014> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #2 0xbfbfffb4
Jan  5 22:20:03 proxy winbindd[70676]:    #3 0x2067ab8a <abort+106> at /lib/libc.so.7
Jan  5 22:20:03 proxy winbindd[70676]:    #4 0x20663096 <__assert+86> at /lib/libc.so.7
Jan  5 22:20:03 proxy winbindd[70676]:    #5 0x2057043f <ldap_parse_result+863> at /usr/local/lib/libldap-2.4.so.3
Jan  5 22:20:03 proxy winbindd[70676]:    #6 0x1db41c <ads_clear_service_principal_names+2172> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #7 0x1db79f <ads_do_search_all_args+111> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #8 0x1e4cd6 <ads_atype_map+918> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #9 0x1e502a <ads_do_search_retry+58> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #10 0x1e51fd <ads_search_retry+77> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #11 0x6854e <msrpc_name_to_sid+15550> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #12 0x4f8fd <cache_name2sid+10973> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #13 0x4464b <winbindd_getgroups+1851> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #14 0x46dd8 <winbindd_getgrent+968> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #15 0x3fb30 <request_finished_cont+896> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #16 0x40129 <winbind_check_sighup+521> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #17 0x40ba4 <main+2420> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:    #18 0x3ed49 <_start+137> at /usr/local/sbin/winbindd
Jan  5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:dump_core(181)
Jan  5 22:20:03 proxy winbindd[70676]:   dumping core in /var/log/samba/cores/winbindd
Jan  5 22:20:03 proxy winbindd[70676]:
Jan  5 22:20:03 proxy kernel: pid 70676 (winbindd), uid 0: exited on signal 6 (core dumped)
Comment 1 Svyatoslav Semenov 2009-01-05 22:28:46 UTC
The string that's first in the log.winbindd above.
Assertion failed: (r != NULL), function ldap_parse_result, file error.c, line 272.
Comment 2 Svyatoslav Semenov 2009-02-09 20:09:00 UTC
3.0.34 didn't fix the bug
Comment 3 Björn Jacke 2020-03-15 20:48:53 UTC
this 11y old bug report is not a generic bug (these days) I think, it would have popped up more often otherwise.