Package: samba
Severity: important

When removing files from a windows 2003 client, the smbd sometimes gets
lost into an infinite loop:

attaching the debugger to the smbd process shows this :

#0  0xffffe410 in __kernel_vsyscall ()
#1  0xa7c62c63 in __xstat64 () from /lib/tls/i686/cmov/libc.so.6
#2  0x0821c8a1 in sys_stat ()
#3  0xa797e9de in init_module () from /usr/lib/samba/vfs/full_audit.so
#4  0x080df3fb in stat_cache_lookup ()
#5  0x080d3a36 in unix_convert ()
#6  0x080b7af7 in unlink_internals ()
#7  0x080ba51d in reply_unlink ()
#8  0x080ea2f4 in open_was_deferred ()
#9  0x080eb4b8 in smbd_process ()
#10 0x082c281f in main ()
(gdb) cont
Continuing.

Program received signal SIGINT, Interrupt.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xa7c309c2 in versionsort () from /lib/tls/i686/cmov/libc.so.6
#2  0xa7c30c23 in readdir64 () from /lib/tls/i686/cmov/libc.so.6
#3  0xa797f2e7 in init_module () from /usr/lib/samba/vfs/full_audit.so
#4  0x080db8eb in vfs_readdirname ()
#5  0x08094bff in ReadDirName ()
#6  0x080d3df5 in unix_convert ()
#7  0x080b7af7 in unlink_internals ()
#8  0x080ba51d in reply_unlink ()
#9  0x080ea2f4 in open_was_deferred ()
#10 0x080eb4b8 in smbd_process ()
#11 0x082c281f in main ()


it appears that the file has already been removed and smdb cannot stat
the missing file.
causes the loss of connection for the client and leaves a 100% cpu smbd
process.


the module vfs_full_audit is used


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=POSIX, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to