8.04 winbindd crash in ads_do_paged_search_args

Bug #244265 reported by Q3Man on 2008-06-30
30
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Debian)
Fix Released
Unknown
samba (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: samba

I'm having an issue with winbind. Every few days (3-8 so far with 4 events) it seems winbindd crashes and restarts. I've checked to see if any of my cron activities are causing the problem by running them by hand. I have a log entry that occurs 6 minutes before the failure in /var/log/samba/winbindd.log. It also appears relevant from the information in the stack trace.

/var/log/samba/winbindd.log:
[2008/06/28 05:44:19, 1] nsswitch/winbindd_util.c:trustdom_recv(229)
  Could not receive trustdoms

Samba panic-action:
[Thread debugging using libthread_db enabled] [New Thread 0xb7bb96d0 (LWP 11669)] 0xb7fdb410 in __kernel_vsyscall () #0 0xb7fdb410 in __kernel_vsyscall ()
#1 0xb7d784d3 in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d1b643 in ?? () from /lib/tls/i686/cmov/libc.so.6
#3 0x08123148 in smb_panic (why=0x8276e64 "internal error") at lib/util.c:1639
#4 0x0810d96a in sig_fault (sig=6) at lib/fault.c:47
#5 <signal handler called>
#6 0xb7fdb410 in __kernel_vsyscall ()
#7 0xb7d0e085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb7d0fa01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb7d0710e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #10 0xb7e4ebea in ldap_parse_result () from /usr/lib/libldap_r-2.4.so.2
#11 0x08239e0c in ads_do_paged_search_args (ads=0x8359670,
    bind_path=<value optimized out>, scope=0,
    expr=0x82656f5 "(objectclass=*)", attrs=0xbfa718b0, args=0x0,
    res=0xbfa718b8, count=0xbfa717d4, cookie=0xbfa717d8) at libads/ldap.c:700
#12 0x0823a18f in ads_do_search_all_args (ads=0x8359670,
    bind_path=0x8358fb8 "", scope=0, expr=0x82656f5 "(objectclass=*)",
    attrs=0xbfa718b0, args=0x0, res=0xbfa718b8) at libads/ldap.c:772
#13 0x08243729 in ads_do_search_retry_internal (ads=0x8359670,
    bind_path=0x82aa775 "", scope=0, expr=0x82656f5 "(objectclass=*)",
    attrs=0xbfa718b0, args=0x0, res=0xbfa718b8) at libads/ldap_utils.c:60
#14 0x08243c9a in ads_do_search_retry (ads=0x8359670, bind_path=0x82aa775 "",
    scope=0, expr=0x82656f5 "(objectclass=*)", attrs=0xbfa718b0,
    res=0xbfa718b8) at libads/ldap_utils.c:124
#15 0x08236c8c in ads_USN (ads=0x8359670, usn=0x8333eb4) at libads/ldap.c:2328
#16 0x080b4269 in sequence_number (domain=0x8333a30, seq=0x8333eb4)
    at nsswitch/winbindd_ads.c:1021
#17 0x08098a31 in refresh_sequence_number (domain=0x8333a30,
    force=<value optimized out>) at nsswitch/winbindd_cache.c:479
#18 0x08099059 in wcache_fetch (cache=0x83328a8, domain=0x8333a30,
    format=0x826069f "TRUSTDOMS/%s") at nsswitch/winbindd_cache.c:601
#19 0x08099aa8 in trusted_domains (domain=0x8333a30, mem_ctx=0x8363dc0,
    num_domains=0xbfa71b38, names=0xbfa71b34, alt_names=0xbfa71b30,
    dom_sids=0xbfa71b2c) at nsswitch/winbindd_cache.c:1942 #20 0x080a90b8 in winbindd_dual_list_trusted_domains (domain=0x8333a30,
    state=0xbfa71c48) at nsswitch/winbindd_misc.c:123
#21 0x080b941f in schedule_async_request (child=0x8333f08)
    at nsswitch/winbindd_dual.c:481
#22 0x08095fae in init_child_connection (domain=0x8333a30,
    continuation=0x80babf0 <domain_init_recv>, private_data=0x8336c98)
    at nsswitch/winbindd_util.c:373
#23 0x080bade6 in async_domain_request (mem_ctx=0x83356d8, domain=0x8333a30,
    request=0x8335758, response=0x8335fb8,
    continuation=0x8096700 <trustdom_recv>, private_data_data=0x8334390)
    at nsswitch/winbindd_dual.c:359
#24 0x080965f0 in rescan_trusted_domains () at nsswitch/winbindd_util.c:217
#25 0x0808c17d in main (argc=) at nsswitch/winbindd.c:753 The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

# lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04

# apt-cache policy samba
samba:
  Installed: 3.0.28a-1ubuntu4.3
  Candidate: 3.0.28a-1ubuntu4.3
  Version table:
 *** 3.0.28a-1ubuntu4.3 0
        500 http://us.archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     3.0.28a-1ubuntu4.2 0
        500 http://security.ubuntu.com hardy-security/main Packages
     3.0.28a-1ubuntu4 0
        500 http://us.archive.ubuntu.com hardy/main Packages

# apt-cache policy samba-dbg
samba-dbg:
  Installed: 3.0.28a-1ubuntu4.3
  Candidate: 3.0.28a-1ubuntu4.3
  Version table:
 *** 3.0.28a-1ubuntu4.3 0
        500 http://us.archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     3.0.28a-1ubuntu4.2 0
        500 http://security.ubuntu.com hardy-security/main Packages
     3.0.28a-1ubuntu4 0
        500 http://us.archive.ubuntu.com hardy/main Packages

Steve Langasek (vorlon) on 2008-08-18
Changed in samba:
importance: Undecided → Medium
status: New → Confirmed
Changed in samba:
status: Unknown → New
Thierry Carrez (ttx) wrote :

Was also reported as:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517824
but only one Debian bug watch can be recorded.

Thierry Carrez (ttx) on 2009-05-05
summary: - winbindd internal error
+ 8.04 winbindd crash in ads_do_paged_search_args
Chuck Short (zulcss) wrote :

Hi,

This should be fixed in Lucid.

Regards
chuck

Changed in samba (Ubuntu):
status: Confirmed → Fix Released
Changed in samba (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.