• 6.12.3 - smbd stack trace


    zoggy
    • Minor

    looking at logs, i see smbd core'd a few days ago (it then auto recovered). i never noticed anything on my side. just noting logs here in case others have seen

     

    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828234,  0] ../../source3/smbd/close.c:1397(close_directory)
    Aug 19 20:30:27 husky smbd[15075]:   close_directory: Could not get share mode lock for TV/Foundation 2021
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828285,  0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)
    Aug 19 20:30:27 husky smbd[15075]:   PANIC: assert failed at ../../source3/smbd/fd_handle.c(39): (fh->fd == -1) || (fh->fd == AT_FDCWD)
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828296,  0] ../../lib/util/fault.c:173(smb_panic_log)
    Aug 19 20:30:27 husky smbd[15075]:   ===============================================================
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828315,  0] ../../lib/util/fault.c:174(smb_panic_log)
    Aug 19 20:30:27 husky smbd[15075]:   INTERNAL ERROR: assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in pid 15075 (4.17.7)
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828324,  0] ../../lib/util/fault.c:178(smb_panic_log)
    Aug 19 20:30:27 husky smbd[15075]:   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
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828333,  0] ../../lib/util/fault.c:183(smb_panic_log)
    Aug 19 20:30:27 husky smbd[15075]:   ===============================================================
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828348,  0] ../../lib/util/fault.c:184(smb_panic_log)
    Aug 19 20:30:27 husky smbd[15075]:   PANIC (pid 15075): assert failed: (fh->fd == -1) || (fh->fd == AT_FDCWD) in 4.17.7
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828708,  0] ../../lib/util/fault.c:292(log_stack_trace)
    Aug 19 20:30:27 husky smbd[15075]:   BACKTRACE: 32 stack frames:
    Aug 19 20:30:27 husky smbd[15075]:    #0 /usr/lib64/libgenrand-samba4.so(log_stack_trace+0x2e) [0x15498340e64e]
    Aug 19 20:30:27 husky smbd[15075]:    #1 /usr/lib64/libgenrand-samba4.so(smb_panic+0x9) [0x15498340e8a9]
    Aug 19 20:30:27 husky smbd[15075]:    #2 /usr/lib64/libsmbd-base-samba4.so(+0x4d10b) [0x1549837f010b]
    Aug 19 20:30:27 husky smbd[15075]:    #3 /usr/lib64/libtalloc.so.2(+0x44df) [0x1549833bd4df]
    Aug 19 20:30:27 husky smbd[15075]:    #4 /usr/lib64/libsmbd-base-samba4.so(file_free+0xd6) [0x1549837fd276]
    Aug 19 20:30:27 husky smbd[15075]:    #5 /usr/lib64/libsmbd-base-samba4.so(close_file_free+0x29) [0x15498382da99]
    Aug 19 20:30:27 husky smbd[15075]:    #6 /usr/lib64/libsmbd-base-samba4.so(+0x5cfd6) [0x1549837fffd6]
    Aug 19 20:30:27 husky smbd[15075]:    #7 /usr/lib64/libsmbd-base-samba4.so(+0x5d122) [0x154983800122]
    Aug 19 20:30:27 husky smbd[15075]:    #8 /usr/lib64/libsmbd-base-samba4.so(files_forall+0x19) [0x1549837fc0a9]
    Aug 19 20:30:27 husky smbd[15075]:    #9 /usr/lib64/libsmbd-base-samba4.so(file_close_conn+0x44) [0x1549837fc114]
    Aug 19 20:30:27 husky smbd[15075]:    #10 /usr/lib64/libsmbd-base-samba4.so(close_cnum+0x67) [0x154983848d27]
    Aug 19 20:30:27 husky smbd[15075]:    #11 /usr/lib64/libsmbd-base-samba4.so(smbXsrv_tcon_disconnect+0x4e) [0x15498387c00e]
    Aug 19 20:30:27 husky smbd[15075]:    #12 /usr/lib64/libsmbd-base-samba4.so(+0xbbc02) [0x15498385ec02]
    Aug 19 20:30:27 husky smbd[15075]:    #13 /usr/lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x1549833d0e2a]
    Aug 19 20:30:27 husky smbd[15075]:    #14 /usr/lib64/libtevent.so.0(tevent_common_loop_immediate+0x16) [0x1549833d0e46]
    Aug 19 20:30:27 husky smbd[15075]:    #15 /usr/lib64/libtevent.so.0(+0xebfb) [0x1549833d6bfb]
    Aug 19 20:30:27 husky smbd[15075]:    #16 /usr/lib64/libtevent.so.0(+0xcef7) [0x1549833d4ef7]
    Aug 19 20:30:27 husky smbd[15075]:    #17 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x1549833cfba1]
    Aug 19 20:30:27 husky smbd[15075]:    #18 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x1549833cfe7b]
    Aug 19 20:30:27 husky smbd[15075]:    #19 /usr/lib64/libtevent.so.0(+0xce97) [0x1549833d4e97]
    Aug 19 20:30:27 husky smbd[15075]:    #20 /usr/lib64/libsmbd-base-samba4.so(smbd_process+0x817) [0x154983846a37]
    Aug 19 20:30:27 husky smbd[15075]:    #21 /usr/sbin/smbd(+0xb090) [0x5654df159090]
    Aug 19 20:30:27 husky smbd[15075]:    #22 /usr/lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x1549833d08c1]
    Aug 19 20:30:27 husky smbd[15075]:    #23 /usr/lib64/libtevent.so.0(+0xee07) [0x1549833d6e07]
    Aug 19 20:30:27 husky smbd[15075]:    #24 /usr/lib64/libtevent.so.0(+0xcef7) [0x1549833d4ef7]
    Aug 19 20:30:27 husky smbd[15075]:    #25 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x91) [0x1549833cfba1]
    Aug 19 20:30:27 husky smbd[15075]:    #26 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x1549833cfe7b]
    Aug 19 20:30:27 husky smbd[15075]:    #27 /usr/lib64/libtevent.so.0(+0xce97) [0x1549833d4e97]
    Aug 19 20:30:27 husky smbd[15075]:    #28 /usr/sbin/smbd(main+0x1489) [0x5654df156259]
    Aug 19 20:30:27 husky smbd[15075]:    #29 /lib64/libc.so.6(+0x236b7) [0x1549831d76b7]
    Aug 19 20:30:27 husky smbd[15075]:    #30 /lib64/libc.so.6(__libc_start_main+0x85) [0x1549831d7775]
    Aug 19 20:30:27 husky smbd[15075]:    #31 /usr/sbin/smbd(_start+0x21) [0x5654df156b31]
    Aug 19 20:30:27 husky smbd[15075]: [2023/08/19 20:30:27.828898,  0] ../../source3/lib/dumpcore.c:315(dump_core)
    Aug 19 20:30:27 husky smbd[15075]:   dumping core in /var/log/samba/cores/smbd

     

    no actual core present in the dir

    :/var/log/samba/cores/smbd# ls -alh
    total 0
    drwx------ 2 root root  40 Jul 14 22:48 ./
    drwx------ 9 root root 180 Jul 14 22:49 ../
    

     

     

    husky-diagnostics-20230823-0049.zip




    User Feedback

    Recommended Comments

    There are no comments to display.



    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.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.