spindles seven
2021-Nov-23 19:01 UTC
[Samba] PANIC: Signal 11: Segmentation fault in 4.15.2-Debian
Having upgraded a member server to version 4.15.2, I am now getting these errors in syslog: Nov 23 09:06:23 lxd-m1 smbd[94253]: [2021/11/23 09:06:23.537208, 0] ../../lib/util/fault.c:172(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[94253]: ==============================================================Nov 23 09:06:23 lxd-m1 smbd[94253]: [2021/11/23 09:06:23.537278, 0] ../../lib/util/fault.c:173(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[94253]: INTERNAL ERROR: Signal 11: Segmentation fault in pid 94253 (4.15.2-Debian) Nov 23 09:06:23 lxd-m1 smbd[94253]: [2021/11/23 09:06:23.537305, 0] ../../lib/util/fault.c:177(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[94253]: 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 Nov 23 09:06:23 lxd-m1 smbd[94253]: [2021/11/23 09:06:23.537336, 0] ../../lib/util/fault.c:182(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[94253]: ==============================================================Nov 23 09:06:23 lxd-m1 smbd[94253]: [2021/11/23 09:06:23.537360, 0] ../../lib/util/fault.c:183(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[94253]: PANIC (pid 94253): Signal 11: Segmentation fault in 4.15.2-Debian Nov 23 09:06:23 lxd-m1 smbd[94253]: [2021/11/23 09:06:23.539789, 0] ../../lib/util/fault.c:287(log_stack_trace) Nov 23 09:06:23 lxd-m1 smbd[94253]: BACKTRACE: 29 stack frames: Nov 23 09:06:23 lxd-m1 smbd[94253]: #0 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x30) [0x7f4cbe3c7d40] Nov 23 09:06:23 lxd-m1 smbd[94253]: #1 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x9) [0x7f4cbe3c7f89] Nov 23 09:06:23 lxd-m1 smbd[94253]: #2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(+0x10021) [0x7f4cbe3c8021] Nov 23 09:06:23 lxd-m1 smbd[94253]: #3 /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140) [0x7f4cbdfcc140] Nov 23 09:06:23 lxd-m1 smbd[94253]: #4 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0x47dd) [0x7f4cbdfe47dd] Nov 23 09:06:23 lxd-m1 smbd[94253]: #5 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0x4608) [0x7f4cbdfe4608] Nov 23 09:06:23 lxd-m1 smbd[94253]: #6 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0x4608) [0x7f4cbdfe4608] Nov 23 09:06:23 lxd-m1 smbd[94253]: #7 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x19c5a6) [0x7f4cbe5d45a6] Nov 23 09:06:23 lxd-m1 smbd[94253]: #8 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_done_ex+0xa6c) [0x7f4cbe5da53c] Nov 23 09:06:23 lxd-m1 smbd[94253]: #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_error_ex+0xb5) [0x7f4cbe5d5f45] Nov 23 09:06:23 lxd-m1 smbd[94253]: #10 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1b5b4d) [0x7f4cbe5edb4d] Nov 23 09:06:23 lxd-m1 smbd[94253]: #11 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_immediate_handler+0x192) [0x7f4cbdf97f52] Nov 23 09:06:23 lxd-m1 smbd[94253]: #12 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_immediate+0x1a) [0x7f4cbdf97f7a] Nov 23 09:06:23 lxd-m1 smbd[94253]: #13 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xdd1c) [0x7f4cbdf9dd1c] Nov 23 09:06:23 lxd-m1 smbd[94253]: #14 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc087) [0x7f4cbdf9c087] Nov 23 09:06:23 lxd-m1 smbd[94253]: #15 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x94) [0x7f4cbdf96e24] Nov 23 09:06:23 lxd-m1 smbd[94253]: #16 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f4cbdf9710b] Nov 23 09:06:23 lxd-m1 smbd[94253]: #17 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc027) [0x7f4cbdf9c027] Nov 23 09:06:23 lxd-m1 smbd[94253]: #18 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x840) [0x7f4cbe5c60c0] Nov 23 09:06:23 lxd-m1 smbd[94253]: #19 /usr/sbin/smbd(+0xd5a5) [0x55ba63e695a5] Nov 23 09:06:23 lxd-m1 smbd[94253]: #20 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x7f4cbdf979e1] Nov 23 09:06:23 lxd-m1 smbd[94253]: #21 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xdf47) [0x7f4cbdf9df47] Nov 23 09:06:23 lxd-m1 smbd[94253]: #22 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc087) [0x7f4cbdf9c087] Nov 23 09:06:23 lxd-m1 smbd[94253]: #23 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x94) [0x7f4cbdf96e24] Nov 23 09:06:23 lxd-m1 smbd[94253]: #24 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f4cbdf9710b] Nov 23 09:06:23 lxd-m1 smbd[94253]: #25 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc027) [0x7f4cbdf9c027] Nov 23 09:06:23 lxd-m1 smbd[94253]: #26 /usr/sbin/smbd(main+0x1e47) [0x55ba63e64e97] Nov 23 09:06:23 lxd-m1 smbd[94253]: #27 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f4cbddeed0a] Nov 23 09:06:23 lxd-m1 smbd[94253]: #28 /usr/sbin/smbd(_start+0x2a) [0x55ba63e64fea] Nov 23 09:06:23 lxd-m1 smbd[94253]: [2021/11/23 09:06:23.540116, 0] ../../source3/lib/dumpcore.c:315(dump_core) Nov 23 09:06:23 lxd-m1 smbd[94253]: dumping core in /var/log/samba/cores/smbd Nov 23 09:06:23 lxd-m1 smbd[94253]: Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.574519, 0] ../../lib/dbwrap/dbwrap.c:82(dbwrap_record_get_value) Nov 23 09:06:23 lxd-m1 smbd[95777]: PANIC: assert failed at ../../lib/dbwrap/dbwrap.c(82): rec->value_valid Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.576268, 0] ../../lib/util/fault.c:172(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[95777]: ==============================================================Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.576307, 0] ../../lib/util/fault.c:173(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[95777]: INTERNAL ERROR: assert failed: rec->value_valid in pid 95777 (4.15.2-Debian) Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.576332, 0] ../../lib/util/fault.c:177(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[95777]: 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 Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.576357, 0] ../../lib/util/fault.c:182(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[95777]: ==============================================================Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.576380, 0] ../../lib/util/fault.c:183(smb_panic_log) Nov 23 09:06:23 lxd-m1 smbd[95777]: PANIC (pid 95777): assert failed: rec->value_valid in 4.15.2-Debian Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.576911, 0] ../../lib/util/fault.c:287(log_stack_trace) Nov 23 09:06:23 lxd-m1 smbd[95777]: BACKTRACE: 27 stack frames: Nov 23 09:06:23 lxd-m1 smbd[95777]: #0 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x30) [0x7f4cbe3c7d40] Nov 23 09:06:23 lxd-m1 smbd[95777]: #1 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x9) [0x7f4cbe3c7f89] Nov 23 09:06:23 lxd-m1 smbd[95777]: #2 /usr/lib/x86_64-linux-gnu/samba/libdbwrap.so.0(dbwrap_record_get_value+0x27) [0x7f4cbdcd3997] Nov 23 09:06:23 lxd-m1 smbd[95777]: #3 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1bb37a) [0x7f4cbe5f337a] Nov 23 09:06:23 lxd-m1 smbd[95777]: #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smb2srv_client_mc_negprot_send+0x6b) [0x7f4cbe5f437b] Nov 23 09:06:23 lxd-m1 smbd[95777]: #5 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_process_negprot+0xae8) [0x7f4cbe5dc068] Nov 23 09:06:23 lxd-m1 smbd[95777]: #6 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch+0x1d8c) [0x7f4cbe5d869c] Nov 23 09:06:23 lxd-m1 smbd[95777]: #7 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_process_negprot+0x222) [0x7f4cbe5dad52] Nov 23 09:06:23 lxd-m1 smbd[95777]: #8 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x18b803) [0x7f4cbe5c3803] Nov 23 09:06:23 lxd-m1 smbd[95777]: #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x18c9f6) [0x7f4cbe5c49f6] Nov 23 09:06:23 lxd-m1 smbd[95777]: #10 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x7f4cbdf979e1] Nov 23 09:06:23 lxd-m1 smbd[95777]: #11 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xdf47) [0x7f4cbdf9df47] Nov 23 09:06:23 lxd-m1 smbd[95777]: #12 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc087) [0x7f4cbdf9c087] Nov 23 09:06:23 lxd-m1 smbd[95777]: #13 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x94) [0x7f4cbdf96e24] Nov 23 09:06:23 lxd-m1 smbd[95777]: #14 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f4cbdf9710b] Nov 23 09:06:23 lxd-m1 smbd[95777]: #15 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc027) [0x7f4cbdf9c027] Nov 23 09:06:23 lxd-m1 smbd[95777]: #16 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x840) [0x7f4cbe5c60c0] Nov 23 09:06:23 lxd-m1 smbd[95777]: #17 /usr/sbin/smbd(+0xd5a5) [0x55ba63e695a5] Nov 23 09:06:23 lxd-m1 smbd[95777]: #18 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x7f4cbdf979e1] Nov 23 09:06:23 lxd-m1 smbd[95777]: #19 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xdf47) [0x7f4cbdf9df47] Nov 23 09:06:23 lxd-m1 smbd[95777]: #20 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc087) [0x7f4cbdf9c087] Nov 23 09:06:23 lxd-m1 smbd[95777]: #21 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x94) [0x7f4cbdf96e24] Nov 23 09:06:23 lxd-m1 smbd[95777]: #22 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f4cbdf9710b] Nov 23 09:06:23 lxd-m1 smbd[95777]: #23 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xc027) [0x7f4cbdf9c027] Nov 23 09:06:23 lxd-m1 smbd[95777]: #24 /usr/sbin/smbd(main+0x1e47) [0x55ba63e64e97] Nov 23 09:06:23 lxd-m1 smbd[95777]: #25 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f4cbddeed0a] Nov 23 09:06:23 lxd-m1 smbd[95777]: #26 /usr/sbin/smbd(_start+0x2a) [0x55ba63e64fea] Nov 23 09:06:23 lxd-m1 smbd[95777]: [2021/11/23 09:06:23.577281, 0] ../../source3/lib/dumpcore.c:315(dump_core) Nov 23 09:06:23 lxd-m1 smbd[95777]: dumping core in /var/log/samba/cores/smbd Nov 23 09:06:23 lxd-m1 smbd[95777]: The platform is Debian Bullseye and I am using Louis' repo. Other member servers running the same version are, at the moment, not seeing these failures. Is this a know bug, or shall I create one? Regards, Roy Eastwood
Andrew Bartlett
2021-Nov-23 20:18 UTC
[Samba] PANIC: Signal 11: Segmentation fault in 4.15.2-Debian
On Tue, 2021-11-23 at 19:01 +0000, spindles seven via samba wrote:> Having upgraded a member server to version 4.15.2, I am now getting > these errors in syslog:> The platform is Debian Bullseye and I am using Louis' repo. Other > member servers running the same version are, at the moment, not > seeing these failures. Is this a know bug, or shall I create one?Can you get a full GDB backtrace with the gdb_backtrace script? panic action = /path/to/gdb_backtrace %d At one point these were automatically enabled in debian actually. Andrew Bartlett -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions