Crash in movies section

When I’m entering the “Movies” section, OSMC crashes after a few seconds (sad face). This only happens in “Movies”. Not in “TV shows” or “PVR” or any other section. Checking the system logs turned out that it is running out of memory. Brand new Vero4k+.

kodi.log

2022-01-17 16:32:05.447 T:19402    INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-01-17 16:32:05.448 T:19402    INFO <general>: CAESinkALSA::Initialize - Requested layout: FL, FR
2022-01-17 16:32:05.448 T:19402    INFO <general>: CAESinkALSA::Initialize - set digital_codec 0
2022-01-17 16:32:05.448 T:19402    INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2022-01-17 16:32:05.454 T:19402    INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2022-01-17 16:32:05.455 T:19402    INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-01-17 16:32:05.455 T:19402    INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2022-01-17 16:32:05.457 T:19402    INFO <general>: CAESinkALSA::Initialize - speaker layout 0
2022-01-17 16:32:05.689 T:19389    INFO <general>: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
2022-01-17 16:32:06.016 T:19491   ERROR <general>: GetDirectory - Error getting -
2022-01-17 16:32:07.185 T:19491    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-1 video
2022-01-17 16:32:07.858 T:19491    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2022-01-17 16:32:08.949 T:19494    INFO <general>: ScanPathsForAssociatedItems: found associated file <some-replaced-file-path>
2022-01-17 16:32:08.949 T:19494    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

journalctl -xe

Jan 17 16:29:20 osmc kernel: audio_dsp: buf=0
Jan 17 16:29:20 osmc kernel: audio_dsp: IEC958_mode_raw=0
Jan 17 16:29:20 osmc kernel: audio_dsp: IEC958_mode_codec= 0, IEC958 type 2 CH PCM
Jan 17 16:29:20 osmc kernel: audio_dsp: last mode 0,now 0
Jan 17 16:29:20 osmc kernel: hdmitx: hdmitx: config: audio_on
Jan 17 16:29:20 osmc kernel: hdmitx: audio: configure on
Jan 17 16:29:20 osmc kernel: aml_meson_snd_card aml_sound_meson: 
                             area=ffffff8008d01000,addr=1503657984,bytes=65536,rate:44100, channels:2, subformat:0
Jan 17 16:29:20 osmc kernel: snd_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2
                                     same source mode(1), stream format=2 CH PCM
Jan 17 16:29:20 osmc kernel: hdmitx: audio: aout notify rate 44100
Jan 17 16:29:20 osmc kernel: hdmitx: audio: aout notify size 32
Jan 17 16:29:20 osmc kernel: hdmitx: audio: hdmi_ch: 0 speaker_layout: 0
Jan 17 16:29:20 osmc kernel: hdmitx: sysfs set hdmi_ch to 0
Jan 17 16:29:20 osmc kernel: snd_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2
                                     same source mode(1), stream format=2 CH PCM
Jan 17 16:29:20 osmc kernel: hdmitx: audio: aout notify rate 44100
Jan 17 16:29:20 osmc kernel: hdmitx: audio: aout notify size 32
Jan 17 16:29:20 osmc kernel: hdmitx: audio: hdmi_ch: 0 speaker_layout: 0
Jan 17 16:29:20 osmc kernel: snd_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2
                                     same source mode(1), stream format=2 CH PCM
