Kodi crashes constantly at startup

Hi guys,

I’ve got an issue recently with the OSMC on RPi3.

After some investigation i’ve found that it is most likely related to EPG thread crashes when tries to parse the epg file.

Here are the logs:
https://paste.osmc.tv/ilubuwagup

I am watching IPTV with PVR Simple client. Channels playlist is loaded from the local file. EPG is fetched from http://epg.iptvx.tv/xmltv.xml.gz

I think it has been something added to that EPG file recently so that started to make Kodi to crash.

Thanks in advance.

Nov 04 21:31:21 malinka mediacenter[330]: terminate called after throwing an instance of 'std::bad_alloc'
Nov 04 21:31:21 malinka mediacenter[330]:   what():  std::bad_alloc

It looks to me like it’s running out of memory.

The EPG file you linked to is around 20 MB compressed but when uncompressed expands to over 240 MB. This is probably too much for the Pi’s limited memory.

Yes, i’ve noticed that too. But it used to work for about 8 months, and has got broken like 2 weeks ago, that’s confusing.

Well, such lists have a tendency to expand, not contract. Perhaps it was updated a few weeks ago. If you’ve added anything new to Kodi or Linux, that might eat up a bit more memory.

I’m sure Sam won’t be too put out if I were to mention that the Vero4K+ has 2 GB of memory. :wink:

1 Like