Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108824

SMBD crash on scanning share

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: Master - TrueNAS SCALE, SCALE-21.MM (Angelfish)
    • Fix Version/s: N/A
    • Component/s: SMB
    • Labels:
      None
    • Impact:
      Medium

      Description

      smbd is crashing with the following stack trace when ARQ Backup is scanning the share for files to backup:

      almaren# systemctl restart s2020 Dec 27 23:39:07 almaren Process 44759 (smbd) of user 0 dumped core.
      
      Stack trace of thread 44759:
      #0  0x00007fa494062c41 __GI_raise (libc.so.6 + 0x3bc41)
      #1  0x00007fa49404c537 __GI_abort (libc.so.6 + 0x25537)
      #2  0x00007fa4942c6660 dump_core (libsmbconf.so.0 + 0x2c660)
      #3  0x00007fa4942f1531 smb_panic_s3 (libsmbconf.so.0 + 0x57531)
      #4  0x00007fa4948fdf57 smb_panic (libsamba-util.so.0 + 0x14f57)
      #5  0x00007fa4947c3f02 n/a (libsmbd-base.so.0 + 0x21bf02)
      #6  0x00007fa49458d8e6 n/a (libtalloc.so.2 + 0x48e6)
      #7  0x00007fa4946b06c1 n/a (libsmbd-base.so.0 + 0x1086c1)
      #8  0x00007fa4946b2cad create_file_default (libsmbd-base.so.0 + 0x10acad)
      #9  0x00007fa491ce9eea n/a (fruit.so + 0xeeea)
      #10 0x00007fa4946ec375 smbd_smb2_request_process_create (libsmbd-base.so.0 + 0x144375)
      #11 0x00007fa4946e22fd smbd_smb2_request_dispatch (libsmbd-base.so.0 + 0x13a2fd)
      #12 0x00007fa4946e3c27 n/a (libsmbd-base.so.0 + 0x13bc27)
      #13 0x00007fa49456910d tevent_common_invoke_fd_handler (libtevent.so.0 + 0x710d)
      #14 0x00007fa49456f497 n/a (libtevent.so.0 + 0xd497)
      #15 0x00007fa49456d617 n/a (libtevent.so.0 + 0xb617)
      #16 0x00007fa4945687b4 _tevent_loop_once (libtevent.so.0 + 0x67b4)
      #17 0x00007fa494568a9b tevent_common_loop_wait (libtevent.so.0 + 0x6a9b)
      #18 0x00007fa49456d5b7 n/a (libtevent.so.0 + 0xb5b7)
      #19 0x00007fa4946d0a00 smbd_process (libsmbd-base.so.0 + 0x128a00)
      #20 0x000055c0b2d2ea65 n/a (smbd + 0xba65)
      #21 0x00007fa49456910d tevent_common_invoke_fd_handler (libtevent.so.0 + 0x710d)
      #22 0x00007fa49456f497 n/a (libtevent.so.0 + 0xd497)
      #23 0x00007fa49456d617 n/a (libtevent.so.0 + 0xb617)
      #24 0x00007fa4945687b4 _tevent_loop_once (libtevent.so.0 + 0x67b4)
      #25 0x00007fa494568a9b tevent_common_loop_wait (libtevent.so.0 + 0x6a9b)
      #26 0x00007fa49456d5b7 n/a (libtevent.so.0 + 0xb5b7)
      #27 0x000055c0b2d2bc1d main (smbd + 0x8c1d)
      #28 0x00007fa49404dcca __libc_start_main (libc.so.6 + 0x26cca)
      #29 0x000055c0b2d2bdfa _start (smbd + 0x8dfa)

      Environment

      Version: TrueNAS-SCALE-20.12-MASTER-20201227-232916

      ZFS Pool info (migrated from TrueNAS 12):

      almaren# zpool get all zdata
      NAME   PROPERTY                       VALUE                          SOURCE
      zdata  size                           9.06T                          -
      zdata  capacity                       26%                            -
      zdata  altroot                        /mnt                           local
      zdata  health                         ONLINE                         -
      zdata  guid                           9788797016470684051            -
      zdata  version                        -                              default
      zdata  bootfs                         -                              default
      zdata  delegation                     on                             default
      zdata  autoreplace                    off                            default
      zdata  cachefile                      /data/zfs/zpool.cache          local
      zdata  failmode                       continue                       local
      zdata  listsnapshots                  off                            default
      zdata  autoexpand                     on                             local
      zdata  dedupratio                     1.00x                          -
      zdata  free                           6.67T                          -
      zdata  allocated                      2.39T                          -
      zdata  readonly                       off                            -
      zdata  ashift                         0                              default
      zdata  comment                        -                              default
      zdata  expandsize                     -                              -
      zdata  freeing                        0                              -
      zdata  fragmentation                  1%                             -
      zdata  leaked                         0                              -
      zdata  multihost                      off                            default
      zdata  checkpoint                     -                              -
      zdata  load_guid                      13651275117353523991           -
      zdata  autotrim                       off                            default
      zdata  feature@async_destroy          enabled                        local
      zdata  feature@empty_bpobj            active                         local
      zdata  feature@lz4_compress           active                         local
      zdata  feature@multi_vdev_crash_dump  enabled                        local
      zdata  feature@spacemap_histogram     active                         local
      zdata  feature@enabled_txg            active                         local
      zdata  feature@hole_birth             active                         local
      zdata  feature@extensible_dataset     enabled                        local
      zdata  feature@embedded_data          active                         local
      zdata  feature@bookmarks              enabled                        local
      zdata  feature@filesystem_limits      enabled                        local
      zdata  feature@large_blocks           enabled                        local
      zdata  feature@large_dnode            disabled                       local
      zdata  feature@sha512                 enabled                        local
      zdata  feature@skein                  enabled                        local
      zdata  feature@edonr                  disabled                       local
      zdata  feature@userobj_accounting     disabled                       local
      zdata  feature@encryption             disabled                       local
      zdata  feature@project_quota          disabled                       local
      zdata  feature@device_removal         disabled                       local
      zdata  feature@obsolete_counts        disabled                       local
      zdata  feature@zpool_checkpoint       disabled                       local
      zdata  feature@spacemap_v2            disabled                       local
      zdata  feature@allocation_classes     disabled                       local
      zdata  feature@resilver_defer         disabled                       local
      zdata  feature@bookmark_v2            disabled                       local
      zdata  feature@redaction_bookmarks    disabled                       local
      zdata  feature@redacted_datasets      disabled                       local
      zdata  feature@bookmark_written       disabled                       local
      zdata  feature@log_spacemap           disabled                       local
      zdata  feature@livelist               disabled                       local
      zdata  feature@device_rebuild         disabled                       local
      zdata  feature@zstd_compress          disabled                       local

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  releng Release Council
                  Reporter:
                  mjonuschat Morton Jonuschat
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: