Panic error during Time Machine backup

Asked by Gianpiero

I've an issue with my samba installation done with a compiled version of samba 4.9.2 on Ubuntu 16.04 that I would like to use for Time Machine backup.

Time machine backup seems to work, even if it is not very fast, but my problem is that after a while a during the backup I get this panic error:
[2018/12/09 11:43:57.461725, 0] ../source3/locking/share_mode_lock.c:439(share_mode_data_destructor)
[2018/12/09 11:43:57.461915, 0] ../source3/lib/util.c:816(smb_panic_s3)
  PANIC (pid 32610): could not store share mode entry: NT_STATUS_UNSUCCESSFUL
[2018/12/09 11:43:57.463585, 0] ../lib/util/fault.c:261(log_stack_trace)
  BACKTRACE: 45 stack frames:
   #0 /usr/lib/x86_64-linux-gnu/ [0x7fa1ab8af95f]
   #1 /usr/lib/x86_64-linux-gnu/ [0x7fa1ab01709a]
   #2 /usr/lib/x86_64-linux-gnu/ [0x7fa1ab8af91b]
   #3 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab4fb9ad]
   #4 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa9c4697]
   #5 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa9c592c]
   #6 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa9c4852]
   #7 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa9c592c]
   #8 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa9c4852]
   #9 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa9c4a13]
   #10 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa9c5d79]
   #11 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab450efd]
   #12 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab4546dc]
   #13 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab45532f]
   #14 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab376027]
   #15 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab46131c]
   #16 /usr/lib/x86_64-linux-gnu/samba/vfs/ [0x7fa1932910d3]
   #17 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab46131c]
   #18 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab4a725a]
   #19 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab4a4d2b]
   #20 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab498367]
   #21 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab49c51d]
   #22 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab49c637]
   #23 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5adb66]
   #24 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b8422]
   #25 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b8af6]
   #26 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b530b]
   #27 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5acd95]
   #28 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5ad0e3]
   #29 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b53ad]
   #30 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5ad186]
   #31 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1ab47f493]
   #32 /usr/sbin/smbd(+0xdaf9) [0x55e43ec29af9]
   #33 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5adb66]
   #34 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b8422]
   #35 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b8af6]
   #36 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b530b]
   #37 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5acd95]
   #38 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5ad0e3]
   #39 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5b53ad]
   #40 /usr/lib/x86_64-linux-gnu/samba/ [0x7fa1aa5ad186]
   #41 /usr/sbin/smbd(+0xe809) [0x55e43ec2a809]
   #42 /usr/sbin/smbd(main+0x190e) [0x55e43ec2caf7]
   #43 /lib/x86_64-linux-gnu/ [0x7fa1a7845830]
   #44 /usr/sbin/smbd(_start+0x29) [0x55e43ec22089]

This is my smb.conf configuration

 load printers = no
 printcap name = /dev/null
 obey pam restrictions = yes
 max log size = 1000
 use mmap = no
 dns proxy = no
 map to guest = bad user
 log file = /var/log/samba/%m.log
 fruit:model = MacPro
 netbios name = sambaudoo
 server role = standalone server
 acl allow execute always = yes
 follow symlinks = yes
 interfaces = wlp3s0
 fruit:advertise_fullsync = true
 server string = Samba Server %v
 wide links = yes
 unix extensions = no
 socket options = SO_KEEPALIVE
 keepalive = 90
 security = user
 fruit:aapl = yes

# Basic Samba configuration

# Special configuration for Apple's Time Machine

## Definde your shares here
[TimeMachine Home]
path = mypath
valid users = %U
writable = yes
durable handles = yes
kernel oplocks = no
kernel share modes = no
posix locking = no
vfs objects = catia fruit streams_xattr
ea support = yes
browseable = yes
read only = No
inherit acls = yes
fruit:time machine = yes
hide dot files = yes

Can someone help me to fix this panic error? Thanks

Question information

English Edit question
Ubuntu samba Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

Frim which source did you install samba 4.9.2?
The version of the samba packages for Ubuntu 16.04 provided in the standard repositories is 4.3.11

We cannot help if you are using foreign software versions.

Revision history for this message
Gianpiero (gianpyc) said :
Revision history for this message
Manfred Hampl (m-hampl) said :

You better try asking at the source where you got the program and not on pages for the version provided in Ubuntu.

Can you help with this problem?

Provide an answer of your own, or ask Gianpiero for more information if necessary.

To post a message you must log in.