Video playing is stopped

Hello everybody!

I have a video stopping problem on my Kodi 17 Krypton (Windows Store version).
I have an Intel Nuc with 4Gb of RAM (2Gb free at any time), up to date Windows 10. I also have a NAS Dlink DNS-320L with a Gbps cable connection. NUC is in Wi-fi.
I am reading files using smb (NAS “TV Shows” and “Movies” directories are mounted on my Windows, and Kodi reads M: and S: network connections)
I have different video formats, often .mkv, H265 encoded (but the problem is also present on avi…). I have SD, 720p, 1080p.

My problem is that when reading a video, Kodi often (random time, from 1 to 30 minutes ) freezes for 1 or 2 seconds then stops the playback and comes back to the video list, with cursor on the played video, that I have to relaunch.
I have a log example here : https://1drv.ms/t/s!AhDqW3kFJLcTqpwLypRKWoNg5-tpSw

Thinking that it could be a cache problem, I created an advancedsettings.xml file under Kodi userdata, containing specific cache parameters for Kodi 17 :

Code:
<cache>
<memorysize>139460608</memorysize>  
<buffermode>0</buffermode>  
<readfactor>4.0</readfactor>
</cache>

It seems to work a little better, but I still have the video playback stopped problem…

Sometimes I even can’t launch the content, it crashes 2 seconds after the launch.
Here are the logs :
https://1drv.ms/u/s!AhDqW3kFJLcTqpwM-uq-eZ7glxrc3Q

I found a few errors like Line 277: 23:59:11 T:2820 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true

I looked for this error in Google but I didn’t found any solution…

Thanks for your help!

PS : I also have a Kodi 16.1 on this NUC, which is working fine, with the same NAS and same files.