[Samba] Samba 3.0.21b winbind crash
Thomas Limoncelli
limoncelli at web.de
Wed Feb 22 12:26:21 GMT 2006
Thomas Limoncelli wrote:
> Unfortunately the backtrace doesn't look too meaningful (like in the
> original level 10 debug) although I've installed the samba-debuginfo
> package.
>
> myserver# gdb winbindd 24887
> [...]
> (gdb) bt
> #0 0xffffe410 in ?? ()
strace reveals that winbind segfaults when reading winbindd_cache.tdb:
29712 open("/var/lib/samba/winbindd_cache.tdb",
O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 23
29712 fcntl64(23, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=1}, 0xbfffa6b0) = 0
29712 read(23, "TDB
file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 168) = 168
29712 fstat64(23, {st_mode=S_IFREG|0600, st_size=1818624, ...}) = 0
29712 mmap2(NULL, 1818624, PROT_READ|PROT_WRITE, MAP_SHARED, 23, 0) =
0xb7942000
29712 fcntl64(23, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=1}, 0xbfffa6b0) = 0
29712 fcntl64(23, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=168,
len=1}, 0xbfffa6a0) = 0
29712 fcntl64(23, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET,
start=536396, len=1}, 0xbfffa6b0) = 0
[...]
29712 fcntl64(23, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET,
start=5136, len=1}, 0xbfffa200) = 0
29712 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
myserver# tdbtool /var/lib/samba/winbindd_cache.tdb
tdb> info
4460 records totalling 453648 bytes
tdb> dump
<prints all the entries and succeeds>
tdb>
Is there anything particular you'd want me to check? Anyone wants a
private copy?
At least, erasing winbindd_cache.tdb with tdbtool fixes the crashes for
the moment.
-TL
More information about the samba
mailing list