[Pkg-samba-maint] Bug#571294: samba: nmbd segfaults

Rodrigo Campos rodrigo at sdfg.com.ar
Thu Feb 25 01:02:50 UTC 2010


Package: samba
Version: 2:3.4.5~dfsg-2
Severity: important

I've just upgraded from 2:3.4.5~dfsg-1 to 2:3.4.5~dfsg-2 and nmbd segfaults when
samba starts. That's why I thought it was "important", but I'm not sure, feel
free to change the severity :)
I've installed samba-dbg to provide a backtrace, but something weird happen (or
I'm doing something wrong):

	gdb nmbd 
	GNU gdb (GDB) 7.0.1-debian
	Copyright (C) 2009 Free Software Foundation, Inc.
	License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
	This is free software: you are free to change and redistribute it.
	There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
	and "show warranty" for details.
	This GDB was configured as "i486-linux-gnu".
	For bug reporting instructions, please see:
	<http://www.gnu.org/software/gdb/bugs/>...
	"/usr/sbin/nmbd": not in executable format: File format not recognized
	(gdb) set pagination 0
	(gdb) run -D
	Starting program:  -D
	No executable file specified.
	Use the "file" or "exec-file" command.

I've tried to follow the instructions in:
http://wiki.debian.org/HowToGetABacktrace but something seems to be wrong with
the file.

But it seems like an executable file with proper permissions:

	debian:~# which nmbd
	/usr/sbin/nmbd
	
	debian:~# ls -l `which nmbd`
	-rwxr-xr-x 1 root root 2674488 2010-02-13 10:53 /usr/sbin/nmbd
	
	debian:~# file `which nmbd`
	/usr/sbin/nmbd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
	dynamically linked (uses shared libs), stripped

Also, the config seems ok:

	debian:~# testparm
	Load smb config files from /etc/samba/smb.conf
	rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
	Processing section "[homes]"
	Processing section "[printers]"
	Processing section "[print$]"
	Loaded services file OK.
	Server role: ROLE_STANDALONE
	Press enter to see a dump of your service definitions

If it helps you, I've run "ulimit -c unlimited" and run again nmdb and the
following core file was generated: http://sdfg.com.ar/tmp/nmbd-core.tar.gz


I will try to investigate further during the weekend





Thanks a lot,
Rodrigo

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-2-686 (SMP w/1 CPU core)
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.112             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.28            Debian configuration management sy
ii  libacl1                2.2.49-2          Access control list shared library
ii  libattr1               1:2.4.44-1        Extended attribute shared library
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcap2                1:2.17-2          support for getting/setting POSIX.
ii  libcomerr2             1.41.10-1         common error description library
ii  libcups2               1.4.2-4           Common UNIX Printing System(tm) - 
ii  libgnutls26            2.8.5-2           the GNU TLS library - runtime libr
ii  libgssapi-krb5-2       1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - k
ii  libk5crypto3           1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - C
ii  libkrb5-3              1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.17-2.1        OpenLDAP libraries
ii  libpam-modules         1.1.1-1           Pluggable Authentication Modules f
ii  libpam-runtime         1.1.1-1           Runtime support for the PAM librar
ii  libpam0g               1.1.1-1           Pluggable Authentication Modules l
ii  libpopt0               1.15-1            lib for parsing cmdline parameters
ii  libtalloc2             2.0.1-1           hierarchical pool based memory all
ii  libwbclient0           2:3.4.5~dfsg-2    Samba winbind client library
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  procps                 1:3.2.8-7         /proc file system utilities
ii  samba-common           2:3.4.5~dfsg-2    common files used by both the Samb
ii  update-inetd           4.35              inetd configuration file updater
ii  zlib1g                 1:1.2.3.4.dfsg-3  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)
pn  openbsd-inetd | inet-superser <none>     (no description available)
pn  smbldap-tools                 <none>     (no description available)

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





More information about the Pkg-samba-maint mailing list