OSMC RPi3 - sad face or crash in IPTV

Watching HDHomerun streams via Simple IPTV Client PVR - random sad face restart of Kodi or system freeze / crash / reboot.

Log: https://paste.osmc.tv/revatikene

Your log doesn’t show a crash – from a quick glance. Did you upload the log after it happened or reboot the system?

After the reboot from the freeze - had to power off and back on.

sad face failure after idle over night and less than 3 hours of TV via Simple IPTV Client and HDHomerun.

https://paste.osmc.tv/owuqimoman

captured log immediately after sad face restart.

sad face again note time between posts. Only activity is watching the same channel on Simple IPTV Client.

https://paste.osmc.tv/wahiberewo

captured log immediate after sad face restart.
0743 to 1309 = 326 minutes

sad face again - same addon, just watching football.

https://paste.osmc.tv/oputogakuz

13:09 to 14:28 = 79 minutes between failures

sad face again - added logging for PVR client and other parts related to streaming

https://paste.osmc.tv/kayimejoma

14:28 to 17:34 = 3 hours 6 minutes

Your system is running out of free memory

Oct 04 14:27:59 LingRMOSMC kernel: kodi.bin invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=0
Oct 04 14:28:00 LingRMOSMC kernel: kodi.bin cpuset=/ mems_allowed=0
Oct 04 14:28:00 LingRMOSMC kernel: CPU: 1 PID: 2542 Comm: kodi.bin Tainted: G         C        4.19.122-1-osmc #1
Oct 04 14:28:00 LingRMOSMC kernel: Hardware name: BCM2835
Oct 04 14:28:00 LingRMOSMC kernel: [<8011909c>] (unwind_backtrace) from [<801133e4>] (show_stack+0x20/0x24)
Oct 04 14:28:00 LingRMOSMC kernel: [<801133e4>] (show_stack) from [<80a1f770>] (dump_stack+0xd4/0x118)
Oct 04 14:28:00 LingRMOSMC kernel: [<80a1f770>] (dump_stack) from [<802a5c90>] (dump_header+0x80/0x260)
Oct 04 14:28:00 LingRMOSMC kernel: [<802a5c90>] (dump_header) from [<802a5024>] (oom_kill_process+0x3e8/0x770)
Oct 04 14:28:00 LingRMOSMC kernel: [<802a5024>] (oom_kill_process) from [<802a5810>] (out_of_memory+0x128/0x49c)
Oct 04 14:28:00 LingRMOSMC kernel: [<802a5810>] (out_of_memory) from [<802b15a8>] (__alloc_pages_nodemask+0x1504/0x15c4)
Oct 04 14:28:00 LingRMOSMC kernel: [<802b15a8>] (__alloc_pages_nodemask) from [<802a01c0>] (filemap_fault+0x5cc/0x818)
Oct 04 14:28:00 LingRMOSMC kernel: [<802a01c0>] (filemap_fault) from [<804455e4>] (ext4_filemap_fault+0x38/0x4c)
Oct 04 14:28:00 LingRMOSMC kernel: [<804455e4>] (ext4_filemap_fault) from [<802efbb0>] (__do_fault+0x5c/0x180)
Oct 04 14:28:00 LingRMOSMC kernel: [<802efbb0>] (__do_fault) from [<802f56a8>] (handle_mm_fault+0x94c/0xfd0)
Oct 04 14:28:00 LingRMOSMC kernel: [<802f56a8>] (handle_mm_fault) from [<80a45384>] (do_page_fault+0x374/0x400)
Oct 04 14:28:00 LingRMOSMC kernel: [<80a45384>] (do_page_fault) from [<8011eeb4>] (do_PrefetchAbort+0x58/0xdc)
Oct 04 14:28:00 LingRMOSMC kernel: [<8011eeb4>] (do_PrefetchAbort) from [<801025e4>] (ret_from_exception+0x0/0x1c)
Oct 04 14:28:00 LingRMOSMC kernel: Exception stack(0xaa8c3fb0 to 0xaa8c3ff8)
Oct 04 14:28:00 LingRMOSMC kernel: 3fa0:                                     00000000 00000002 00000000 00000000
Oct 04 14:28:00 LingRMOSMC kernel: 3fc0: 60fbb840 00000020 05b8d6a0 00000001 72340630 00000000 60fbb848 05ba90d8
Oct 04 14:28:00 LingRMOSMC kernel: 3fe0: 00000000 60fbb810 60fc3aa9 60fc3aa8 00070030 ffffffff
Oct 04 14:28:00 LingRMOSMC kernel: Mem-Info:

Consider reducing # of EPG days / channel count.

Thanks - my wife likes to look back to see what played recently, so I had 30 days in the past and 21 days in the future in the EPG data. I reduced the past to 21 days. If that increases the time between fails, I will reduce it further.

If the memory footprint was the main problem, it should have crashed as soon as the EPG loads, so I guess there is a memory leak somewhere that adds up everytime she looks at the guide, which is alot.

Thanks for the assist.

Not necessarily – it probably takes some time for the EPG to propagate.