[Bug 250655] [NEW] samba daemon deadlocks

Jaap Versteegh j_r_versteegh at hotmail.com
Tue Jul 22 00:46:39 BST 2008

Public bug reported:

Binary package hint: samba

I have firefox's (3.0) profile  stored on a samba share. Ocasionally (about twice a day) when entering data into a webcontrol, firefox freezes. The cause seems to be the samba daemon on the server that deadlocks. A new samba daemon is spawned after a few seconds, but the dead daemon remains in memory and also keeps locking the firefox profile directory. It can only be killed with kill -9.
Connecting to the dead daemon with gdb produces the following callstack:
#0  0x00007faf9272023e in __lll_lock_wait_private () from /lib/libc.so.6
#1  0x00007faf926b4b92 in _L_lock_15195 () from /lib/libc.so.6
#2  0x00007faf926b3c11 in free () from /lib/libc.so.6
#3  0x00007faf926cb0ce in tzset_internal () from /lib/libc.so.6
#4  0x00007faf926cb177 in __tz_convert () from /lib/libc.so.6
#5  0x0000000000605a16 in current_timestring ()
#6  0x00000000006001fc in dbghdr ()
#7  0x0000000000601544 in ?? ()
#8  <signal handler called>
#9  0x00007faf926b05d0 in _int_malloc () from /lib/libc.so.6
#10 0x00007faf926b1b88 in _int_realloc () from /lib/libc.so.6
#11 0x00007faf926b3ea0 in realloc () from /lib/libc.so.6
#12 0x0000000000614d5a in Realloc ()
#13 0x00000000005c4c42 in brl_lock ()
#14 0x00000000005c1d7c in do_lock ()
#15 0x00000000004a469b in ?? ()
#16 0x00000000004a9618 in handle_trans2 ()
#17 0x00000000004afc3a in reply_trans2 ()
#18 0x00000000004c879e in ?? ()
#19 0x00000000004c9b92 in smbd_process ()
#20 0x00000000006c5f5d in main ()

Ubuntu is a completely up-to-date 8.04 (on both desktop and server machines).
Samba installed on the server is:
Architecture: amd64
Version: 3.0.28a-1ubuntu4.4

Smb.conf is added as an attachment.

Files in /var/log/samba have no entries at the time of the deadlock

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

samba daemon deadlocks
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

More information about the Ubuntu-server-bugs mailing list