[Pkg-samba-maint] Bug#1073252: samba: INTERNAL ERROR: Signal 11: Segmentation fault in smbd

Timo van Roermund timo at van-roermund.nl
Sat Jun 15 09:26:10 BST 2024


Package: samba
Version: 2:4.20.1+dfsg-5
Severity: important

Dear Maintainer,

Since the end of March, smbd sporadically crashes with the following error:
INTERNAL ERROR: Signal 11: Segmentation fault in smbd

I´m not sure what causes this. It was working stable before and my Samba configuration hasn't changed. Hence, I suspect that the update of some package has caused this.

Please fine more details in the log snippet below.

Thanks in advance,

Timo

---

smbd[16074]: [2024/06/15 00:59:32.640866,  0] lib/util/fault.c:178(smb_panic_log)
smbd[16074]:   ===============================================================
smbd[16074]: [2024/06/15 00:59:32.640974,  0] lib/util/fault.c:179(smb_panic_log)
smbd[16074]:   INTERNAL ERROR: Signal 11: Segmentation fault in smbd (smbd[192.168.11) (client [192.168.11.102]) pid 16074 (4.20.1-Debian)
smbd[16074]: [2024/06/15 00:59:32.647091,  0] lib/util/fault.c:186(smb_panic_log)
smbd[16074]:   If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
smbd[16074]: [2024/06/15 00:59:32.647156,  0] lib/util/fault.c:191(smb_panic_log)
smbd[16074]:   ===============================================================
smbd[16074]: [2024/06/15 00:59:32.647180,  0] lib/util/fault.c:192(smb_panic_log)
smbd[16074]:   PANIC (pid 16074): Signal 11: Segmentation fault in 4.20.1-Debian
smbd[16074]: [2024/06/15 00:59:32.647970,  0] lib/util/fault.c:303(log_stack_trace)
smbd[16074]:   BACKTRACE: 29 stack frames:
smbd[16074]:    #0 /usr/lib/x86_64-linux-gnu/samba/libgenrand-private-samba.so.0(log_stack_trace+0x32) [0x7f1d57b275c2]
smbd[16074]:    #1 /usr/lib/x86_64-linux-gnu/samba/libgenrand-private-samba.so.0(smb_panic+0xd) [0x7f1d57b2785d]
smbd[16074]:    #2 /usr/lib/x86_64-linux-gnu/samba/libgenrand-private-samba.so.0(+0x28f5) [0x7f1d57b278f5]
smbd[16074]:    #3 /lib/x86_64-linux-gnu/libc.so.6(+0x3d580) [0x7f1d57906580]
smbd[16074]:    #4 /usr/lib/x86_64-linux-gnu/samba/vfs/recycle.so(+0x248d) [0x7f1d5286848d]
smbd[16074]:    #5 /usr/lib/x86_64-linux-gnu/samba/vfs/recycle.so(+0x2c98) [0x7f1d52868c98]
smbd[16074]:    #6 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-private-samba.so.0(close_file_smb+0xf45) [0x7f1d57f2a4a5]
smbd[16074]:    #7 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-private-samba.so.0(+0xbdb2e) [0x7f1d57f62b2e]
smbd[16074]:    #8 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-private-samba.so.0(smbd_smb2_request_process_close+0x261) [0x7f1d57f63451]
smbd[16074]:    #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-private-samba.so.0(smbd_smb2_request_dispatch+0x184d) [0x7f1d57f5605d]
smbd[16074]:    #10 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-private-samba.so.0(+0xb276a) [0x7f1d57f5776a]
smbd[16074]:    #11 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x95) [0x7f1d57ab6b15]
smbd[16074]:    #12 /lib/x86_64-linux-gnu/libtevent.so.0(+0x1016a) [0x7f1d57abe16a]
smbd[16074]:    #13 /lib/x86_64-linux-gnu/libtevent.so.0(+0xd71b) [0x7f1d57abb71b]
smbd[16074]:    #14 /lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x95) [0x7f1d57ab5c45]
smbd[16074]:    #15 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f1d57ab5f4b]
smbd[16074]:    #16 /lib/x86_64-linux-gnu/libtevent.so.0(+0xd6ab) [0x7f1d57abb6ab]
smbd[16074]:    #17 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-private-samba.so.0(smbd_process+0x82c) [0x7f1d57f444fc]
smbd[16074]:    #18 smbd: client [192.168.11.102](+0x9e5e) [0x5637c5c05e5e]
smbd[16074]:    #19 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x95) [0x7f1d57ab6b15]
smbd[16074]:    #20 /lib/x86_64-linux-gnu/libtevent.so.0(+0x1016a) [0x7f1d57abe16a]
smbd[16074]:    #21 /lib/x86_64-linux-gnu/libtevent.so.0(+0xd71b) [0x7f1d57abb71b]
smbd[16074]:    #22 /lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x95) [0x7f1d57ab5c45]
smbd[16074]:    #23 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f1d57ab5f4b]
smbd[16074]:    #24 /lib/x86_64-linux-gnu/libtevent.so.0(+0xd6ab) [0x7f1d57abb6ab]
smbd[16074]:    #25 smbd: client [192.168.11.102](main+0x1358) [0x5637c5c03178]
smbd[16074]:    #26 /lib/x86_64-linux-gnu/libc.so.6(+0x27c8a) [0x7f1d578f0c8a]
smbd[16074]:    #27 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f1d578f0d45]
smbd[16074]:    #28 smbd: client [192.168.11.102](_start+0x21) [0x5637c5c03b11]
smbd[16074]: [2024/06/15 00:59:32.648269,  0] source3/lib/util.c:690(call_panic_action)
smbd[16074]:   call_panic_action: Calling panic action [/usr/share/samba/panic-action 16074]
smbd[16074]: [2024/06/15 00:59:32.682513,  0] source3/lib/util.c:713(call_panic_action)
smbd[16074]:   call_panic_action: action returned status 0
smbd[16074]: [2024/06/15 00:59:32.682637,  0] source3/lib/dumpcore.c:315(dump_core)
smbd[16074]:   dumping core in /var/log/samba/cores/smbd
smbd[16074]:




-- Package-specific info:
* /etc/samba/smb.conf present, but not attached

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.4-custom (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages samba depends on:
ii  init-system-helpers   1.66
ii  libbsd0               0.12.2-1
ii  libc6                 2.38-13
ii  libcups2t64           2.4.7-1.2+b1
ii  libgnutls30t64        3.8.5-4
ii  libldap-2.5-0         2.5.17+dfsg-1
ii  libldb2               2:2.9.0+samba4.20.1+dfsg-5
ii  libpopt0              1.19+dfsg-1+b1
ii  libtalloc2            2.4.2-1+b1
ii  libtasn1-6            4.19.0-3+b2
ii  libtdb1               1.4.10-1
ii  libtevent0t64         0.16.1-2
ii  passwd                1:4.13+dfsg1-5
ii  procps                2:4.0.4-4
ii  samba-common          2:4.20.1+dfsg-5
ii  samba-common-bin      2:4.20.1+dfsg-5
ii  samba-libs [libndr4]  2:4.20.1+dfsg-5

Versions of packages samba recommends:
ii  attr               1:2.5.2-1
ii  python3-samba      2:4.20.1+dfsg-5
ii  samba-vfs-modules  2:4.20.1+dfsg-5

Versions of packages samba suggests:
pn  ctdb     <none>
pn  ufw      <none>
pn  winbind  <none>

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


More information about the Pkg-samba-maint mailing list