[Samba] smbd crashes: Segmentation fault in 4.15.0-Debian

cn at brain-biotech.de cn at brain-biotech.de
Mon Oct 18 12:04:21 UTC 2021


Maybe it is the same as this:

https://bugzilla.samba.org/show_bug.cgi?id=14849

Don't know if you use the vfs_recycle module?


Regards

Am 18.10.21 um 13:43 schrieb spindles seven via samba:
> I have a domain member file server running Samba version 4.15.0 (from Louis' repo) on Debian Bullseye in a LXD container.    Has been running fine for some while then smbd crashed with these messages in syslog:
> 
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.350765,  0] ../../lib/dbwrap/dbwrap.c:82(dbwrap_record_get_value)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   PANIC: assert failed at ../../lib/dbwrap/dbwrap.c(82): rec->value_valid
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.364364,  0] ../../lib/util/fault.c:172(smb_panic_log)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   ===============================================================
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.364399,  0] ../../lib/util/fault.c:173(smb_panic_log)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   INTERNAL ERROR: assert failed: rec->value_valid in pid 520846 (4.15.0-Debian)
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.364429,  0] ../../lib/util/fault.c:177(smb_panic_log)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   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
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.364461,  0] ../../lib/util/fault.c:182(smb_panic_log)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   ===============================================================
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.364488,  0] ../../lib/util/fault.c:183(smb_panic_log)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   PANIC (pid 520846): assert failed: rec->value_valid in 4.15.0-Debian
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.365002,  0] ../../lib/util/fault.c:287(log_stack_trace)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   BACKTRACE: 27 stack frames:
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #0 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x30) [0x7fe1c7cd2b70]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #1 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x9) [0x7fe1c7cd2db9]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #2 /usr/lib/x86_64-linux-gnu/samba/libdbwrap.so.0(dbwrap_record_get_value+0x27) [0x7fe1c7603997]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #3 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x21851a) [0x7fe1c7f5851a]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smb2srv_client_mc_negprot_send+0x6b) [0x7fe1c7f5951b]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #5 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_process_negprot+0xae8) [0x7fe1c7f41208]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #6 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch+0x1d8c) [0x7fe1c7f3d83c]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #7 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_process_negprot+0x222) [0x7fe1c7f3fef2]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #8 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1e89a3) [0x7fe1c7f289a3]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1e9b96) [0x7fe1c7f29b96]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #10 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x7fe1c78b79e1]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #11 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xdf47) [0x7fe1c78bdf47]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #12 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc087) [0x7fe1c78bc087]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #13 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x94) [0x7fe1c78b6e24]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #14 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fe1c78b710b]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #15 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc027) [0x7fe1c78bc027]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #16 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x840) [0x7fe1c7f2b260]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #17 /usr/sbin/smbd(+0xd045) [0x562879e5b045]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #18 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x7fe1c78b79e1]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #19 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xdf47) [0x7fe1c78bdf47]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #20 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc087) [0x7fe1c78bc087]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #21 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x94) [0x7fe1c78b6e24]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #22 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fe1c78b710b]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #23 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc027) [0x7fe1c78bc027]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #24 /usr/sbin/smbd(main+0x1a3a) [0x562879e56a8a]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #25 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7fe1c76e6d0a]
> Oct 18 11:38:16 lxd-m1 smbd[520846]:    #26 /usr/sbin/smbd(_start+0x2a) [0x562879e56fea]
> Oct 18 11:38:16 lxd-m1 smbd[520846]: [2021/10/18 11:38:16.365397,  0] ../../source3/lib/dumpcore.c:315(dump_core)
> Oct 18 11:38:16 lxd-m1 smbd[520846]:   dumping core in /var/log/samba/cores/smbd
> Oct 18 11:38:16 lxd-m1 smbd[520846]:
> 
> Restarting smbd has restored normal operation for now.    Should I report this as a bug or is there something else wrong?
> 
> Thanks,
> 
> Roy Eastwood
> 
> 

-- 
Dr. Christian Naumer
Vice President
Unit Head Bioprocess Development

BRAIN Biotech AG
Darmstaedter Str. 34-36, D-64673 Zwingenberg
e-mail cn at brain-biotech.com, homepage www.brain-biotech.com
phone +49-6251-9331-30 / fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht AG Darmstadt, HRB 24758
Vorstand: Adriaan Moelker (Vorstandsvorsitzender), 
Lukas Linnig
Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen



More information about the samba mailing list