Jan 17 16:29:20 osmc kernel: hdmitx: audio: aout notify rate 44100
Jan 17 16:29:20 osmc kernel: hdmitx: audio: aout notify size 32
Jan 17 16:29:20 osmc kernel: hdmitx: audio: hdmi_ch: 0 speaker_layout: 0
Jan 17 16:29:34 osmc kernel: kthreadd invoked oom-killer: gfp_mask=0x27080c2(GFP_KERNEL_ACCOUNT|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOTRACK), nodemask=0, order=0, oom_score_adj=0
Jan 17 16:29:35 osmc kernel: kthreadd cpuset=/ mems_allowed=0
Jan 17 16:29:35 osmc kernel: CPU: 2 PID: 2 Comm: kthreadd Tainted: G           O    4.9.113-60-osmc #1
Jan 17 16:29:35 osmc kernel: Hardware name: Vero4KPlus (DT)
Jan 17 16:29:35 osmc kernel: Call trace:
Jan 17 16:29:35 osmc kernel: [ffffff80200079c0+ 112][<ffffff800908a5b0>] dump_backtrace+0x0/0x214
Jan 17 16:29:35 osmc kernel: [ffffff8020007a30+  32][<ffffff800908a844>] show_stack+0x24/0x30
Jan 17 16:29:35 osmc kernel: [ffffff8020007a50+  80][<ffffff80093d0e58>] dump_stack+0x98/0xc0
Jan 17 16:29:35 osmc kernel: [ffffff8020007aa0+  80][<ffffff80091f0d5c>] dump_header+0x6c/0x1b8
Jan 17 16:29:35 osmc kernel: [ffffff8020007af0+  96][<ffffff800918d66c>] oom_kill_process+0xbc/0x3d8
Jan 17 16:29:35 osmc kernel: [ffffff8020007b50+  64][<ffffff800918ddb0>] out_of_memory+0x27c/0x29c
Jan 17 16:29:35 osmc kernel: [ffffff8020007b90+ 320][<ffffff8009193050>] __alloc_pages_nodemask+0xa64/0xc0c
Jan 17 16:29:35 osmc kernel: [ffffff8020007cd0+  48][<ffffff80098a6dd0>] aml_stack_alloc+0xe4/0x15c
Jan 17 16:29:35 osmc kernel: [ffffff8020007d00+ 240][<ffffff800909d190>] copy_process.isra.5.part.6+0xdc/0x1318
Jan 17 16:29:35 osmc kernel: [ffffff8020007df0+  96][<ffffff800909e554>] _do_fork+0xc4/0x39c
Jan 17 16:29:35 osmc kernel: [ffffff8020007e50+  48][<ffffff800909e8d4>] kernel_thread+0x48/0x58
Jan 17 16:29:35 osmc kernel: [ffffff8020007e80+   0][<ffffff80090c09e8>] kthreadd+0x148/0x190
Jan 17 16:29:35 osmc kernel: [0000000000000000+   0][<ffffff8009083840>] ret_from_fork+0x10/0x50
Jan 17 16:29:35 osmc kernel: Mem-Info:
Jan 17 16:29:35 osmc kernel: active_anon:311464 inactive_anon:18326 isolated_anon:0
                              active_file:1792 inactive_file:1979 isolated_file:0
                              unevictable:0 dirty:0 writeback:0 unstable:0
                              slab_reclaimable:10963 slab_unreclaimable:12644
                              mapped:13910 shmem:28752 pagetables:1910 bounce:0
                              [cma] driver:22859 anon:28818 file:433 isolate:0 total:161792
                              free:113980 free_pcp:9 free_cma:109508
