[2024/10/21 10:00:59.397186, 0] ../../source3/locking/share_mode_lock.c:2971(share_mode_entry_prepare_lock_fn) share_mode_entry_prepare_lock_fn: get_share_mode_lock_internal failed: NT_STATUS_NOT_FOUND [2024/10/21 10:00:59.397278, 0] ../../source3/smbd/close.c:452(close_remove_share_mode) close_remove_share_mode: share_mode_entry_prepare_lock_del() failed for directory 65D2024-04-27T173508_961F.temp - NT_STATUS_NOT_FOUND [2024/10/21 10:00:59.401227, 0] ../../source3/locking/share_mode_lock.c:2971(share_mode_entry_prepare_lock_fn) share_mode_entry_prepare_lock_fn: get_share_mode_lock_internal failed: NT_STATUS_NOT_FOUND [2024/10/21 10:00:59.401269, 0] ../../source3/smbd/close.c:452(close_remove_share_mode) close_remove_share_mode: share_mode_entry_prepare_lock_del() failed for directory 65D2024-04-27T173508_961F.vbk - NT_STATUS_NOT_FOUND [2024/10/21 10:00:59.401952, 0] ../../source3/locking/share_mode_lock.c:2971(share_mode_entry_prepare_lock_fn) share_mode_entry_prepare_lock_fn: get_share_mode_lock_internal failed: NT_STATUS_NOT_FOUND [2024/10/21 10:00:59.401988, 0] ../../source3/smbd/close.c:1507(close_directory) close_directory: share_mode_entry_prepare_lock_del() failed for . - NT_STATUS_NOT_FOUND [2024/10/21 10:00:59.402210, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor) PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD) We may want to avoid the panic and instead just log an error and a SBT.
This bug was referenced in samba master: f86d1a35917cdcc07b2fa741c6a369aaad24abaf
Created attachment 18497 [details] Patch for 4.20 and 4.21 backported from master
Pushed to autobuild-v4-{21,20}-test.
This bug was referenced in samba v4-21-test: 6afa2ce5dc2e8ec3650029f64b601a59d30f6e24
This bug was referenced in samba v4-20-test: 82db30cdbd9d2ce3a49dbcb9bbafc81b4fdb331f
Closing out bug report. Thanks!
This bug was referenced in samba v4-21-stable (Release samba-4.21.2): 6afa2ce5dc2e8ec3650029f64b601a59d30f6e24