Winbindd in HEAD: cannot deal with 15,000 users+ -stack trace with HEAD code

Mike Papper mike at digitalpipe.net
Tue Apr 2 18:24:19 GMT 2002


I figured out how-to create the libnss_winbind.so. I made it and ran my tests 
again. The test uses aPDC with 15,000 users to which I run a script that  
adds and removes 2 users and 1 group continously.

Here is the debug output showing the error :
----------------------------------------------------------------
(gdb) bt
#0  0x40205669 in __wait4 () from /lib/i686/libc.so.6
#1  0x40281154 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x4019a6a2 in __libc_system (
    line=0x835a8b8 "gnome-terminal --command 'gdb /proc/2520/exe 2520'")
    at ../sysdeps/posix/system.c:136
#3  0x080930cd in smb_panic (why=0x810e25b "internal error") at 
lib/util.c:1136
#4  0x08085550 in fault_report (sig=11) at lib/fault.c:41
#5  0x0808559e in sig_fault (sig=11) at lib/fault.c:61
#6  <signal handler called>
#7  0x0806c5b7 in centry_put_string (centry=0x835a8a0, 
    s=0x1b442 <Address 0x1b442 out of bounds>) at 
nsswitch/winbindd_cache.c:317
#8  0x0806d3ae in lookup_groupmem (domain=0x8154550, mem_ctx=0x8140540, 
    group_rid=513, num_names=0xbfffee2c, rid_mem=0xbfffee30, 
names=0xbfffee34, 
    name_types=0xbfffee38) at nsswitch/winbindd_cache.c:793
#9  0x080689d9 in fill_grent_mem (domain=0x8154550, group_rid=513, 
    group_name_type=SID_NAME_DOM_GRP, num_gr_mem=0x8153584, 
gr_mem=0xbfffef8c, 
    gr_mem_len=0xbfffef90) at nsswitch/winbindd_group.c:81
#10 0x08069215 in winbindd_getgrnam (state=0x8152e40)
    at nsswitch/winbindd_group.c:238
#11 0x080666ad in process_request (state=0x8152e40) at nsswitch/winbindd.c:287
#12 0x0806691e in process_packet (state=0x8152e40) at nsswitch/winbindd.c:376
#13 0x08066f0a in process_loop (accept_sock=11) at nsswitch/winbindd.c:623
#14 0x08067495 in main (argc=4, argv=0xbffff844) at nsswitch/winbindd.c:841
---Type <return> to continue, or q <return> to quit---
#15 0x40167507 in __libc_start_main (main=0x8066fe4 <main>, argc=4, 
    ubp_av=0xbffff844, init=0x80650a8 <_init>, fini=0x80fe3c0 <_fini>, 
    rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff83c)
    at ../sysdeps/generic/libc-start.c:129
------------------------------------------------------------------


Any ideas? It still looks like a pointer is referring to something that 
"dissappears".

Mike Papper

On Tuesday 02 April 2002 01:30 pm, Andrew Bartlett wrote:
> Mike Papper wrote:
> > I was running winbind in the debugger, accessing the 15,000 users fromt
> > he PDC. Heres what I got (notice, the smb_panic function was not called):
>
> Thats becouse you are running inside the debugger - it catches the
> SIGSEGV.
>
> A backtrace that was compiled without having done a './configure
> --enable-developer' or ./configure --enable-debug' isn't much use -
> becouse all the symbols are stripped.
>
> So what we really need is a clean, current HEAD checkout with
> ./configure --enable-debug.
>
> Andrew Bartlett





More information about the samba-technical mailing list