[Samba] I think It is a bug!

Erlend Mjaavatten mjaavatt at stud.ntnu.no
Tue Jun 25 02:47:02 GMT 2002

> > > ====
> > > INTERNAL ERROR: Signal 11 in pid 4931 (2.2.4)
> > > Please read the file BUGS.txt in the distribution
> > > ====
> > > PANIC: internal error
> > > Aborted
> > 
> > Can you try to reproduce this against 2.2.5?  Thanks.
> Can you recompile with -g and get a backtrace using gdb or some other 
> debugger?

Hi, I have the same problem as Osman, running samba 2.2.5.

The problem occurs when I try to lookup a user in our main AD-tree with
~20k users. 

Running "wbinfo -n <username>" resolves the name to sid just fine, but when
I try f.x "id <DOMAIN>\\<username>" winbindd segfaults.

Trying to resolve the usernames in other, smaller domains (either standalone
or trusted from our main tree) works just fine. This leads me to
belive that the problems have something to do with the size of the AD-tree.

backtrace from gdb follows:

#0  0x4009a801 in __kill () from /lib/i686/libc.so.6
#1  0x4009a5da in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4009bd82 in abort () at ../sysdeps/generic/abort.c:88
#3  0x0808dc3b in smb_panic () at lib/util.c:1094
#4  0x0807dcc8 in fault_report (sig=11) at lib/fault.c:43
#5  0x0807dd16 in sig_fault (sig=11) at lib/fault.c:63
#6  <signal handler called>
#7  0x0806da34 in query_user (domain=0x81709e8, mem_ctx=0x81eab70, user_rid=133870, user_info=0xbfffef60)
    at nsswitch/winbindd_rpc.c:321
#8  0x0806a162 in query_user (domain=0x81709e8, mem_ctx=0x81eab70, user_rid=133870, info=0xbfffef60)
    at nsswitch/winbindd_cache.c:709
#9  0x08064f25 in winbindd_getpwnam (state=0x81e8e40) at nsswitch/winbindd_user.c:142
#10 0x08063e1b in process_request (state=0x81e8e40) at nsswitch/winbindd.c:299
#11 0x0806406a in process_packet (state=0x81e8e40) at nsswitch/winbindd.c:388
#12 0x080645d2 in process_loop (accept_sock=18) at nsswitch/winbindd.c:634
#13 0x08064b51 in main (argc=3, argv=0xbffff5b4) at nsswitch/winbindd.c:867
#14 0x40089177 in __libc_start_main (main=0x80646ac <main>, argc=3, ubp_av=0xbffff5b4, init=0x8062b9c <_init>,
    fini=0x80e9e80 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff5ac)
    at ../sysdeps/generic/libc-start.c:129

Erlend Mjaavatten - mjaavatt at stud.ntnu.no
Stay on target! Stay on target!

More information about the samba mailing list