Package: samba Version: 3.0.24-6etch8 Severity: normal Samba started crashing after I upgraded to the latest version from Debian security and it sends hundreds of emails to me that look like this:
The Samba 'panic action' script, /usr/share/samba/panic-action, was called for PID 11908 (/usr/sbin/smbd). This means there was a problem with the program, such as a segfault. Below is a backtrace for this process generated with gdb, which shows the state of the program at the time the error occurred. The Samba log files may contain additional information about the problem. If the problem persists, you are encouraged to first install the samba-dbg package, which contains the debugging symbols for the 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) manual page. (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1213303104 (LWP 11908)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xb7f0c410 in ?? () #0 0xb7f0c410 in ?? () #1 0x00000001 in ?? () #2 0x00000000 in ?? () Log file log.smbd shows nothing unusual but here is a part from log.192.168.2.10 which is Ubuntu 7.10 with latest updates. [2007/12/02 22:18:20, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:20, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11859] Failed to read a valid object file image from memory. [2007/12/02 22:18:20, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:20, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:21, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:21, 0] lib/util.c:smb_panic(1599) PANIC (pid 11872): failed to set uid [2007/12/02 22:18:21, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:21, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11872] Failed to read a valid object file image from memory. [2007/12/02 22:18:21, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:21, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:23, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:23, 0] lib/util.c:smb_panic(1599) PANIC (pid 11885): failed to set uid [2007/12/02 22:18:23, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:23, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11885] Failed to read a valid object file image from memory. [2007/12/02 22:18:23, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:23, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:24, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:24, 0] lib/util.c:smb_panic(1599) PANIC (pid 11896): failed to set uid [2007/12/02 22:18:24, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:24, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11896] Failed to read a valid object file image from memory. [2007/12/02 22:18:24, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:24, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:42, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:42, 0] lib/util.c:smb_panic(1599) PANIC (pid 11915): failed to set uid [2007/12/02 22:18:42, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:42, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11915] Failed to read a valid object file image from memory. [2007/12/02 22:18:42, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:42, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:43, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:43, 0] lib/util.c:smb_panic(1599) PANIC (pid 11926): failed to set uid [2007/12/02 22:18:43, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:43, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11926] Failed to read a valid object file image from memory. [2007/12/02 22:18:44, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:44, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:47, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:47, 0] lib/util.c:smb_panic(1599) PANIC (pid 11908): failed to set uid [2007/12/02 22:18:47, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:47, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11908] Failed to read a valid object file image from memory. [2007/12/02 22:18:48, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:48, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:49, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:49, 0] lib/util.c:smb_panic(1599) PANIC (pid 11952): failed to set uid [2007/12/02 22:18:49, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:49, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11952] Failed to read a valid object file image from memory. [2007/12/02 22:18:49, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:49, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2007/12/02 22:18:50, 0] lib/util_sec.c:assert_uid(101) Failed to set uid privileges to (-1,65534) now set to (0,0) [2007/12/02 22:18:50, 0] lib/util.c:smb_panic(1599) PANIC (pid 11963): failed to set uid [2007/12/02 22:18:50, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822c373] #1 /usr/sbin/smbd(smb_panic+0x46) [0x822c466] #2 /usr/sbin/smbd [0x8231819] #3 /usr/sbin/smbd [0x80db3be] #4 /usr/sbin/smbd(set_sec_ctx+0xfa) [0x80db74a] #5 /usr/sbin/smbd(change_to_user+0x373) [0x80d19b3] #6 /usr/sbin/smbd [0x80edb77] #7 /usr/sbin/smbd(make_connection+0x13f) [0x80eeedf] #8 /usr/sbin/smbd(reply_tcon_and_X+0x1b7) [0x80b8e17] #9 /usr/sbin/smbd [0x80ea674] #10 /usr/sbin/smbd(smbd_process+0x6f8) [0x80eb838] #11 /usr/sbin/smbd(main+0x10df) [0x82c380f] #12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b7cea8] #13 /usr/sbin/smbd [0x8082b11] [2007/12/02 22:18:50, 0] lib/util.c:smb_panic(1607) smb_panic(): calling panic action [/usr/share/samba/panic-action 11963] Failed to read a valid object file image from memory. [2007/12/02 22:18:51, 0] lib/util.c:smb_panic(1615) smb_panic(): action returned status 0 [2007/12/02 22:18:51, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd And here is output from 'cat /etc/samba/smb.conf | grep -v "#" | grep -v ";"' without extra line changes. [global] unix extensions = no workgroup = verkko server string = %h server wins support = yes dns proxy = no name resolve order = wins lmhosts bcast host log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = share encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes guest account = nobody invalid users = root 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 wins proxy = yes local master = yes preferred master = yes os level = 65 [homes] comment = Home Directories browseable = no writable = no create mask = 0775 directory mask = 0775 valid users = %S [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes public = no writable = no create mode = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no [Storage] comment = Network storage path = /storage browseable = yes read only = yes guest ok = yes follow symlinks = yes -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-5-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages samba depends on: ii debconf 1.5.11 Debian configuration management sy ii libacl1 2.2.41-1 Access control list shared library ii libattr1 2.4.32-1 Extended attribute shared library ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library ii libcupsy 1.2.7-4etch1 Common UNIX Printing System(tm) - ii libgnutl 1.4.4-3 the GNU TLS library - runtime libr ii libkrb53 1.4.4-7etch4 MIT Kerberos runtime libraries ii libldap2 2.1.30-13.3 OpenLDAP libraries ii libpam-m 0.79-4 Pluggable Authentication Modules f ii libpam-r 0.79-4 Runtime support for the PAM librar ii libpam0g 0.79-4 Pluggable Authentication Modules l ii libpopt0 1.10-3 lib for parsing cmdline parameters ii logrotat 3.7.1-3 Log rotation utility ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip ii netbase 4.29 Basic TCP/IP networking system ii procps 1:3.2.7-3 /proc file system utilities ii samba-co 3.0.24-6etch8 Samba common files used by both th ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages samba recommends: pn smbldap-tools <none> (no description available) -- debconf information: * samba/run_mode: daemons samba/tdbsam: false * samba/generate_smbpasswd: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

