[Pkg-samba-maint] Bug#521439: samba: Samba server crash on browse

mylists at montblanc.homeip.net mylists at montblanc.homeip.net
Fri Mar 27 14:48:42 UTC 2009

Package: samba
Version: 2:3.3.2-1
Severity: grave
Justification: renders package unusable

Samba server crash by any client browse.
Problem appeared in debian testing. Updated to most recent version of
samba + libc from debian unstable and problem persist.

Details follow:

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 7331 (/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.

[Thread debugging using libthread_db enabled]
[New Thread 0x7f03dcec4710 (LWP 7331)]
0x00007f03d9b8e4a5 in waitpid () from /lib/libc.so.6
#0  0x00007f03d9b8e4a5 in waitpid () from /lib/libc.so.6
#1  0x00007f03d9b2d1e1 in ?? () from /lib/libc.so.6
#2  0x0000000000598a20 in smb_panic (why=<value optimized out>)
    at lib/util.c:1679
#3  0x0000000000586197 in sig_fault (sig=6) at lib/fault.c:46
#4  <signal handler called>
#5  0x00007f03d9b22105 in raise () from /lib/libc.so.6
#6  0x00007f03d9b23623 in abort () from /lib/libc.so.6
#7  0x00007f03d9b1b149 in __assert_fail () from /lib/libc.so.6
#8  0x00007f03d9baad3b in ?? () from /lib/libc.so.6
#9  0x00007f03d9b23df8 in ?? () from /lib/libc.so.6
#10 0x00007f03d9b242df in qsort_r () from /lib/libc.so.6
#11 0x00007f03d9bac2ef in getaddrinfo () from /lib/libc.so.6
#12 0x000000000059aa68 in interpret_string_addr_internal (ppres=0x2f442b0,
    str=0x7fffe4fea490 "montblanc", flags=<value optimized out>)
    at lib/util_sock.c:114
#13 0x000000000059ac3a in get_mydnsfullname () at lib/util_sock.c:2032
#14 0x0000000000599296 in get_mydnsdomname (ctx=0x1ca3) at lib/util.c:1378
#15 0x00000000007cb4f0 in ntlmssp_server_negotiate (ntlmssp_state=0x2e88080,
      {data = 0x29f79e0 "NTLMSSP", length = 50, free = 0x595b3b
<free_data_blob>}, reply=0x7fffe4fea7a0) at libsmb/ntlmssp.c:569
#16 0x00000000007c9879 in ntlmssp_update (ntlmssp_state=0x2e88080, in=
      {data = 0x29f79e0 "NTLMSSP", length = 50, free = 0x595b3b
<free_data_blob>}, out=0x7fffe4fea7a0) at libsmb/ntlmssp.c:342
#17 0x00000000005da6fc in auth_ntlmssp_update (
    auth_ntlmssp_state=<value optimized out>, request=
      {data = 0x29f79e0 "NTLMSSP", length = 50, free = 0x595b3b
<free_data_blob>}, reply=0x1ca3) at auth/auth_ntlmssp.c:213
#18 0x0000000000794d1d in reply_sesssetup_and_X_spnego (req=0x2f81480)
    at smbd/sesssetup.c:841
#19 0x0000000000795449 in reply_sesssetup_and_X (req=0x2f81480)
    at smbd/sesssetup.c:1433
#20 0x00000000004a9087 in switch_message (type=115 's', req=0x2f81480,
    size=<value optimized out>) at smbd/process.c:1486
#21 0x00000000004ab425 in smbd_process () at smbd/process.c:1509
#22 0x0000000000478dd9 in main (argc=<value optimized out>, argv=0x4)
    at smbd/server.c:1512
The program is running.  Quit anyway (and detach it)? (y or n) [answered
Y; input not from terminal]

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

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

Versions of packages samba depends on:
ii  adduser              3.110               add and remove users and groups
ii  debconf [debconf-2.0 1.5.26              Debian configuration
management sy
ii  libacl1              2.2.47-2            Access control list shared
ii  libattr1             1:2.4.43-2          Extended attribute shared
ii  libc6                2.9-6               GNU C Library: Shared libraries
ii  libcap2              2.16-2              support for getting/setting
ii  libcomerr2           1.41.3-1            common error description library
ii  libcups2             1.3.8-1lenny4.1     Common UNIX Printing
System(tm) -
ii  libgnutls26          2.6.4-2             the GNU TLS library - runtime
ii  libgssapi-krb5-2     1.6.dfsg.4~beta1-11 MIT Kerberos runtime
libraries - k
ii  libk5crypto3         1.6.dfsg.4~beta1-11 MIT Kerberos runtime
libraries - C
ii  libkrb5-3            1.6.dfsg.4~beta1-11 MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpam-modules       1.0.1-7             Pluggable Authentication
Modules f
ii  libpam-runtime       1.0.1-7             Runtime support for the PAM
ii  libpam0g             1.0.1-7             Pluggable Authentication
Modules l
ii  libpopt0             1.14-4              lib for parsing cmdline
ii  libtalloc1           1.2.1-1             hierarchical pool based
memory all
ii  libwbclient0         2:3.3.2-1           Samba winbind client library
ii  logrotate            3.7.7-3             Log rotation utility
ii  lsb-base             3.2-20              Linux Standard Base 3.2 init
ii  procps               1:3.2.7-11          /proc file system utilities
ii  samba-common         2:3.3.2-1           common files used by both the
ii  update-inetd         4.31                inetd configuration file updater
ii  zlib1g               1:   compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
ii  inetutils-inetd [inet-superse 2:1.6-1    internet super server
pn  ldb-tools                     <none>     (no description available)
pn  smbldap-tools                 <none>     (no description available)

-- debconf information:
* samba/run_mode: daemons
  samba/tdbsam: false
* samba/generate_smbpasswd: true

Josep Serrano.

More information about the Pkg-samba-maint mailing list