3181944kB kodi.bin RSS size in 4141 seconds (from dmesg) is unlikely for the found slow growing memory leak.
In the crash log there are a lot of
2019-06-15 21:10:02.489 T:139781078423296 NOTICE: VAAPI::Close
2019-06-15 21:10:02.489 T:139780029404928 NOTICE: COutput::OnExit: Output Thread terminated
2019-06-15 21:10:02.494 T:139780029404928 NOTICE: COutput::OnStartup: Output Thread created
at the end before crashing in
Thread 1 (Thread 0x7f2151869700 (LWP 976)):
#0 0x00007f2168678661 in vaDestroyContext () from /usr/lib/libva.so.2
#1 0x00007f216781bf0c in ?? () from /usr/lib/libavcodec.so.58
#2 0x00007f216745a88a in ?? () from /usr/lib/libavcodec.so.58
#3 0x00007f216753c705 in ?? () from /usr/lib/libavcodec.so.58
#4 0x00007f216753d551 in ?? () from /usr/lib/libavcodec.so.58
[...]
Looks like "something" fails an then run out of resources.
Updated mesa and/or kernel driver may help on your hardware but there is no guaranty.