Package: samba Version: 3.0.22-1 Severity: important I know that similar bugs have been reported, but I have not found a way to solve this. I kept getting emails with subject "Segfault in Samba" and have installed samba-dbg as requested. I even upgraded all the packages in my unstable box.
I'll provide the panic email, /var/log/samba/log.smbd, and /etc/samba/smb.conf below. If you need extra information, please let me know. Thanks. ------------------------- This is one of the panic emails I got after installing samba-dbg. To: root Subject: Segfault in Samba From: root Date: Tue, 02 May 2006 21:41:52 -0400 The Samba 'panic action' script, /usr/share/samba/panic-action, was called for pid 16445 (/usr/sbin/smbd). Below is a backtrace for this process generated with gdb, which shows the state of the program at the time the error occurred. If the problem persists, you are encouraged to first install the samba-dbg package which contains the debugging symbols for samba binaries. Then submit the provided information as a bug report to Debian. For information about the procedure for submitting bug reports , please see http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage. Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1213561152 (LWP 16445)] 0xb7ca8abe in waitpid () from /lib/tls/libc.so.6 #0 0xb7ca8abe in waitpid () from /lib/tls/libc.so.6 #1 0xb7c4ddd9 in strtold_l () from /lib/tls/libc.so.6 #2 0x0821efc7 in smb_panic2 ( why=0xfffffe00 <Address 0xfffffe00 out of bounds>, decrement_pid_count=1) at lib/util.c:1545 #3 0x0821f0fa in smb_panic (why=0xfffffe00 <Address 0xfffffe00 out of bounds>) at lib/util.c:1506 #4 0x082b500e in main (argc=-512, argv=0xbfc0f8a4) at smbd/server.c:433 ------------------------- Below is the related part of /var/log/samba/log.smbd : [2006/05/02 21:41:25, 0] tdb/tdbutil.c:tdb_log(772) tdb(/var/run/samba/gencache.tdb): tdb_reopen: open failed (No such file or directory) [2006/05/02 21:41:25, 0] smbd/server.c:open_sockets_smbd(432) tdb_reopen_all failed. [2006/05/02 21:41:25, 0] lib/util.c:smb_panic2(1544) smb_panic(): calling panic action [/usr/share/samba/panic-action 16430] [2006/05/02 21:41:36, 0] lib/util.c:smb_panic2(1552) smb_panic(): action returned status 0 [2006/05/02 21:41:36, 0] lib/util.c:smb_panic2(1554) PANIC: tdb_reopen_all failed. [2006/05/02 21:41:36, 0] lib/util.c:smb_panic2(1562) BACKTRACE: 5 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x7c) [0x821eedc] #1 /usr/sbin/smbd(smb_panic+0x1a) [0x821f0fa] #2 /usr/sbin/smbd(main+0xd7e) [0x82b500e] #3 /lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7c2beb0] #4 /usr/sbin/smbd [0x807eb21] [2006/05/02 21:41:46, 0] tdb/tdbutil.c:tdb_log(772) tdb(/var/run/samba/gencache.tdb): tdb_reopen: open failed (No such file or directory) [2006/05/02 21:41:46, 0] smbd/server.c:open_sockets_smbd(432) tdb_reopen_all failed. [2006/05/02 21:41:46, 0] lib/util.c:smb_panic2(1544) smb_panic(): calling panic action [/usr/share/samba/panic-action 16445] [2006/05/02 21:41:53, 0] lib/util.c:smb_panic2(1552) smb_panic(): action returned status 0 [2006/05/02 21:41:53, 0] lib/util.c:smb_panic2(1554) PANIC: tdb_reopen_all failed. [2006/05/02 21:41:53, 0] lib/util.c:smb_panic2(1562) BACKTRACE: 5 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x7c) [0x821eedc] #1 /usr/sbin/smbd(smb_panic+0x1a) [0x821f0fa] #2 /usr/sbin/smbd(main+0xd7e) [0x82b500e] #3 /lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7c2beb0] #4 /usr/sbin/smbd [0x807eb21] ------------------------- # grep -v "^[;#]" /etc/samba/smb.conf [global] dos charset = cp936 unix charset = cp936 display charset = cp936 workgroup = MSHOME server string = server dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true smb passwd file = /etc/samba/smbpasswd passdb backend = tdbsam obey pam restrictions = yes invalid users = root unix password sync = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . socket options = TCP_NODELAY domain master = yes [data] comment = data path = /data/data valid users = icrazy public = no writeable = yes printable = no ------------------------- -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages samba depends on: ii debconf [debc 1.5.0 Debian configuration management sy ii libacl1 2.2.36-1 Access control list shared library ii libattr1 2.4.32-1 Extended attribute shared library ii libc6 2.3.6-7 GNU C Library: Shared libraries ii libcomerr2 1.38+1.39-WIP-2006.04.09-1 common error description library ii libcupsys2 1.1.23-15 Common UNIX Printing System(tm) - ii libkrb53 1.4.3-7 MIT Kerberos runtime libraries ii libldap2 2.1.30-13 OpenLDAP libraries ii libpam-module 0.79-3.1 Pluggable Authentication Modules f ii libpam-runtim 0.79-3.1 Runtime support for the PAM librar ii libpam0g 0.79-3.1 Pluggable Authentication Modules l ii libpopt0 1.7-5 lib for parsing cmdline parameters ii logrotate 3.7.1-3 Log rotation utility ii lsb-base 3.1-5 Linux Standard Base 3.1 init scrip ii netbase 4.25 Basic TCP/IP networking system ii samba-common 3.0.22-1 Samba common files used by both th Versions of packages samba recommends: pn smbldap-tools <none> (no description available) -- debconf information: samba/nmbd_from_inetd: * samba/run_mode: daemons samba/log_files_moved: samba/tdbsam: false * samba/generate_smbpasswd: true -- Best regards, James He

