Hai Piotr,
This looks a lot like:
https://bugzilla.samba.org/show_bug.cgi?id=13622
Not completely the same, but could you add your info to this report also.
I do think this is related.
Please add, OS and CPU here ( and package version ) 4.9.7.
Can you set log level to 10 and then make the bug happen and add that to
that bug report.
That will help us to get this fixed.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: Piotr Maksymiuk [mailto:piotr.maksymiuk at movishell.pl]
> Verzonden: zondag 5 mei 2019 16:21
> Aan: L.P.H. van Belle
> Onderwerp: Bug in samba-vfs-modules-4.9.7+nmu-1.0debian0
>
> Hi
>
> I'm using samba-4.9.7+nmu-1.0debian0 from your van-belle
> repo, and today when doing a fresh time machine backup from
> my Mac, i've hit a bug, where MacOS can't seem to get the
> size of the disk.
>
> I've traced it down to this config option
> fruit:time machine max size = 326G
>
> Which results in
>
> [Sun May 5 15:47:28 2019] traps: smbd[9658] trap divide
> error ip:7f8d722a84bb sp:7ffdf4e93cb0 error:0
> [Sun May 5 15:47:28 2019] in fruit.so[7f8d7229f000+1c000]
>
> If I remove the max size option, all is well. This used to
> work in a previous release.
>
> I haven't tried upgrading to 4.10 yet, because I think I've
> hit your fail2ban script ;)
>
> Cheers,
> Peter
>