Kodi Community Forum

Full Version: Kodi crash randomly on x86
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
kodi.log - https://pastebin.com/qJ2y6siJ
kodi_crash.log - https://pastebin.com/6EJk6KVP
In case of interest, I can also add files: 01_kodi_crash.log (complete 980kB), 02_System.log ... 09_Journal-cur.log

I have been having problems with Kodi. It randomly resets itself few times a week.
I observed that it usually happens while watching movies from HDD or Live TV (DVB-T).
Video and audio freeze suddenly and moments after Kodi resets.
Today (2017-12-25), it happened 4:01 PM while i was switching Live TV channels (more in attached Log)
I have the most recent version of Kodi 17.6 and LibreElec 8.2.1
Previously I used Kodi LE version 7. Also I used USB flash disc instead of external HDD. My first though was that USB is damaged and that it causes the problem. It did not.
After my problem have continued with HDD i made a script “zapis-datum.sh” in case HDD switch into rest mode but it was not the problem either.
My last thought was that automatic updates could have led into random resets so i disabled them. Nothing happened.
Could you please help me solve this problem as it is really inconvinient.

Device: Asrock BeeBox N3000 - https://www.newegg.com/Product/Product.a...6856158043
Processor: Intel® Celeron® CPU N3000
Storage: External HDD WD Elements PORTABLE 750GB, 2,5" USB3.0
DVB-T: AVerMedia AVerTV Volar HD PRO (A835)
Skin: Titan
I only use official add-on. Nothing illegal.
Quote:16:01:25.481 T:139731075905216 NOTICE: Disabled debug logging due to GUI setting. Level 0.
For proper troubleshooting, always enable the debug option in Kodi.
(2017-12-26, 14:17)Klojum Wrote: [ -> ]
Quote:16:01:25.481 T:139731075905216 NOTICE: Disabled debug logging due to GUI setting. Level 0.
For proper troubleshooting, always enable the debug option in Kodi.   
Just add <loglevel>1</loglevel> <!-- to hide the on-screen debug log text -->
to advancedsetings?
Yes, that's one way to enable it. Smile
This time I did not see the crash with my own eyes, but I noticed yesterday's errors in the kodi_crashlog_20171226164748.log - https://pastebin.com/sRZkZjG0 . I do not have the kodi.log file because it is already overwritten. After another crash, I will send the files.
Today (2017-12-27), it happened 5:17 PM while watching live TV.
Kodi.log - https://pastebin.com/fcAi9x6r
Today again 10:43 AM. 3 times within one hour. I updated to LE 8.2.2. I updated addons but the problem is still there.
I noticed errors "ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)". Can it be the cause of the problem? See https://forum.kodi.tv/showthread.php?tid=318621

kodi.log - http://sprunge.us/JiPj
kodi_crash.log - http://sprunge.us/hHiT
dmesg - https://pastebin.com/Crkdy4rZ
journalctl - https://pastebin.com/EHKNyRLB
Please reproduce with v18 - Kodi v17 is out of development.
Today again - 6:30 PM. It happened during video playback. It was not just a Kodi reset but a reset for the whole device.

kodi.log and kodi.old.log - https://paste.ee/p/wITb4
dmesg has been rewritten.
journalctl has been rewritten.
kodi_crash.log was not created.

Later I will send info about testing on Kodi-v18.
Quote:18:30:53.013 T:139921573889728  NOTICE: Host CPU: Intel® Celeron® CPU N3000 @ 1.04GHz, 2 cores available

There are rumors that devices die whenever C7 cpu mode is switched. In short: kodi cannot do anything about it - it's an instability. What you can try: Boot the system and limit the cpu state to max cstate=1 - this can be done in bios (perhaps) or with boot parameter: intel_idle.max_cstate=1

The LE irc channel can help you adding that.
Quote:with boot parameter: intel_idle.max_cstate=1
Thanks for the information.

If I understand correctly, there are two different problems:
1.) Device Reset = Solution may be "intel_idle.max_cstate = 1"
2.) Kodi Reset.

================
  • Ad 1) I've done it now, I'll test.
Before:
bash:
LibreELEC:~ # cat /sys/module/intel_idle/parameters/max_cstate
9
After:
bash:
LibreELEC:~ # cat /sys/module/intel_idle/parameters/max_cstate
1
The second problem has not been solved - Kodi is still randomly reset when switching TV channels.
================

================
  • Ad 2)
Quote:Please reproduce with v18 - Kodi v17 is out of development.
I installed the devel version of LE9 with Kodi-v18 from http://milhouse.libreelec.tv/builds/master/Generic/ (02-Jan-2018 21:14). I have updated the Tvheadend and Request (python) add-ons. I used Skin Estuary.

The result of the test is: I have not been able to repeat the problem. Unfortunately, with some TV channels (with a worse DVB-T signal) a black screen occasionally appeared, which did not appear at Kodi-v17. In this case, the black screen was another problem because the sound worked and Kodi did not crash. Additionally, I can not use skin Titan because it is not compatible with Kodi-v18. For these reasons, the devel version is still unusable for me.

I had the idea if my problem with version 17 did not cause skin Titan. It was not confirmed. My problems also appeared in skin Estuary.

If "ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)" was causing the error in version 17, can you please give me a link to commit on GitHub or patch? I would try to recompile Kodi-v17.6 with this patch. 
================
I cannot follow.
How come?
we cannot point you to a simple patch to apply to krypton. Too much has changed in v18
(2018-01-04, 22:35)wsnipex Wrote: [ -> ]we cannot point you to a simple patch to apply to krypton. Too much has changed in v18
 OK. I thought the error message "ERROR: Got MSGQ_ABORT ... (-1)" corrected only a few lines of the code. Nevertheless, thank you for the answer.

It seems that the same problem was addressed here https://forum.libreelec.tv/thread/8012-u...rnel-4-11/ and here https://forum.libreelec.tv/thread/3636-k...d-restart/ . That's exactly the same as my problem number 2.

My conclusion to problem number 2 is so far:
The error is caused by "Tvheadend Server" in case of a bad signal. Kodi crashes for some reason.
I will try to install Tvheadend Nightly from http://build.mycvh.de/Tvh-LE8.2/4.3-848-25.12.2017/
Pages: 1 2