[Pkg-samba-maint] Bug#526325: samba segfaults, up to several panic emails a day

Bogdan do.it at i.ua
Wed Sep 30 22:51:37 UTC 2009

Package: samba
Version: 2:3.3.4-1
Severity: normal

I'm getting a slightly different trace:

[Thread debugging using libthread_db enabled]
0x00007fcaede0d0b5 in waitpid () from /lib/libc.so.6
#0  0x00007fcaede0d0b5 in waitpid () from /lib/libc.so.6
#1  0x00007fcaeddae6b1 in ?? () from /lib/libc.so.6
#2  0x00000000006ac780 in smb_panic (why=<value optimized out>)
    at lib/util.c:1679
#3  0x0000000000698a07 in fault_report (sig=11) at lib/fault.c:46
#4  sig_fault (sig=11) at lib/fault.c:69
#5  <signal handler called>
#6  0x0000000000683da9 in rep_strlcpy (d=0x7fffb21defec "", s=0x0, bufsize=256)
    at lib/replace/replace.c:64
#7  0x00000000006ba12e in connections_fetch_entry (mem_ctx=0x0,
    conn=<value optimized out>, name=0x0) at lib/conn_tdb.c:65
#8  0x000000000048f629 in yield_connection (conn=0x1895e00, name=0x0)
    at smbd/connection.c:33
#9  0x00000000004f2b4c in close_cnum (conn=0x1895e00, vuid=0)
    at smbd/service.c:1328
#10 0x00000000004b2a65 in reply_tdis (req=0x1893e70) at smbd/reply.c:4605
#11 0x00000000004f04f7 in switch_message (type=113 'q', req=0x1893e70,
    size=<value optimized out>) at smbd/process.c:1486
#12 0x00000000004f2895 in construct_reply () at smbd/process.c:1509
#13 process_smb () at smbd/process.c:1566
#14 smbd_process () at smbd/process.c:1934
#15 0x00000000008c2391 in main (argc=<value optimized out>, argv=0x2)
    at smbd/server.c:1523

I'm sharing a number of music folders for network playback from a single laptop.

I've added 'debuglevel=3' to my smb.conf, will report back as soon as another email is sent.

Below is my smb.conf (w/o commented lines):
   workgroup = SOLAR SYSTEM
   server string = %h server
   wins support = no
   dns proxy = no
   debuglevel = 3
   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
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   usershare max shares = 100
   usershare path = /var/lib/samba/usershares
   usershare allow guests = yes
   usershare owner only = yes
   comment = Home Directories
   browseable = no
   read only = yes
   create mask = 0700
   directory mask = 0700
   valid users = %S
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                3.110             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.27            Debian configuration management sy
ii  libacl1                2.2.48-1          Access control list shared library
ii  libattr1               1:2.4.44-1        Extended attribute shared library
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libcap2                1:2.16-5          support for getting/setting POSIX.
ii  libcomerr2             1.41.9-1          common error description library
ii  libcups2               1.3.11-1+b1       Common UNIX Printing System(tm) - 
ii  libgnutls26            2.8.3-3           the GNU TLS library - runtime libr
ii  libgssapi-krb5-2       1.7dfsg~beta3-1   MIT Kerberos runtime libraries - k
ii  libk5crypto3           1.7dfsg~beta3-1   MIT Kerberos runtime libraries - C
ii  libkrb5-3              1.7dfsg~beta3-1   MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.17-1          OpenLDAP libraries
ii  libpam-modules         1.1.0-4           Pluggable Authentication Modules f
ii  libpam-runtime         1.1.0-4           Runtime support for the PAM librar
ii  libpam0g               1.1.0-4           Pluggable Authentication Modules l
ii  libpopt0               1.14-4            lib for parsing cmdline parameters
ii  libtalloc1             1.3.1-2           hierarchical pool based memory all
ii  libwbclient0           2:3.3.4-1         Samba winbind client library
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  procps                 1:3.2.8-1.1       /proc file system utilities
ii  samba-common           2:3.3.4-1         common files used by both the Samb
ii  update-inetd           4.31              inetd configuration file updater
ii  zlib1g                 1: compression library - runtime

Versions of packages samba recommends:
ii  logrotate                     3.7.8-4    Log rotation utility

Versions of packages samba suggests:
pn  ctdb                        <none>       (no description available)
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-3 The OpenBSD Internet Superserver
pn  smbldap-tools               <none>       (no description available)

-- debconf information:
  samba/run_mode: daemons
  samba/generate_smbpasswd: true

More information about the Pkg-samba-maint mailing list