OSMC crash/restart

Hello,

I noticed from logs mediacenter crash/restart happened during early morning hours (06:40)… At the time my TV was switched off and i wasn’t using RPI2+OSMC. I cant say if this is the first time problem occured since i started debug logging some days ago.

My setup is:

osmc@osmc:~$ lsusb
Bus 001 Device 005: ID 0586:341f ZyXEL Communications Corp. NWD2205 802.11n Wireless N Adapter [Realtek RTL8192CU]
Bus 001 Device 004: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Power: USB Charger 5V 2.1A (never seen colourful block/rectangle at upper right corner)

See full debug logs http://paste.osmc.io/umucujarop

Can someone developer check this if there is something i can do/fix on my end to avoid this ?

Your log is covered in errors relating to unsupported repositories and addons. I suggest removing them and testing again. Then add back addons one at a time to see if you can figure out which one results in a crash.

Thanks i did that removed the problematic repository and now debug running to see over the days if i see anymore mediacenter freezing

On the other hand in my debug logs there are:

Oct 05 06:40:17 osmc kernel: GPIO_IN=09
Oct 05 06:40:17 osmc kernel: @@@@- #2 rtw_ps_processor==> rfstate:rf_on
Oct 05 06:40:18 osmc mediacenter[216]: *** Error in `/usr/lib/kodi/kodi.bin’: malloc(): smallbin double linked list corrupted: 0x037ec0f0 ***
Oct 05 06:40:18 osmc sudo[240]: pam_unix(sudo:session): session closed for user osmc
Oct 05 06:40:18 osmc mediacenter[216]: Kodi exited with return code 134 after 62 hours, 5 minutes and 30 seconds
Oct 05 06:40:18 osmc kernel: Console: switching to colour frame buffer device 154x46
Oct 05 06:40:19 osmc kernel: GPIO_IN=09
Oct 05 06:40:19 osmc kernel: @@@@- #2 rtw_ps_processor==> rfstate:rf_on
Oct 05 06:40:21 osmc kernel: GPIO_IN=09
Oct 05 06:40:21 osmc kernel: @@@@- #2 rtw_ps_processor==> rfstate:rf_on

*** Error in `/usr/lib/kodi/kodi.bin’: malloc(): smallbin double linked list corrupted: 0x037ec0f0 ***

Which caused mediacenter restart… any idea what the problem might be ?

Mediacenter reboot happened again (i was away/not using OSMC and TV was switched off/standby)

http://paste.osmc.io/guqexibeta

Oct 13 12:37:59 osmc sudo[240]: pam_unix(sudo:session): session closed for user osmc
Oct 13 12:37:59 osmc mediacenter[217]: Kodi exited with return code 139 after 37 hours, 33 minutes and 56 seconds
Oct 13 12:37:59 osmc kernel: Console: switching to colour frame buffer device 154x46

From another post (sad face reboot loop) i saw similar return code 139 (seg fault?) but in my case i dont have any looping happenning

Any suggestion(s) how to debug this issue further to find the root cause ?

(I did remove problematic repository and as seen from the logs those ERROR messages are gone)

I’m on the latest stable realease and I can confirm that it happened a few times that when watching movie everything freeze and all I could do is take power cabel out and in again…

That sounds like freeze but its not like restart/reboot

Where kernel is working but mediacenter is rebooting…

Search for info how to grab-logs -A or from the OSMC itself … debug is the best