[Pkg-samba-maint] Bug#874454: samba: smbd crashes at startup with core dump (but works if launched after)

Stéphane Bortzmeyer stephane at sources.org
Wed Sep 6 09:47:50 UTC 2017


Package: samba
Version: 2:4.5.8+dfsg-2+deb9u1+b1
Severity: important

Dear Maintainer,

Samba is enabled but smbd crashes at startup. I receive this email:


The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 804 (/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]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
0xb77a6cf9 in __kernel_vsyscall ()
#0  0xb77a6cf9 in __kernel_vsyscall ()
#1  0xb69f1063 in __waitpid_nocancel () at ../sysdeps/unix/syscall-template.S:84
#2  0xb697a796 in do_system (line=0x80fdbc00 "/usr/share/samba/panic-action 804") at ../sysdeps/posix/system.c:148
#3  0xb6f54388 in smb_panic_s3 () from /usr/lib/i386-linux-gnu/libsmbconf.so.0
#4  0xb76fd6bb in smb_panic () from /usr/lib/i386-linux-gnu/libsamba-util.so.0
#5  0xb7475a18 in ?? () from /usr/lib/i386-linux-gnu/samba/libsmbd-base.so.0
#6  0xb7475dd1 in smbd_exit_server () from /usr/lib/i386-linux-gnu/samba/libsmbd-base.so.0
#7  0xb6f1bae2 in exit_server () from /usr/lib/i386-linux-gnu/samba/libsmbd-shim.so.0
#8  0x8001b69d in main ()
A debugging session is active.

        Inferior 1 [process 804] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]





If I start Samba once the machine is up (with systemctl start smbd), it works fine.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages samba depends on:
ii  adduser              3.115
ii  dpkg                 1.18.24
ii  init-system-helpers  1.48
ii  libbsd0              0.8.3-1
ii  libc6                2.24-11+deb9u1
ii  libldb1              2:1.1.27-1+b1
ii  libpam-modules       1.1.8-3.6
ii  libpam-runtime       1.1.8-3.6
ii  libpopt0             1.16-10+b2
ii  libpython2.7         2.7.13-2
ii  libtalloc2           2.1.8-1
ii  libtdb1              1.3.11-2
ii  libtevent0           0.9.31-1
ii  libwbclient0         2:4.5.8+dfsg-2+deb9u1+b1
ii  lsb-base             9.20161125
ii  procps               2:3.3.12-3
ii  python               2.7.13-2
ii  python-dnspython     1.15.0-1
ii  python-samba         2:4.5.8+dfsg-2+deb9u1+b1
ii  python2.7            2.7.13-2
ii  samba-common         2:4.5.8+dfsg-2+deb9u1
ii  samba-common-bin     2:4.5.8+dfsg-2+deb9u1+b1
ii  samba-libs           2:4.5.8+dfsg-2+deb9u1+b1
ii  tdb-tools            1.3.11-2
ii  update-inetd         4.44

Versions of packages samba recommends:
ii  attr                1:2.4.47-2+b2
ii  logrotate           3.11.0-0.1
ii  samba-dsdb-modules  2:4.5.8+dfsg-2+deb9u1+b1
ii  samba-vfs-modules   2:4.5.8+dfsg-2+deb9u1+b1

Versions of packages samba suggests:
ii  bind9          1:9.10.3.dfsg.P4-12.3+deb9u2
ii  bind9utils     1:9.10.3.dfsg.P4-12.3+deb9u2
pn  ctdb           <none>
pn  ldb-tools      <none>
ii  ntp            1:4.2.8p10+dfsg-3
pn  smbldap-tools  <none>
pn  ufw            <none>
ii  winbind        2:4.5.8+dfsg-2+deb9u1+b1

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



More information about the Pkg-samba-maint mailing list