Hi guys,
I have various LE boxes in the house. The ones that are always on are an x86 VM with a GT710, an Asus Chromebox (celeron) and a Nexbox A95x (S905x). The first two are running the latest stable LE 8.0.1. The nexbox runs kszaq's 8.0.1j.
I noticed that kodi was randomly restarting itself on these boxes when on idle and display off. When I went through the logs, I noticed that at certain times, all the boxes get a segmentation fault error and the kodi service crashes, which LE restarts at the same time.
I thought maybe wifi could be the cause, but the VM is on ethernet. Then I suspected mysql, but I since got rid of mysql and now use emby as the backend (no advancedsettings mysql setting). All three are different platforms or hardware and it is super weird. I can't figure it out. They seem to happen almost nightly between 11pm and 1:30am. The only thing I can think of that would affect all three boxes at the same time is a power brownout?!? Maybe?
In any case, below are the latest systemd logs from last night (the kodi crashlog does not show anything at all at the of crash):
Asus Chromebox:
May 08 01:13:41 Librechr kernel: traps: kodi.bin[8595] general protection ip:835c99 sp:7ff96dd04c00 error:0
May 08 01:13:41 Librechr kernel: in kodi.bin[400000+1618000]
May 08 01:13:50 Librechr kodi.sh[8518]: Segmentation fault (core dumped)
May 08 01:13:52 Librechr kodi.sh[8518]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20170508011350.log
May 08 01:13:52 Librechr systemd[1]: kodi.service: Main process exited, code=exited, status=139/n/a
May 08 01:13:52 Librechr kill[13722]: kill: you need to specify whom to kill
May 08 01:13:52 Librechr systemd[1]: kodi.service: Control process exited, code=exited status=1
May 08 01:13:52 Librechr systemd[1]: kodi.service: Unit entered failed state.
May 08 01:13:52 Librechr systemd[1]: kodi.service: Failed with result 'exit-code'.
May 08 01:13:54 Librechr systemd[1]: kodi.service: Service hold-off time over, scheduling restart.
May 08 01:13:54 Librechr systemd[1]: Stopped Kodi Media Center.
May 08 01:13:54 Librechr systemd[1]: Starting Kodi Media Center...
May 08 01:13:54 Librechr systemd[1]: Started Kodi Media Center.
Display More
Here's the nexbox:
May 08 01:13:35 Nexbox kernel: kodi.bin[19242]: unhandled level 2 translation fault (11) at 0xffffffff, esr 0x92000006
May 08 01:13:35 Nexbox kernel: pgd = ffffffc042963000
May 08 01:13:35 Nexbox kernel: [ffffffff] *pgd=0000000043f2c003, *pmd=0000000000000000
May 08 01:13:35 Nexbox kernel:
May 08 01:13:35 Nexbox kernel: CPU: 3 PID: 19242 Comm: kodi.bin Tainted: P O 3.14.29 #1
May 08 01:13:35 Nexbox kernel: task: ffffffc02e1af500 ti: ffffffc064bf0000 task.ti: ffffffc064bf0000
May 08 01:13:35 Nexbox kernel: PC is at 0x3db464
May 08 01:13:35 Nexbox kernel: LR is at 0x3b2aa9
May 08 01:13:35 Nexbox kernel: pc : [<00000000003db464>] lr : [<00000000003b2aa9>] pstate: a8000030
May 08 01:13:35 Nexbox kernel: sp : 00000000dd624c28
May 08 01:13:35 Nexbox kernel: x12: 0000000000004b2a
May 08 01:13:35 Nexbox kernel: x11: 00000000dd624edc x10: 0000000000001000
May 08 01:13:35 Nexbox kernel: x9 : 0000000000000000 x8 : 0000000000000001
May 08 01:13:35 Nexbox kernel: x7 : 00000000ffffffff x6 : 00000000fffffffe
May 08 01:13:35 Nexbox kernel: x5 : 0000000004f38830 x4 : 00000000e3799730
May 08 01:13:35 Nexbox kernel: x3 : 00000000011b35e8 x2 : 0000000000000000
May 08 01:13:35 Nexbox kernel: x1 : 00000000ffffffff x0 : 0000000000000061
May 08 01:13:35 Nexbox kernel:
May 08 01:13:52 Nexbox kodi.sh[19194]: Segmentation fault (core dumped)
May 08 01:13:54 Nexbox kodi.sh[19194]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20170508011352.log
May 08 01:13:54 Nexbox systemd[1]: kodi.service: Main process exited, code=exited, status=139/n/a
May 08 01:13:54 Nexbox kill[23985]: kill: you need to specify whom to kill
May 08 01:13:54 Nexbox systemd[1]: kodi.service: Control process exited, code=exited status=1
May 08 01:13:54 Nexbox systemd[1]: kodi.service: Unit entered failed state.
May 08 01:13:54 Nexbox systemd[1]: kodi.service: Failed with result 'exit-code'.
May 08 01:13:56 Nexbox systemd[1]: kodi.service: Service hold-off time over, scheduling restart.
May 08 01:13:56 Nexbox systemd[1]: Stopped Kodi Media Center.
May 08 01:13:56 Nexbox systemd[1]: Starting Kodi Media Center...
May 08 01:13:56 Nexbox systemd[1]: Started Kodi Media Center.
Display More
The VM was off last night so I don't have a log from it, but I can update these again tomorrow if I have the issue again tonight.
Any ideas?