Kodi Crash after video plays or live TV stops

Hi, I have been using the Nightly builds for quite some time, so I know they do come with issues, but I have been seeing this issue for a couple of weeks at least.
I am watching a video or live TV channel, it doesnt seem to matter, If I press stop or the video ends, it should return to the Kodi menu I was last on, instead Kodi crashes and quits back to the ubuntu desktop.
I am on Ubuntu 16.04, everything up to date, with Kodi nightly builds. This is very annoying having to restart Kodi nearly every time I watch something and I have no idea why this has started happening.
Here is the later part of the log up to where is crashed:

[inline log removed] – dangelus