th3reverend Posted January 7 Posted January 7 syncing photos from ios to unraid via samba. was working prior to 6.12.6 update, but i'm not 100% sure what version i was running prior. it was probably 6.12.5. i generally keep up with the updates. some files may transfer, but it always gets interrupted. i read some other threads looking for solutions, and tried a few reboots. i also performed a shutdown and i scanned the flash drive for errors. no file system errors were found. i also tried with my plex container turned off. Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.426172, 0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor) Jan 6 18:32:27 ark smbd[9407]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD) Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.426280, 0] ../../lib/util/fault.c:173(smb_panic_log) Jan 6 18:32:27 ark smbd[9407]: =============================================================== Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.426321, 0] ../../lib/util/fault.c:174(smb_panic_log) Jan 6 18:32:27 ark smbd[9407]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 9407 (4.17.12) Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.426352, 0] ../../lib/util/fault.c:178(smb_panic_log) Jan 6 18:32:27 ark smbd[9407]: 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 Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.426388, 0] ../../lib/util/fault.c:183(smb_panic_log) Jan 6 18:32:27 ark smbd[9407]: =============================================================== Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.426419, 0] ../../lib/util/fault.c:184(smb_panic_log) Jan 6 18:32:27 ark smbd[9407]: PANIC (pid 9407): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.12 Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.427287, 0] ../../lib/util/fault.c:292(log_stack_trace) Jan 6 18:32:27 ark smbd[9407]: BACKTRACE: 27 stack frames: Jan 6 18:32:27 ark smbd[9407]: #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x145cbecfb64e] Jan 6 18:32:27 ark smbd[9407]: #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x145cbecfb8a9] Jan 6 18:32:27 ark smbd[9407]: #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d0fb) [0x145cbf0dd0fb] Jan 6 18:32:27 ark smbd[9407]: #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x145cbecaa4df] Jan 6 18:32:27 ark smbd[9407]: #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x145cbf0ea266] Jan 6 18:32:27 ark smbd[9407]: #5 /usr/lib64/libsmbd-base-samba4.so(+0xc0781) [0x145cbf150781] Jan 6 18:32:27 ark smbd[9407]: #6 /usr/lib64/libsmbd-base-samba4.so(smbd_smb2_request_process_close+0x211) [0x145cbf150f01] Jan 6 18:32:27 ark smbd[9407]: #7 /usr/lib64/libsmbd-base-samba4.so(smbd_smb2_request_dispatch+0xdfa) [0x145cbf144bfa] Jan 6 18:32:27 ark smbd[9407]: #8 /usr/lib64/libsmbd-base-samba4.so(+0xb5bc1) [0x145cbf145bc1] Jan 6 18:32:27 ark smbd[9407]: #9 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x145cbecbd8c1] Jan 6 18:32:27 ark smbd[9407]: #10 /usr/lib64/libtevent.so.0(+0xee07) [0x145cbecc3e07] Jan 6 18:32:27 ark smbd[9407]: #11 /usr/lib64/libtevent.so.0(+0xcef7) [0x145cbecc1ef7] Jan 6 18:32:27 ark smbd[9407]: #12 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x145cbecbcba1] Jan 6 18:32:27 ark smbd[9407]: #13 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x145cbecbce7b] Jan 6 18:32:27 ark smbd[9407]: #14 /usr/lib64/libtevent.so.0(+0xce97) [0x145cbecc1e97] Jan 6 18:32:27 ark smbd[9407]: #15 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x145cbf133be7] Jan 6 18:32:27 ark smbd[9407]: #16 /usr/sbin/smbd(+0xb090) [0x55b7d1f22090] Jan 6 18:32:27 ark smbd[9407]: #17 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x145cbecbd8c1] Jan 6 18:32:27 ark smbd[9407]: #18 /usr/lib64/libtevent.so.0(+0xee07) [0x145cbecc3e07] Jan 6 18:32:27 ark smbd[9407]: #19 /usr/lib64/libtevent.so.0(+0xcef7) [0x145cbecc1ef7] Jan 6 18:32:27 ark smbd[9407]: #20 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x145cbecbcba1] Jan 6 18:32:27 ark smbd[9407]: #21 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x145cbecbce7b] Jan 6 18:32:27 ark smbd[9407]: #22 /usr/lib64/libtevent.so.0(+0xce97) [0x145cbecc1e97] Jan 6 18:32:27 ark smbd[9407]: #23 /usr/sbin/smbd(main+0x1489) [0x55b7d1f1f259] Jan 6 18:32:27 ark smbd[9407]: #24 /lib64/libc.so.6(+0x236b7) [0x145cbeac56b7] Jan 6 18:32:27 ark smbd[9407]: #25 /lib64/libc.so.6(__libc_start_main+0x85) [0x145cbeac5775] Jan 6 18:32:27 ark smbd[9407]: #26 /usr/sbin/smbd(_start+0x21) [0x55b7d1f1fb31] Jan 6 18:32:27 ark smbd[9407]: [2024/01/06 18:32:27.427721, 0] ../../source3/lib/dumpcore.c:315(dump_core) Jan 6 18:32:27 ark smbd[9407]: dumping core in /var/log/samba/cores/smbd ark-diagnostics-20240106-1841.zip Quote
Hawk30100 Posted January 31 Posted January 31 I do have exactly the same issue. Connections aborts when accessing via MacOS, iOS, iPadOS. Running Unraid 6.12.6 Is there any fix / workaround? Quote
Amane Posted February 28 Posted February 28 (edited) I also have the same problem, it occurs on all shares and happens when I move or delete a file manually. Some folders are more vulnerable than others, it seems to me.. With this error, the combined mount "/mnt/user" is completely unmounted.. (on my system) When it occurs the only thing that helps is a restart as I don't know how I would have to restart Samba correctly and also do a clean remount.. Quote Feb 28 20:35:01 unraid smbd[47562]: PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD) Feb 28 20:35:01 unraid smbd[47562]: INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 47562 (4.17.12) Feb 28 20:35:01 unraid smbd[47562]: PANIC (pid 47562): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.12 another post I found with a similar topic: https://forums.unraid.net/topic/146596-log-filling-up-with-smbd-panic-and-internal-errors/ https://forums.unraid.net/topic/134867-samba-error-help/ Edited February 28 by Amane Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.