Hello, every few days I have to restart my system because the log is almost full.
I assume it has something to do with PhotoSync backing up my wife's iPhone Pictures.
The log keeps filling up with these errors:
Errors only: (note that this is all in the span of a few seconds!)
Oct 18 06:35:01 NAS3000 smbd[19396]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:01 NAS3000 smbd[19396]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19396 (4.17.10)
Oct 18 06:35:01 NAS3000 smbd[19396]: PANIC (pid 19396): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:01 NAS3000 smbd[19400]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:01 NAS3000 smbd[19400]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19400 (4.17.10)
Oct 18 06:35:01 NAS3000 smbd[19400]: PANIC (pid 19400): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:02 NAS3000 smbd[19459]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:02 NAS3000 smbd[19459]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19459 (4.17.10)
Oct 18 06:35:02 NAS3000 smbd[19459]: PANIC (pid 19459): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:02 NAS3000 smbd[19463]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:02 NAS3000 smbd[19463]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19463 (4.17.10)
Oct 18 06:35:02 NAS3000 smbd[19463]: PANIC (pid 19463): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:03 NAS3000 smbd[19470]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:03 NAS3000 smbd[19470]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19470 (4.17.10)
Oct 18 06:35:03 NAS3000 smbd[19470]: PANIC (pid 19470): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:04 NAS3000 smbd[19474]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:04 NAS3000 smbd[19474]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19474 (4.17.10)
Oct 18 06:35:04 NAS3000 smbd[19474]: PANIC (pid 19474): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:05 NAS3000 smbd[19482]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:05 NAS3000 smbd[19482]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19482 (4.17.10)
Oct 18 06:35:05 NAS3000 smbd[19482]: PANIC (pid 19482): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:05 NAS3000 smbd[19555]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:05 NAS3000 smbd[19555]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19555 (4.17.10)
Oct 18 06:35:05 NAS3000 smbd[19555]: PANIC (pid 19555): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:06 NAS3000 smbd[19559]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:06 NAS3000 smbd[19559]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19559 (4.17.10)
Oct 18 06:35:06 NAS3000 smbd[19559]: PANIC (pid 19559): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:06 NAS3000 smbd[19566]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:06 NAS3000 smbd[19566]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19566 (4.17.10)
Oct 18 06:35:06 NAS3000 smbd[19566]: PANIC (pid 19566): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:07 NAS3000 smbd[19570]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:07 NAS3000 smbd[19570]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19570 (4.17.10)
Oct 18 06:35:07 NAS3000 smbd[19570]: PANIC (pid 19570): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:08 NAS3000 smbd[19577]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:08 NAS3000 smbd[19577]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19577 (4.17.10)
Oct 18 06:35:08 NAS3000 smbd[19577]: PANIC (pid 19577): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:08 NAS3000 smbd[19584]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:08 NAS3000 smbd[19584]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19584 (4.17.10)
Oct 18 06:35:08 NAS3000 smbd[19584]: PANIC (pid 19584): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:09 NAS3000 smbd[19588]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:09 NAS3000 smbd[19588]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19588 (4.17.10)
Oct 18 06:35:09 NAS3000 smbd[19588]: PANIC (pid 19588): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:10 NAS3000 smbd[19595]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:10 NAS3000 smbd[19595]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19595 (4.17.10)
Oct 18 06:35:10 NAS3000 smbd[19595]: PANIC (pid 19595): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:10 NAS3000 smbd[19620]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:10 NAS3000 smbd[19620]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19620 (4.17.10)
Oct 18 06:35:10 NAS3000 smbd[19620]: PANIC (pid 19620): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:11 NAS3000 smbd[19624]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:11 NAS3000 smbd[19624]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19624 (4.17.10)
Oct 18 06:35:11 NAS3000 smbd[19624]: PANIC (pid 19624): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:12 NAS3000 smbd[19631]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:12 NAS3000 smbd[19631]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19631 (4.17.10)
Oct 18 06:35:12 NAS3000 smbd[19631]: PANIC (pid 19631): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:13 NAS3000 smbd[19638]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:13 NAS3000 smbd[19638]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19638 (4.17.10)
Oct 18 06:35:13 NAS3000 smbd[19638]: PANIC (pid 19638): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:13 NAS3000 smbd[19645]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:13 NAS3000 smbd[19645]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19645 (4.17.10)
Oct 18 06:35:13 NAS3000 smbd[19645]: PANIC (pid 19645): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:14 NAS3000 smbd[19649]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:14 NAS3000 smbd[19649]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19649 (4.17.10)
Oct 18 06:35:14 NAS3000 smbd[19649]: PANIC (pid 19649): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:15 NAS3000 smbd[19656]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:15 NAS3000 smbd[19656]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19656 (4.17.10)
Oct 18 06:35:15 NAS3000 smbd[19656]: PANIC (pid 19656): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:15 NAS3000 smbd[19681]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:15 NAS3000 smbd[19681]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19681 (4.17.10)
Oct 18 06:35:15 NAS3000 smbd[19681]: PANIC (pid 19681): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:16 NAS3000 smbd[19685]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:16 NAS3000 smbd[19685]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19685 (4.17.10)
Oct 18 06:35:16 NAS3000 smbd[19685]: PANIC (pid 19685): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:17 NAS3000 smbd[19692]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:17 NAS3000 smbd[19692]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19692 (4.17.10)
Oct 18 06:35:17 NAS3000 smbd[19692]: PANIC (pid 19692): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:18 NAS3000 smbd[19699]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:18 NAS3000 smbd[19699]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19699 (4.17.10)
Oct 18 06:35:18 NAS3000 smbd[19699]: PANIC (pid 19699): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 06:35:19 NAS3000 smbd[19706]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 06:35:19 NAS3000 smbd[19706]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 19706 (4.17.10)
Oct 18 06:35:19 NAS3000 smbd[19706]: PANIC (pid 19706): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Full log for 1 minute only:
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845162, 0] ../../source3/smbd/close.c:312(close_remove_share_mode)
Oct 18 01:16:08 NAS3000 smbd[8359]: close_remove_share_mode: Could not get share mode lock for file iPhone Pictures Steffi/2022/05/IMG_1851.JPG
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845197, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
Oct 18 01:16:08 NAS3000 smbd[8359]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845203, 0] ../../lib/util/fault.c:173(smb_panic_log)
Oct 18 01:16:08 NAS3000 smbd[8359]: ===============================================================
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845209, 0] ../../lib/util/fault.c:174(smb_panic_log)
Oct 18 01:16:08 NAS3000 smbd[8359]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 8359 (4.17.10)
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845212, 0] ../../lib/util/fault.c:178(smb_panic_log)
Oct 18 01:16:08 NAS3000 smbd[8359]: 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 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845216, 0] ../../lib/util/fault.c:183(smb_panic_log)
Oct 18 01:16:08 NAS3000 smbd[8359]: ===============================================================
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845219, 0] ../../lib/util/fault.c:184(smb_panic_log)
Oct 18 01:16:08 NAS3000 smbd[8359]: PANIC (pid 8359): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845417, 0] ../../lib/util/fault.c:292(log_stack_trace)
Oct 18 01:16:08 NAS3000 smbd[8359]: BACKTRACE: 32 stack frames:
Oct 18 01:16:08 NAS3000 smbd[8359]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x153d010eb64e]
Oct 18 01:16:08 NAS3000 smbd[8359]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x153d010eb8a9]
Oct 18 01:16:08 NAS3000 smbd[8359]: #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d0fb) [0x153d014cd0fb]
Oct 18 01:16:08 NAS3000 smbd[8359]: #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x153d0109a4df]
Oct 18 01:16:08 NAS3000 smbd[8359]: #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x153d014da266]
Oct 18 01:16:08 NAS3000 smbd[8359]: #5 /usr/lib64/libsmbd-base-samba4.so(close_file_free+0x29) [0x153d0150aa99]
Oct 18 01:16:08 NAS3000 smbd[8359]: #6 /usr/lib64/libsmbd-base-samba4.so(+0x5cfc6) [0x153d014dcfc6]
Oct 18 01:16:08 NAS3000 smbd[8359]: #7 /usr/lib64/libsmbd-base-samba4.so(+0x5d112) [0x153d014dd112]
Oct 18 01:16:08 NAS3000 smbd[8359]: #8 /usr/lib64/libsmbd-base-samba4.so(files_forall+0x19) [0x153d014d9099]
Oct 18 01:16:08 NAS3000 smbd[8359]: #9 /usr/lib64/libsmbd-base-samba4.so(file_close_conn+0x44) [0x153d014d9104]
Oct 18 01:16:08 NAS3000 smbd[8359]: #10 /usr/lib64/libsmbd-base-samba4.so(close_cnum+0x67) [0x153d01525c77]
Oct 18 01:16:08 NAS3000 smbd[8359]: #11 /usr/lib64/libsmbd-base-samba4.so(smbXsrv_tcon_disconnect+0x4e) [0x153d01558fde]
Oct 18 01:16:08 NAS3000 smbd[8359]: #12 /usr/lib64/libsmbd-base-samba4.so(+0xbbb42) [0x153d0153bb42]
Oct 18 01:16:08 NAS3000 smbd[8359]: #13 /usr/lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x153d010ade2a]
Oct 18 01:16:08 NAS3000 smbd[8359]: #14 /usr/lib64/libtevent.so.0(tevent_common_loop_immediate+0x16) [0x153d010ade46]
Oct 18 01:16:08 NAS3000 smbd[8359]: #15 /usr/lib64/libtevent.so.0(+0xebfb) [0x153d010b3bfb]
Oct 18 01:16:08 NAS3000 smbd[8359]: #16 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:08 NAS3000 smbd[8359]: #17 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:08 NAS3000 smbd[8359]: #18 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:08 NAS3000 smbd[8359]: #19 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:08 NAS3000 smbd[8359]: #20 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x153d01523a37]
Oct 18 01:16:08 NAS3000 smbd[8359]: #21 /usr/sbin/smbd(+0xb090) [0x558a6f31e090]
Oct 18 01:16:08 NAS3000 smbd[8359]: #22 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x153d010ad8c1]
Oct 18 01:16:08 NAS3000 smbd[8359]: #23 /usr/lib64/libtevent.so.0(+0xee07) [0x153d010b3e07]
Oct 18 01:16:08 NAS3000 smbd[8359]: #24 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:08 NAS3000 smbd[8359]: #25 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:08 NAS3000 smbd[8359]: #26 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:08 NAS3000 smbd[8359]: #27 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:08 NAS3000 smbd[8359]: #28 /usr/sbin/smbd(main+0x1489) [0x558a6f31b259]
Oct 18 01:16:08 NAS3000 smbd[8359]: #29 /lib64/libc.so.6(+0x236b7) [0x153d00eb56b7]
Oct 18 01:16:08 NAS3000 smbd[8359]: #30 /lib64/libc.so.6(__libc_start_main+0x85) [0x153d00eb5775]
Oct 18 01:16:08 NAS3000 smbd[8359]: #31 /usr/sbin/smbd(_start+0x21) [0x558a6f31bb31]
Oct 18 01:16:08 NAS3000 smbd[8359]: [2023/10/18 01:16:08.845474, 0] ../../source3/lib/dumpcore.c:315(dump_core)
Oct 18 01:16:08 NAS3000 smbd[8359]: dumping core in /var/log/samba/cores/smbd
Oct 18 01:16:08 NAS3000 smbd[8359]:
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.654694, 0] ../../source3/smbd/close.c:312(close_remove_share_mode)
Oct 18 01:16:11 NAS3000 smbd[8373]: close_remove_share_mode: Could not get share mode lock for file iPhone Pictures Steffi/2022/05/IMG_1849.JPG
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.654727, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
Oct 18 01:16:11 NAS3000 smbd[8373]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.654733, 0] ../../lib/util/fault.c:173(smb_panic_log)
Oct 18 01:16:11 NAS3000 smbd[8373]: ===============================================================
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.654738, 0] ../../lib/util/fault.c:174(smb_panic_log)
Oct 18 01:16:11 NAS3000 smbd[8373]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 8373 (4.17.10)
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.654742, 0] ../../lib/util/fault.c:178(smb_panic_log)
Oct 18 01:16:11 NAS3000 smbd[8373]: 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 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.654746, 0] ../../lib/util/fault.c:183(smb_panic_log)
Oct 18 01:16:11 NAS3000 smbd[8373]: ===============================================================
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.654803, 0] ../../lib/util/fault.c:184(smb_panic_log)
Oct 18 01:16:11 NAS3000 smbd[8373]: PANIC (pid 8373): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.655022, 0] ../../lib/util/fault.c:292(log_stack_trace)
Oct 18 01:16:11 NAS3000 smbd[8373]: BACKTRACE: 32 stack frames:
Oct 18 01:16:11 NAS3000 smbd[8373]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x153d010eb64e]
Oct 18 01:16:11 NAS3000 smbd[8373]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x153d010eb8a9]
Oct 18 01:16:11 NAS3000 smbd[8373]: #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d0fb) [0x153d014cd0fb]
Oct 18 01:16:11 NAS3000 smbd[8373]: #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x153d0109a4df]
Oct 18 01:16:11 NAS3000 smbd[8373]: #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x153d014da266]
Oct 18 01:16:11 NAS3000 smbd[8373]: #5 /usr/lib64/libsmbd-base-samba4.so(close_file_free+0x29) [0x153d0150aa99]
Oct 18 01:16:11 NAS3000 smbd[8373]: #6 /usr/lib64/libsmbd-base-samba4.so(+0x5cfc6) [0x153d014dcfc6]
Oct 18 01:16:11 NAS3000 smbd[8373]: #7 /usr/lib64/libsmbd-base-samba4.so(+0x5d112) [0x153d014dd112]
Oct 18 01:16:11 NAS3000 smbd[8373]: #8 /usr/lib64/libsmbd-base-samba4.so(files_forall+0x19) [0x153d014d9099]
Oct 18 01:16:11 NAS3000 smbd[8373]: #9 /usr/lib64/libsmbd-base-samba4.so(file_close_conn+0x44) [0x153d014d9104]
Oct 18 01:16:11 NAS3000 smbd[8373]: #10 /usr/lib64/libsmbd-base-samba4.so(close_cnum+0x67) [0x153d01525c77]
Oct 18 01:16:11 NAS3000 smbd[8373]: #11 /usr/lib64/libsmbd-base-samba4.so(smbXsrv_tcon_disconnect+0x4e) [0x153d01558fde]
Oct 18 01:16:11 NAS3000 smbd[8373]: #12 /usr/lib64/libsmbd-base-samba4.so(+0xbbb42) [0x153d0153bb42]
Oct 18 01:16:11 NAS3000 smbd[8373]: #13 /usr/lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x153d010ade2a]
Oct 18 01:16:11 NAS3000 smbd[8373]: #14 /usr/lib64/libtevent.so.0(tevent_common_loop_immediate+0x16) [0x153d010ade46]
Oct 18 01:16:11 NAS3000 smbd[8373]: #15 /usr/lib64/libtevent.so.0(+0xebfb) [0x153d010b3bfb]
Oct 18 01:16:11 NAS3000 smbd[8373]: #16 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:11 NAS3000 smbd[8373]: #17 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:11 NAS3000 smbd[8373]: #18 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:11 NAS3000 smbd[8373]: #19 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:11 NAS3000 smbd[8373]: #20 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x153d01523a37]
Oct 18 01:16:11 NAS3000 smbd[8373]: #21 /usr/sbin/smbd(+0xb090) [0x558a6f31e090]
Oct 18 01:16:11 NAS3000 smbd[8373]: #22 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x153d010ad8c1]
Oct 18 01:16:11 NAS3000 smbd[8373]: #23 /usr/lib64/libtevent.so.0(+0xee07) [0x153d010b3e07]
Oct 18 01:16:11 NAS3000 smbd[8373]: #24 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:11 NAS3000 smbd[8373]: #25 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:11 NAS3000 smbd[8373]: #26 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:11 NAS3000 smbd[8373]: #27 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:11 NAS3000 smbd[8373]: #28 /usr/sbin/smbd(main+0x1489) [0x558a6f31b259]
Oct 18 01:16:11 NAS3000 smbd[8373]: #29 /lib64/libc.so.6(+0x236b7) [0x153d00eb56b7]
Oct 18 01:16:11 NAS3000 smbd[8373]: #30 /lib64/libc.so.6(__libc_start_main+0x85) [0x153d00eb5775]
Oct 18 01:16:11 NAS3000 smbd[8373]: #31 /usr/sbin/smbd(_start+0x21) [0x558a6f31bb31]
Oct 18 01:16:11 NAS3000 smbd[8373]: [2023/10/18 01:16:11.655080, 0] ../../source3/lib/dumpcore.c:315(dump_core)
Oct 18 01:16:11 NAS3000 smbd[8373]: dumping core in /var/log/samba/cores/smbd
Oct 18 01:16:11 NAS3000 smbd[8373]:
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149067, 0] ../../source3/smbd/close.c:312(close_remove_share_mode)
Oct 18 01:16:13 NAS3000 smbd[8383]: close_remove_share_mode: Could not get share mode lock for file iPhone Pictures Steffi/2022/05/IMG_1848.JPG
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149103, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
Oct 18 01:16:13 NAS3000 smbd[8383]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149113, 0] ../../lib/util/fault.c:173(smb_panic_log)
Oct 18 01:16:13 NAS3000 smbd[8383]: ===============================================================
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149121, 0] ../../lib/util/fault.c:174(smb_panic_log)
Oct 18 01:16:13 NAS3000 smbd[8383]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 8383 (4.17.10)
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149126, 0] ../../lib/util/fault.c:178(smb_panic_log)
Oct 18 01:16:13 NAS3000 smbd[8383]: 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 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149132, 0] ../../lib/util/fault.c:183(smb_panic_log)
Oct 18 01:16:13 NAS3000 smbd[8383]: ===============================================================
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149137, 0] ../../lib/util/fault.c:184(smb_panic_log)
Oct 18 01:16:13 NAS3000 smbd[8383]: PANIC (pid 8383): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149345, 0] ../../lib/util/fault.c:292(log_stack_trace)
Oct 18 01:16:13 NAS3000 smbd[8383]: BACKTRACE: 32 stack frames:
Oct 18 01:16:13 NAS3000 smbd[8383]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x153d010eb64e]
Oct 18 01:16:13 NAS3000 smbd[8383]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x153d010eb8a9]
Oct 18 01:16:13 NAS3000 smbd[8383]: #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d0fb) [0x153d014cd0fb]
Oct 18 01:16:13 NAS3000 smbd[8383]: #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x153d0109a4df]
Oct 18 01:16:13 NAS3000 smbd[8383]: #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x153d014da266]
Oct 18 01:16:13 NAS3000 smbd[8383]: #5 /usr/lib64/libsmbd-base-samba4.so(close_file_free+0x29) [0x153d0150aa99]
Oct 18 01:16:13 NAS3000 smbd[8383]: #6 /usr/lib64/libsmbd-base-samba4.so(+0x5cfc6) [0x153d014dcfc6]
Oct 18 01:16:13 NAS3000 smbd[8383]: #7 /usr/lib64/libsmbd-base-samba4.so(+0x5d112) [0x153d014dd112]
Oct 18 01:16:13 NAS3000 smbd[8383]: #8 /usr/lib64/libsmbd-base-samba4.so(files_forall+0x19) [0x153d014d9099]
Oct 18 01:16:13 NAS3000 smbd[8383]: #9 /usr/lib64/libsmbd-base-samba4.so(file_close_conn+0x44) [0x153d014d9104]
Oct 18 01:16:13 NAS3000 smbd[8383]: #10 /usr/lib64/libsmbd-base-samba4.so(close_cnum+0x67) [0x153d01525c77]
Oct 18 01:16:13 NAS3000 smbd[8383]: #11 /usr/lib64/libsmbd-base-samba4.so(smbXsrv_tcon_disconnect+0x4e) [0x153d01558fde]
Oct 18 01:16:13 NAS3000 smbd[8383]: #12 /usr/lib64/libsmbd-base-samba4.so(+0xbbb42) [0x153d0153bb42]
Oct 18 01:16:13 NAS3000 smbd[8383]: #13 /usr/lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x153d010ade2a]
Oct 18 01:16:13 NAS3000 smbd[8383]: #14 /usr/lib64/libtevent.so.0(tevent_common_loop_immediate+0x16) [0x153d010ade46]
Oct 18 01:16:13 NAS3000 smbd[8383]: #15 /usr/lib64/libtevent.so.0(+0xebfb) [0x153d010b3bfb]
Oct 18 01:16:13 NAS3000 smbd[8383]: #16 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:13 NAS3000 smbd[8383]: #17 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:13 NAS3000 smbd[8383]: #18 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:13 NAS3000 smbd[8383]: #19 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:13 NAS3000 smbd[8383]: #20 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x153d01523a37]
Oct 18 01:16:13 NAS3000 smbd[8383]: #21 /usr/sbin/smbd(+0xb090) [0x558a6f31e090]
Oct 18 01:16:13 NAS3000 smbd[8383]: #22 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x153d010ad8c1]
Oct 18 01:16:13 NAS3000 smbd[8383]: #23 /usr/lib64/libtevent.so.0(+0xee07) [0x153d010b3e07]
Oct 18 01:16:13 NAS3000 smbd[8383]: #24 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:13 NAS3000 smbd[8383]: #25 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:13 NAS3000 smbd[8383]: #26 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:13 NAS3000 smbd[8383]: #27 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:13 NAS3000 smbd[8383]: #28 /usr/sbin/smbd(main+0x1489) [0x558a6f31b259]
Oct 18 01:16:13 NAS3000 smbd[8383]: #29 /lib64/libc.so.6(+0x236b7) [0x153d00eb56b7]
Oct 18 01:16:13 NAS3000 smbd[8383]: #30 /lib64/libc.so.6(__libc_start_main+0x85) [0x153d00eb5775]
Oct 18 01:16:13 NAS3000 smbd[8383]: #31 /usr/sbin/smbd(_start+0x21) [0x558a6f31bb31]
Oct 18 01:16:13 NAS3000 smbd[8383]: [2023/10/18 01:16:13.149433, 0] ../../source3/lib/dumpcore.c:315(dump_core)
Oct 18 01:16:13 NAS3000 smbd[8383]: dumping core in /var/log/samba/cores/smbd
Oct 18 01:16:13 NAS3000 smbd[8383]:
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887427, 0] ../../source3/smbd/close.c:312(close_remove_share_mode)
Oct 18 01:16:23 NAS3000 smbd[8510]: close_remove_share_mode: Could not get share mode lock for file iPhone Pictures Steffi/2022/05/IMG_1838.JPG
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887462, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
Oct 18 01:16:23 NAS3000 smbd[8510]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887468, 0] ../../lib/util/fault.c:173(smb_panic_log)
Oct 18 01:16:23 NAS3000 smbd[8510]: ===============================================================
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887474, 0] ../../lib/util/fault.c:174(smb_panic_log)
Oct 18 01:16:23 NAS3000 smbd[8510]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 8510 (4.17.10)
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887478, 0] ../../lib/util/fault.c:178(smb_panic_log)
Oct 18 01:16:23 NAS3000 smbd[8510]: 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 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887481, 0] ../../lib/util/fault.c:183(smb_panic_log)
Oct 18 01:16:23 NAS3000 smbd[8510]: ===============================================================
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887485, 0] ../../lib/util/fault.c:184(smb_panic_log)
Oct 18 01:16:23 NAS3000 smbd[8510]: PANIC (pid 8510): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887690, 0] ../../lib/util/fault.c:292(log_stack_trace)
Oct 18 01:16:23 NAS3000 smbd[8510]: BACKTRACE: 32 stack frames:
Oct 18 01:16:23 NAS3000 smbd[8510]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x153d010eb64e]
Oct 18 01:16:23 NAS3000 smbd[8510]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x153d010eb8a9]
Oct 18 01:16:23 NAS3000 smbd[8510]: #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d0fb) [0x153d014cd0fb]
Oct 18 01:16:23 NAS3000 smbd[8510]: #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x153d0109a4df]
Oct 18 01:16:23 NAS3000 smbd[8510]: #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x153d014da266]
Oct 18 01:16:23 NAS3000 smbd[8510]: #5 /usr/lib64/libsmbd-base-samba4.so(close_file_free+0x29) [0x153d0150aa99]
Oct 18 01:16:23 NAS3000 smbd[8510]: #6 /usr/lib64/libsmbd-base-samba4.so(+0x5cfc6) [0x153d014dcfc6]
Oct 18 01:16:23 NAS3000 smbd[8510]: #7 /usr/lib64/libsmbd-base-samba4.so(+0x5d112) [0x153d014dd112]
Oct 18 01:16:23 NAS3000 smbd[8510]: #8 /usr/lib64/libsmbd-base-samba4.so(files_forall+0x19) [0x153d014d9099]
Oct 18 01:16:23 NAS3000 smbd[8510]: #9 /usr/lib64/libsmbd-base-samba4.so(file_close_conn+0x44) [0x153d014d9104]
Oct 18 01:16:23 NAS3000 smbd[8510]: #10 /usr/lib64/libsmbd-base-samba4.so(close_cnum+0x67) [0x153d01525c77]
Oct 18 01:16:23 NAS3000 smbd[8510]: #11 /usr/lib64/libsmbd-base-samba4.so(smbXsrv_tcon_disconnect+0x4e) [0x153d01558fde]
Oct 18 01:16:23 NAS3000 smbd[8510]: #12 /usr/lib64/libsmbd-base-samba4.so(+0xbbb42) [0x153d0153bb42]
Oct 18 01:16:23 NAS3000 smbd[8510]: #13 /usr/lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x153d010ade2a]
Oct 18 01:16:23 NAS3000 smbd[8510]: #14 /usr/lib64/libtevent.so.0(tevent_common_loop_immediate+0x16) [0x153d010ade46]
Oct 18 01:16:23 NAS3000 smbd[8510]: #15 /usr/lib64/libtevent.so.0(+0xebfb) [0x153d010b3bfb]
Oct 18 01:16:23 NAS3000 smbd[8510]: #16 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:23 NAS3000 smbd[8510]: #17 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:23 NAS3000 smbd[8510]: #18 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:23 NAS3000 smbd[8510]: #19 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:23 NAS3000 smbd[8510]: #20 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x153d01523a37]
Oct 18 01:16:23 NAS3000 smbd[8510]: #21 /usr/sbin/smbd(+0xb090) [0x558a6f31e090]
Oct 18 01:16:23 NAS3000 smbd[8510]: #22 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x153d010ad8c1]
Oct 18 01:16:23 NAS3000 smbd[8510]: #23 /usr/lib64/libtevent.so.0(+0xee07) [0x153d010b3e07]
Oct 18 01:16:23 NAS3000 smbd[8510]: #24 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:23 NAS3000 smbd[8510]: #25 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:23 NAS3000 smbd[8510]: #26 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:23 NAS3000 smbd[8510]: #27 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:23 NAS3000 smbd[8510]: #28 /usr/sbin/smbd(main+0x1489) [0x558a6f31b259]
Oct 18 01:16:23 NAS3000 smbd[8510]: #29 /lib64/libc.so.6(+0x236b7) [0x153d00eb56b7]
Oct 18 01:16:23 NAS3000 smbd[8510]: #30 /lib64/libc.so.6(__libc_start_main+0x85) [0x153d00eb5775]
Oct 18 01:16:23 NAS3000 smbd[8510]: #31 /usr/sbin/smbd(_start+0x21) [0x558a6f31bb31]
Oct 18 01:16:23 NAS3000 smbd[8510]: [2023/10/18 01:16:23.887748, 0] ../../source3/lib/dumpcore.c:315(dump_core)
Oct 18 01:16:23 NAS3000 smbd[8510]: dumping core in /var/log/samba/cores/smbd
Oct 18 01:16:23 NAS3000 smbd[8510]:
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499696, 0] ../../source3/smbd/close.c:312(close_remove_share_mode)
Oct 18 01:16:25 NAS3000 smbd[8517]: close_remove_share_mode: Could not get share mode lock for file iPhone Pictures Steffi/2022/05/IMG_1837.JPG
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499740, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
Oct 18 01:16:25 NAS3000 smbd[8517]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499746, 0] ../../lib/util/fault.c:173(smb_panic_log)
Oct 18 01:16:25 NAS3000 smbd[8517]: ===============================================================
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499753, 0] ../../lib/util/fault.c:174(smb_panic_log)
Oct 18 01:16:25 NAS3000 smbd[8517]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 8517 (4.17.10)
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499756, 0] ../../lib/util/fault.c:178(smb_panic_log)
Oct 18 01:16:25 NAS3000 smbd[8517]: 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 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499761, 0] ../../lib/util/fault.c:183(smb_panic_log)
Oct 18 01:16:25 NAS3000 smbd[8517]: ===============================================================
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499764, 0] ../../lib/util/fault.c:184(smb_panic_log)
Oct 18 01:16:25 NAS3000 smbd[8517]: PANIC (pid 8517): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.499989, 0] ../../lib/util/fault.c:292(log_stack_trace)
Oct 18 01:16:25 NAS3000 smbd[8517]: BACKTRACE: 32 stack frames:
Oct 18 01:16:25 NAS3000 smbd[8517]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x153d010eb64e]
Oct 18 01:16:25 NAS3000 smbd[8517]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x153d010eb8a9]
Oct 18 01:16:25 NAS3000 smbd[8517]: #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d0fb) [0x153d014cd0fb]
Oct 18 01:16:25 NAS3000 smbd[8517]: #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x153d0109a4df]
Oct 18 01:16:25 NAS3000 smbd[8517]: #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x153d014da266]
Oct 18 01:16:25 NAS3000 smbd[8517]: #5 /usr/lib64/libsmbd-base-samba4.so(close_file_free+0x29) [0x153d0150aa99]
Oct 18 01:16:25 NAS3000 smbd[8517]: #6 /usr/lib64/libsmbd-base-samba4.so(+0x5cfc6) [0x153d014dcfc6]
Oct 18 01:16:25 NAS3000 smbd[8517]: #7 /usr/lib64/libsmbd-base-samba4.so(+0x5d112) [0x153d014dd112]
Oct 18 01:16:25 NAS3000 smbd[8517]: #8 /usr/lib64/libsmbd-base-samba4.so(files_forall+0x19) [0x153d014d9099]
Oct 18 01:16:25 NAS3000 smbd[8517]: #9 /usr/lib64/libsmbd-base-samba4.so(file_close_conn+0x44) [0x153d014d9104]
Oct 18 01:16:25 NAS3000 smbd[8517]: #10 /usr/lib64/libsmbd-base-samba4.so(close_cnum+0x67) [0x153d01525c77]
Oct 18 01:16:25 NAS3000 smbd[8517]: #11 /usr/lib64/libsmbd-base-samba4.so(smbXsrv_tcon_disconnect+0x4e) [0x153d01558fde]
Oct 18 01:16:25 NAS3000 smbd[8517]: #12 /usr/lib64/libsmbd-base-samba4.so(+0xbbb42) [0x153d0153bb42]
Oct 18 01:16:25 NAS3000 smbd[8517]: #13 /usr/lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x153d010ade2a]
Oct 18 01:16:25 NAS3000 smbd[8517]: #14 /usr/lib64/libtevent.so.0(tevent_common_loop_immediate+0x16) [0x153d010ade46]
Oct 18 01:16:25 NAS3000 smbd[8517]: #15 /usr/lib64/libtevent.so.0(+0xebfb) [0x153d010b3bfb]
Oct 18 01:16:25 NAS3000 smbd[8517]: #16 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:25 NAS3000 smbd[8517]: #17 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:25 NAS3000 smbd[8517]: #18 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:25 NAS3000 smbd[8517]: #19 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:25 NAS3000 smbd[8517]: #20 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x153d01523a37]
Oct 18 01:16:25 NAS3000 smbd[8517]: #21 /usr/sbin/smbd(+0xb090) [0x558a6f31e090]
Oct 18 01:16:25 NAS3000 smbd[8517]: #22 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x153d010ad8c1]
Oct 18 01:16:25 NAS3000 smbd[8517]: #23 /usr/lib64/libtevent.so.0(+0xee07) [0x153d010b3e07]
Oct 18 01:16:25 NAS3000 smbd[8517]: #24 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:25 NAS3000 smbd[8517]: #25 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:25 NAS3000 smbd[8517]: #26 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:25 NAS3000 smbd[8517]: #27 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:25 NAS3000 smbd[8517]: #28 /usr/sbin/smbd(main+0x1489) [0x558a6f31b259]
Oct 18 01:16:25 NAS3000 smbd[8517]: #29 /lib64/libc.so.6(+0x236b7) [0x153d00eb56b7]
Oct 18 01:16:25 NAS3000 smbd[8517]: #30 /lib64/libc.so.6(__libc_start_main+0x85) [0x153d00eb5775]
Oct 18 01:16:25 NAS3000 smbd[8517]: #31 /usr/sbin/smbd(_start+0x21) [0x558a6f31bb31]
Oct 18 01:16:25 NAS3000 smbd[8517]: [2023/10/18 01:16:25.500046, 0] ../../source3/lib/dumpcore.c:315(dump_core)
Oct 18 01:16:25 NAS3000 smbd[8517]: dumping core in /var/log/samba/cores/smbd
Oct 18 01:16:25 NAS3000 smbd[8517]:
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052651, 0] ../../source3/smbd/close.c:312(close_remove_share_mode)
Oct 18 01:16:27 NAS3000 smbd[8524]: close_remove_share_mode: Could not get share mode lock for file iPhone Pictures Steffi/2022/05/IMG_1836.JPG
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052689, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
Oct 18 01:16:27 NAS3000 smbd[8524]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052694, 0] ../../lib/util/fault.c:173(smb_panic_log)
Oct 18 01:16:27 NAS3000 smbd[8524]: ===============================================================
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052700, 0] ../../lib/util/fault.c:174(smb_panic_log)
Oct 18 01:16:27 NAS3000 smbd[8524]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 8524 (4.17.10)
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052704, 0] ../../lib/util/fault.c:178(smb_panic_log)
Oct 18 01:16:27 NAS3000 smbd[8524]: 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 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052708, 0] ../../lib/util/fault.c:183(smb_panic_log)
Oct 18 01:16:27 NAS3000 smbd[8524]: ===============================================================
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052712, 0] ../../lib/util/fault.c:184(smb_panic_log)
Oct 18 01:16:27 NAS3000 smbd[8524]: PANIC (pid 8524): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.10
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052915, 0] ../../lib/util/fault.c:292(log_stack_trace)
Oct 18 01:16:27 NAS3000 smbd[8524]: BACKTRACE: 32 stack frames:
Oct 18 01:16:27 NAS3000 smbd[8524]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x153d010eb64e]
Oct 18 01:16:27 NAS3000 smbd[8524]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x153d010eb8a9]
Oct 18 01:16:27 NAS3000 smbd[8524]: #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d0fb) [0x153d014cd0fb]
Oct 18 01:16:27 NAS3000 smbd[8524]: #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x153d0109a4df]
Oct 18 01:16:27 NAS3000 smbd[8524]: #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x153d014da266]
Oct 18 01:16:27 NAS3000 smbd[8524]: #5 /usr/lib64/libsmbd-base-samba4.so(close_file_free+0x29) [0x153d0150aa99]
Oct 18 01:16:27 NAS3000 smbd[8524]: #6 /usr/lib64/libsmbd-base-samba4.so(+0x5cfc6) [0x153d014dcfc6]
Oct 18 01:16:27 NAS3000 smbd[8524]: #7 /usr/lib64/libsmbd-base-samba4.so(+0x5d112) [0x153d014dd112]
Oct 18 01:16:27 NAS3000 smbd[8524]: #8 /usr/lib64/libsmbd-base-samba4.so(files_forall+0x19) [0x153d014d9099]
Oct 18 01:16:27 NAS3000 smbd[8524]: #9 /usr/lib64/libsmbd-base-samba4.so(file_close_conn+0x44) [0x153d014d9104]
Oct 18 01:16:27 NAS3000 smbd[8524]: #10 /usr/lib64/libsmbd-base-samba4.so(close_cnum+0x67) [0x153d01525c77]
Oct 18 01:16:27 NAS3000 smbd[8524]: #11 /usr/lib64/libsmbd-base-samba4.so(smbXsrv_tcon_disconnect+0x4e) [0x153d01558fde]
Oct 18 01:16:27 NAS3000 smbd[8524]: #12 /usr/lib64/libsmbd-base-samba4.so(+0xbbb42) [0x153d0153bb42]
Oct 18 01:16:27 NAS3000 smbd[8524]: #13 /usr/lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x153d010ade2a]
Oct 18 01:16:27 NAS3000 smbd[8524]: #14 /usr/lib64/libtevent.so.0(tevent_common_loop_immediate+0x16) [0x153d010ade46]
Oct 18 01:16:27 NAS3000 smbd[8524]: #15 /usr/lib64/libtevent.so.0(+0xebfb) [0x153d010b3bfb]
Oct 18 01:16:27 NAS3000 smbd[8524]: #16 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:27 NAS3000 smbd[8524]: #17 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:27 NAS3000 smbd[8524]: #18 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:27 NAS3000 smbd[8524]: #19 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:27 NAS3000 smbd[8524]: #20 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x153d01523a37]
Oct 18 01:16:27 NAS3000 smbd[8524]: #21 /usr/sbin/smbd(+0xb090) [0x558a6f31e090]
Oct 18 01:16:27 NAS3000 smbd[8524]: #22 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x153d010ad8c1]
Oct 18 01:16:27 NAS3000 smbd[8524]: #23 /usr/lib64/libtevent.so.0(+0xee07) [0x153d010b3e07]
Oct 18 01:16:27 NAS3000 smbd[8524]: #24 /usr/lib64/libtevent.so.0(+0xcef7) [0x153d010b1ef7]
Oct 18 01:16:27 NAS3000 smbd[8524]: #25 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x153d010acba1]
Oct 18 01:16:27 NAS3000 smbd[8524]: #26 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x153d010ace7b]
Oct 18 01:16:27 NAS3000 smbd[8524]: #27 /usr/lib64/libtevent.so.0(+0xce97) [0x153d010b1e97]
Oct 18 01:16:27 NAS3000 smbd[8524]: #28 /usr/sbin/smbd(main+0x1489) [0x558a6f31b259]
Oct 18 01:16:27 NAS3000 smbd[8524]: #29 /lib64/libc.so.6(+0x236b7) [0x153d00eb56b7]
Oct 18 01:16:27 NAS3000 smbd[8524]: #30 /lib64/libc.so.6(__libc_start_main+0x85) [0x153d00eb5775]
Oct 18 01:16:27 NAS3000 smbd[8524]: #31 /usr/sbin/smbd(_start+0x21) [0x558a6f31bb31]
Oct 18 01:16:27 NAS3000 smbd[8524]: [2023/10/18 01:16:27.052975, 0] ../../source3/lib/dumpcore.c:315(dump_core)
Oct 18 01:16:27 NAS3000 smbd[8524]: dumping core in /var/log/samba/cores/smbd
Oct 18 01:16:27 NAS3000 smbd[8524]:
etc...
My system log fills up like this in 3 days.
Any help would be great in resolving this issue.