Jan 17 16:29:35 osmc kernel: Node 0 active_anon:1245856kB inactive_anon:73304kB active_file:7044kB inactive_file:8040kB unevictable:0kB isolated(anon):0kB isolated(file):128kB mapped:55640kB dirty:0kB writeback:0kB shmem:115008kB writeback_tmp:0kB unstable:0kB pages_scanned:125 all_unreclaimable? no
Jan 17 16:29:35 osmc kernel: DMA free:455920kB min:32768kB low:40960kB high:49152kB active_anon:1245856kB inactive_anon:73304kB active_file:7044kB inactive_file:7916kB unevictable:0kB writepending:0kB present:2096128kB managed:2037280kB mlocked:0kB slab_reclaimable:43852kB slab_unreclaimable:50576kB kernel_stack:4240kB pagetables:7640kB bounce:0kB free_pcp:36kB local_pcp:0kB free_unmovable:10200kB free_movable:108kB free_reclaimable:6604kB free_highatomic:1216kB free_isolate:0kB free_cma:438032kB
Jan 17 16:29:35 osmc kernel: lowmem_reserve[]: 0 0 0
Jan 17 16:29:35 osmc kernel: DMA: 5886*4kB (UMEHC) 4883*8kB (UMEHC) 2441*16kB (UEHC) 2470*32kB (UMEHC) 1986*64kB (UMEHC) 595*128kB (UHC) 112*256kB (C) 25*512kB (C) 6*1024kB (C) 2*2048kB (C) 5*4096kB (C) = 456160kB
Jan 17 16:29:35 osmc kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Jan 17 16:29:35 osmc kernel: 32612 total pagecache pages
Jan 17 16:29:35 osmc kernel: 0 pages in swap cache
Jan 17 16:29:35 osmc kernel: Swap cache stats: add 0, delete 0, find 0/0
Jan 17 16:29:35 osmc kernel: Free swap  = 0kB
Jan 17 16:29:35 osmc kernel: Total swap = 0kB
Jan 17 16:29:35 osmc kernel: 524032 pages RAM
Jan 17 16:29:35 osmc kernel: 0 pages HighMem/MovableOnly
Jan 17 16:29:35 osmc kernel: 14712 pages reserved
Jan 17 16:29:35 osmc kernel: 161792 pages cma reserved
Jan 17 16:29:35 osmc kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
Jan 17 16:29:35 osmc kernel: [ 2190]     0  2190    12936     4129      47       2        0             0 systemd-journal
Jan 17 16:29:35 osmc kernel: [ 2225]   106  2225     1342       79       7       2        0             0 rpcbind
Jan 17 16:29:35 osmc kernel: [ 2229]     0  2229     3999      198       8       2        0         -1000 systemd-udevd
Jan 17 16:29:35 osmc kernel: [ 2359]   104  2359     1467      172       7       2        0          -900 dbus-daemon
Jan 17 16:29:35 osmc kernel: [ 2360]     0  2360     1439       68       7       2        0             0 bluetoothd
Jan 17 16:29:35 osmc kernel: [ 2363]     0  2363     2729       43       5       2        0             0 apploader
Jan 17 16:29:35 osmc kernel: [ 2364]     0  2364     2762      179      10       2        0             0 systemd-logind
Jan 17 16:29:35 osmc kernel: [ 2365]   108  2365     1280       86       6       2        0             0 avahi-daemon
Jan 17 16:29:35 osmc kernel: [ 2368]     0  2368     2181      105       9       2        0             0 wpa_supplicant
Jan 17 16:29:35 osmc kernel: [ 2378]     0  2378      460       46       5       2        0             0 eventlircd
Jan 17 16:29:35 osmc kernel: [ 2389]     0  2389     6423       93       9       2        0             0 bluealsa
Jan 17 16:29:35 osmc kernel: [ 2391]   108  2391     1247       69       6       2        0             0 avahi-daemon
Jan 17 16:29:35 osmc kernel: [ 2393]     0  2393     1005       77       6       2        0             0 lircd
Jan 17 16:29:35 osmc kernel: [ 2395]     0  2395     2695      149       9       2        0             0 connmand
Jan 17 16:29:35 osmc kernel: [ 2404]   111  2404    10237      259      14       2        0             0 transmission-da
Jan 17 16:29:35 osmc kernel: [ 2409]     0  2409    60983     1707      34       2        0             0 php-fpm7.3
Jan 17 16:29:35 osmc kernel: [ 2431]     0  2431     1703       58       7       2        0             0 cron
Jan 17 16:29:35 osmc kernel: [ 2435]  1000  2435     2045      133       8       2        0             0 udisks-glue
Jan 17 16:29:35 osmc kernel: [ 2452]     0  2452     6861      204      10       2        0             0 udisks-daemon
Jan 17 16:29:35 osmc kernel: [ 2458]     0  2458     2152       93       8       2        0             0 udisks-daemon
Jan 17 16:29:35 osmc kernel: [ 2460]     0  2460     2264      149       8       2        0         -1000 sshd
Jan 17 16:29:35 osmc kernel: [ 2466]     0  2466     9103      208      12       2        0             0 polkitd
Jan 17 16:29:35 osmc kernel: [ 2586]    33  2586    60983     1086      31       2        0             0 php-fpm7.3
Jan 17 16:29:35 osmc kernel: [ 2587]    33  2587    60983     1086      31       2        0             0 php-fpm7.3
Jan 17 16:29:35 osmc kernel: [ 2589]   110  2589    49499     2544      25       2        0          -900 postgres
Jan 17 16:29:35 osmc kernel: [ 2605]   110  2605    49529     2742      34       2        0             0 postgres
Jan 17 16:29:35 osmc kernel: [ 2606]   110  2606    49499     1196      23       2        0             0 postgres
Jan 17 16:29:35 osmc kernel: [ 2607]   110  2607    49499     1432      21       2        0             0 postgres
Jan 17 16:29:35 osmc kernel: [ 2608]   110  2608    49600      594      23       2        0             0 postgres
Jan 17 16:29:35 osmc kernel: [ 2609]   110  2609    13813      356      17       2        0             0 postgres
Jan 17 16:29:35 osmc kernel: [ 2610]   110  2610    49573      516      22       2        0             0 postgres
Jan 17 16:29:35 osmc kernel: [ 2641]     0  2641     1251       45       6       2        0             0 bluealsa-aplay
Jan 17 16:29:35 osmc kernel: [ 2677]     0  2677     1693       81       8       2        0             0 mediacenter
Jan 17 16:29:35 osmc kernel: [ 2679]     0  2679     6775      354      18       2        0             0 nmbd
Jan 17 16:29:35 osmc kernel: [ 2699]     0  2699     1416       29       6       2        0             0 agetty
Jan 17 16:29:35 osmc kernel: [ 2742]     0  2742    10489      492      24       2        0             0 smbd
Jan 17 16:29:35 osmc kernel: [ 2820]     0  2820     9635      469      21       2        0             0 smbd-notifyd
Jan 17 16:29:35 osmc kernel: [ 2821]     0  2821     9636      469      21       2        0             0 cleanupd
Jan 17 16:29:35 osmc kernel: [ 3043]   105  3043     1837      113       8       2        0             0 ntpd
Jan 17 16:29:35 osmc kernel: [ 8848]     0  8848    61441     2049      35       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [ 8849]    33  8849    64366     7987      50       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [ 8850]    33  8850    64379     8457      50       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [ 8851]    33  8851    64873     8289      50       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [ 8852]    33  8852    64881     8623      52       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [ 8853]    33  8853    64366     7920      49       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [ 8855]    33  8855    64327     7932      49       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [ 8879]    33  8879    64879     8394      50       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [10171]    33 10171    64889     8140      50       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [14607]    33 14607    64873     8305      50       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [15516]    33 15516    64327     7905      50       2        0             0 apache2
Jan 17 16:29:35 osmc kernel: [19117]     0 19117     2601      216      10       2        0             0 sshd
Jan 17 16:29:35 osmc kernel: [19127]  1000 19127     3046      270       9       2        0             0 systemd
Jan 17 16:29:35 osmc kernel: [19128]  1000 19128     8187      462      14       2        0             0 (sd-pam)
Jan 17 16:29:35 osmc kernel: [19144]  1000 19144     2601      199      10       2        0             0 sshd
Jan 17 16:29:35 osmc kernel: [19145]  1000 19145     1927      121       8       2        0             0 bash
Jan 17 16:29:35 osmc kernel: [19201]  1000 19201    18075      941      25       2        0             0 journalctl
Jan 17 16:29:35 osmc kernel: [19272]     0 19272     2176      111       8       2        0             0 sudo
Jan 17 16:29:35 osmc kernel: [19273]  1000 19273   440360   275518     689       3        0             0 kodi.bin
Jan 17 16:29:35 osmc kernel: [19330]     0 19330     2264      160       8       2        0             0 sshd
Jan 17 16:29:35 osmc kernel: Out of memory: Kill process 19273 (kodi.bin) score 542 or sacrifice child
Jan 17 16:29:35 osmc kernel: Killed process 19273 (kodi.bin) total-vm:1761440kB, anon-rss:1102072kB, file-rss:0kB, shmem-rss:0kB
Jan 17 16:29:35 osmc kernel: oom_reaper: reaped process 19273 (kodi.bin), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Jan 17 16:29:35 osmc kernel: fb: osd_release now.index=0,open_count=1
Jan 17 16:29:35 osmc sudo[19272]: pam_unix(sudo:session): session closed for user osmc
Jan 17 16:29:35 osmc mediacenter[2677]: /usr/bin/mediacenter: line 216: 19272 Killed                  sudo -u osmc MALLOC_MMAP_THRESHOLD_=8192 LIRC_SOCKET_PATH=/var/run/lirc/lircd $KODI --standalone -fs
Jan 17 16:29:35 osmc mediacenter[2677]: Kodi exited with return code 137 after 0 hours, 0 minutes and 45 seconds
Jan 17 16:29:35 osmc kernel: hdmitx: Mode 2160p50hz (VIC 352) needs 594MHz clock, at 444,8-bit - more than 300MHz
Jan 17 16:29:35 osmc kernel: hdmitx: Mode 2160p60hz (VIC 353) needs 594MHz clock, at 444,8-bit - more than 300MHz
Jan 17 16:29:35 osmc kernel: hdmitx: Mode smpte50hz (VIC 357) needs 594MHz clock, at 444,8-bit - more than 300MHz
Jan 17 16:29:35 osmc kernel: hdmitx: Mode smpte60hz (VIC 358) needs 594MHz clock, at 444,8-bit - more than 300MHz
Jan 17 16:29:35 osmc kernel: Console: switching to colour frame buffer device 240x67
Jan 17 16:29:35 osmc kernel: fb: osd[0] canvas.idx =0x40
Jan 17 16:29:35 osmc kernel: fb: osd[0] canvas.addr=0x75c00000
Jan 17 16:29:35 osmc kernel: fb: osd[0] canvas.width=7680
Jan 17 16:29:35 osmc kernel: fb: osd[0] canvas.height=2160
Jan 17 16:29:35 osmc kernel: fb: osd[0] frame.width=1920
Jan 17 16:29:35 osmc kernel: fb: osd[0] frame.height=1080
Jan 17 16:29:35 osmc kernel: fb: osd[0] out_addr_id =0x0

Any ideas why this happens?

Sounds familar to this thread

1 Like

Great, problem solved!

Thanks

1 Like