Winbindd causing session crashes under todays CVS

Jason Haar Jason.Haar at trimble.co.nz
Tue Jan 22 13:22:22 GMT 2002


New fun.

I've upgraded to todays CVS, and when I use bash's command line completion,
it crashs my bash session. As they're within an xterm, I end up loosing the
whole window :-(

Anyway, below is what strace reports happens (Redhat 7.1), when I try:

"cd ~jhaa\t" (TAB to complete my usercode)

One thing I should probably mention. My account "jhaar" is a local account,
but I also have my NT domain account "jhaar". Different home directories,
uids, etc. I have winbindd running with "winbind use default domain = yes",
so I would imagine there's a bit of an issue with _which_ "jhaar" account is
being referred to. Normally the first wins.

[Footnote: the problem has gone away! I can't believe it. It was whacking my
sessions for about 10 minutes (I lost 4 windows/sessions due to it). Then I
wrote this, went back to check again, and the problem has gone away. No
restart of winbindd or the like, etc.]

------------- strace log --------------------
read(0, "~", 1)                         = 1
write(2, "~", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "j", 1)                         = 1
write(2, "j", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "h", 1)                         = 1
write(2, "h", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "a", 1)                         = 1
write(2, "a", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "a", 1)                         = 1
write(2, "a", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "\t", 1)                        = 1
open("/etc/passwd", O_RDONLY)           = 4
fcntl64(0x4, 0x1, 0, 0x1)               = 0
fcntl64(0x4, 0x2, 0x1, 0x1)             = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2673, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40033000
_llseek(4, 0, [0], SEEK_CUR)            = 0
rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2673
read(4, "", 4096)                       = 0
--- SIGSEGV (Segmentation fault) ---
stat64("/home/jhaar/.bash_history", {st_mode=S_IFREG|0600, st_size=38420,
...}) = 0
open("/home/jhaar/.bash_history", O_WRONLY|O_APPEND|O_LARGEFILE) = 5
write(5, " smbclient -L xxxxxx -Uyyyy"..., 165) = 165
close(5)                                = 0
open("/home/jhaar/.bash_history", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0600, st_size=38585, ...}) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 8) = 0
brk(0x8132000)                          = 0x8132000
rt_sigprocmask(SIG_SETMASK, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], NULL, 8) = 0
read(5, "grep -i \"wan backup\" cur/*\ncd\nsl"..., 38585) = 38585
close(5)                                = 0
open("/home/jhaar/.bash_history", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "t 999754663.1"..., 38430) = 38430
close(5)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [HUP INT ILL TRAP ABRT BUS
FPE USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 8) = 0
ioctl(255, 0x5410, [2363])              = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], NULL, 8) = 0
setpgid(0, 2363)                        = -1 EPERM (Operation not permitted)
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x807d310, [HUP INT ILL TRAP ABRT BUS FPE
USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM UNUSED], 0x4000000}, 8) = 0
getpid()                                = 2363
kill(2363, SIGSEGV)                     = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) ---


-- 
Cheers

Jason Haar

Information Security Manager
Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417




More information about the samba-technical mailing list