Advertisement
Guest User

samba bug

a guest
Dec 22nd, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | Software | 0 0
  1. samba-segfault-when-moving-copy-file-from-a-ext4-partition-to-btrfs-partition
  2.  
  3. windows10 error
  4. ===============
  5.  
  6. Error 0x8007003B: An unexpected network error occurred
  7.  
  8. Samba Server Segfault
  9. ======================
  10. cat /var/log/samba/log.desktop-58medod
  11. =========================================
  12.  
  13.  
  14. [2023/12/22 16:48:09.419888, 0] ../../lib/util/fault.c:173(smb_panic_log)
  15. ===============================================================
  16. [2023/12/22 16:48:09.419962, 0] ../../lib/util/fault.c:174(smb_panic_log)
  17. INTERNAL ERROR: Signal 11: Segmentation fault in pid 12898 (4.17.12-Debian)
  18. [2023/12/22 16:48:09.419986, 0] ../../lib/util/fault.c:178(smb_panic_log)
  19. 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
  20. [2023/12/22 16:48:09.420008, 0] ../../lib/util/fault.c:183(smb_panic_log)
  21. ===============================================================
  22. [2023/12/22 16:48:09.420035, 0] ../../lib/util/fault.c:184(smb_panic_log)
  23. PANIC (pid 12898): Signal 11: Segmentation fault in 4.17.12-Debian
  24. [2023/12/22 16:48:09.420427, 0] ../../lib/util/fault.c:292(log_stack_trace)
  25. BACKTRACE: 29 stack frames:
  26. #0 /usr/lib/x86_64-linux-gnu/samba/libgenrand-samba4.so.0(log_stack_trace+0x2e) [0x7fb12343155e]
  27. #1 /usr/lib/x86_64-linux-gnu/samba/libgenrand-samba4.so.0(smb_panic+0x9) [0x7fb1234317b9]
  28. #2 /usr/lib/x86_64-linux-gnu/samba/libgenrand-samba4.so.0(+0x1851) [0x7fb123431851]
  29. #3 /lib/x86_64-linux-gnu/libc.so.6(+0x3bfd0) [0x7fb123229fd0]
  30. #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(vfs_offload_token_db_fetch_fsp+0x37) [0x7fb12380f747]
  31. #5 /usr/lib/x86_64-linux-gnu/samba/vfs/btrfs.so(+0x3324) [0x7fb120dda324]
  32. #6 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(+0xc3f10) [0x7fb123885f10]
  33. #7 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(smb2_ioctl_network_fs+0x853) [0x7fb123886ea3]
  34. #8 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(smbd_smb2_request_process_ioctl+0x555) [0x7fb123883d95]
  35. #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(smbd_smb2_request_dispatch+0x10e2) [0x7fb123872592]
  36. #10 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(+0xb2111) [0x7fb123874111]
  37. #11 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x7fb1233d78c1]
  38. #12 /lib/x86_64-linux-gnu/libtevent.so.0(+0xee07) [0x7fb1233dde07]
  39. #13 /lib/x86_64-linux-gnu/libtevent.so.0(+0xcef7) [0x7fb1233dbef7]
  40. #14 /lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x91) [0x7fb1233d6ba1]
  41. #15 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fb1233d6e7b]
  42. #16 /lib/x86_64-linux-gnu/libtevent.so.0(+0xce97) [0x7fb1233dbe97]
  43. #17 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(smbd_process+0x82f) [0x7fb12386121f]
  44. #18 /usr/sbin/smbd(+0x9e00) [0x55e637079e00]
  45. #19 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x91) [0x7fb1233d78c1]
  46. #20 /lib/x86_64-linux-gnu/libtevent.so.0(+0xee07) [0x7fb1233dde07]
  47. #21 /lib/x86_64-linux-gnu/libtevent.so.0(+0xcef7) [0x7fb1233dbef7]
  48. #22 /lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x91) [0x7fb1233d6ba1]
  49. #23 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fb1233d6e7b]
  50. #24 /lib/x86_64-linux-gnu/libtevent.so.0(+0xce97) [0x7fb1233dbe97]
  51. #25 /usr/sbin/smbd(main+0x1489) [0x55e637077269]
  52. #26 /lib/x86_64-linux-gnu/libc.so.6(+0x271ca) [0x7fb1232151ca]
  53. #27 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fb123215285]
  54. #28 /usr/sbin/smbd(_start+0x21) [0x55e637077b41]
  55. [2023/12/22 16:48:09.420772, 0] ../../source3/lib/util.c:702(smb_panic_s3)
  56. smb_panic(): calling panic action [/usr/share/samba/panic-action 12898]
  57. postdrop: warning: unable to look up public/pickup: No such file or directory
  58. [2023/12/22 16:48:09.439620, 0] ../../source3/lib/util.c:709(smb_panic_s3)
  59. smb_panic(): action returned status 0
  60. [2023/12/22 16:48:09.439758, 0] ../../source3/lib/dumpcore.c:315(dump_core)
  61. dumping core in /var/log/samba/cores/smbd
  62.  
  63. smb.conf shares
  64. ================
  65. [adata-braid1]
  66. create mask = 0664
  67. dfree cache time = 30
  68. dfree command = /usr/sbin/omv-btrfs-dfree
  69. directory mask = 0775
  70. ea support = No
  71. force create mode = 0664
  72. force directory mode = 0775
  73. hide special files = Yes
  74. path = /srv/dev-disk-by-uuid-872ad1ad-47dc-42bb-b280-b51a008d0f97/adata-braid1/
  75. read only = No
  76. store dos attributes = No
  77. vfs objects = btrfs shadow_copy2
  78. shadow:localtime = no
  79. shadow:snapprefix = ^adata-braid1\(@hourly\)\{0,1\}\(@daily\)\{0,1\}\(@weekly\)\{0,1\}\(@monthly\)\{0,1\}\(@yearly\)\{0,1\}$
  80. shadow:delimiter = _
  81. shadow:format = _%Y%m%dT%H%M%S
  82. shadow:sort = desc
  83. shadow:basedir = /srv/dev-disk-by-uuid-872ad1ad-47dc-42bb-b280-b51a008d0f97/adata-braid1/
  84. shadow:snapdir = /srv/dev-disk-by-uuid-872ad1ad-47dc-42bb-b280-b51a008d0f97/.snapshots/
  85. shadow:mountpoint = /srv/dev-disk-by-uuid-872ad1ad-47dc-42bb-b280-b51a008d0f97/
  86.  
  87. [playlist]
  88. create mask = 0664
  89. directory mask = 0775
  90. ea support = No
  91. force create mode = 0664
  92. force directory mode = 0775
  93. hide special files = Yes
  94. path = /srv/dev-disk-by-uuid-e08eb6e6-e84b-4845-848a-bdceb1b9d9c1/playlist/
  95. read only = No
  96. store dos attributes = No
  97.  
  98. Sofware vserions
  99. =====================
  100. root@omvtest:~# uname -a
  101. Linux omvtest 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux
  102. root@omvtest:~# dpkg -l | egrep "samba|btrfs"
  103. ii btrbk 0.32.5-1 all backup tool for btrfs subvolumes
  104. ii btrfs-progs 6.2-1 amd64 Checksumming Copy on Write Filesystem utilities
  105. ii libldb2:amd64 2:2.6.2+samba4.17.12+dfsg-0+deb12u1 amd64 LDAP-like embedded database - shared library
  106. ii python3-ldb 2:2.6.2+samba4.17.12+dfsg-0+deb12u1 amd64 Python 3 bindings for LDB
  107. ii python3-samba 2:4.17.12+dfsg-0+deb12u1 amd64 Python 3 bindings for Samba
  108. ii samba 2:4.17.12+dfsg-0+deb12u1 amd64 SMB/CIFS file, print, and login server for Unix
  109. ii samba-common 2:4.17.12+dfsg-0+deb12u1 all common files used by both the Samba server and client
  110. ii samba-common-bin 2:4.17.12+dfsg-0+deb12u1 amd64 Samba common files used by both the server and the client
  111. ii samba-libs:amd64 2:4.17.12+dfsg-0+deb12u1 amd64 Samba core libraries
  112. ii samba-vfs-modules:amd64 2:4.17.12+dfsg-0+deb12u1 amd64 Samba Virtual FileSystem plugins
  113. root@omvtest:~#
  114.  
  115.  
  116. Workaround: Set "vfs obects = " on BTRFS backed share.
  117.  
Tags: samba bug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement