Sad face loop

Had this happen a few times recently, last time I reflashed the thing with a previously saved image, and it came back up fine. Able to SSH fine now still, appreciate any advice to avoid a full rebuild:

/home/osmc/.kodi/temp/kodi.log is empty

$ paste-log /home/osmc/.kodi/temp/kodi.old.log
http://paste.osmc.io/ceyerixaga

paste-log /var/log/apt/term.log

http://paste.osmc.io/ecimawibuk

$ dmesg | paste-log
http://paste.osmc.io/wahozeliho

System log would have helped, maybe upload full logs via grab-logs -A

Alternatively to check if it is a addon causing the crash do mv .kodi kodi_backup and reboot
But an empty kodi.log indicates a crash before addons would be loaded.

Thanks for your help

grab-logs:
http://paste.osmc.io/icukususof

Also renaming the .kodi folder and rebooting did not help

This doesn’t make any sense. Also, your log indicates that you actually haven’t done so.

Here’s a directory listing of the home dir, after reboot:

$ ls -al
total 3084
drwxr-xr-x 9 osmc osmc 4096 Aug 1 08:34 .
drwxr-xr-x 3 root root 4096 Jan 1 1970 …
drwxr-xr-x 4 osmc osmc 4096 Mar 4 2016 Backups
-rw------- 1 osmc osmc 5933 Aug 1 08:34 .bash_history
-rw-r–r-- 1 osmc osmc 220 Nov 13 2014 .bash_logout
-rw-r–r-- 1 osmc osmc 3515 Nov 13 2014 .bashrc
-rw-r–r-- 1 osmc osmc 30 Jul 18 2016 date.txt
lrwxrwxrwx 1 osmc osmc 6 Feb 12 2016 kodi -> .kodi/
drwxr-xr-x 8 osmc osmc 4096 Jan 1 1970 kodi_backup
drwxr-xr-x 2 osmc osmc 4096 Jan 30 2016 Movies
drwxr-xr-x 2 osmc osmc 4096 Jan 30 2016 Music
drwxr-xr-x 2 osmc osmc 4096 Jan 30 2016 Pictures
-rw-r–r-- 1 osmc osmc 416951 Nov 29 2016 plugin.audio.triple.j-1.0.0.zip
-rw-r----- 1 osmc osmc 2671576 Mar 14 2016 plugin.video.SportsDevil-2016-03-06.zip
-rw-r–r-- 1 osmc osmc 675 Nov 13 2014 .profile
drwx------ 2 osmc osmc 4096 Feb 9 2016 .ssh
-rw-r–r-- 1 osmc osmc 1032 Jul 18 2016 .swfinfo
drwxr-xr-x 2 osmc osmc 4096 Jan 30 2016 TV Shows

After reboot, I renamed the folder back to .kodi after seeing the problem remained, and then did the grab-logs command

We need to see logs from the clean install.

Kodi seems to be crashing before a new .kodi folder is created. So even if he uploads that logs I guess they will be empty
Aug 01 08:34:39 osmc mediacenter[309]: Kodi exited with return code 139 after 0 hours, 0 minutes and 3 seconds
Seems to be something else that is fundamentally broken

Can try to reinstall mediacenter but I guess you are in an unstable situation with your packages

sudo apt-get install rbp2-mediacenter-osmc --reinstall

Had to remove a corrupted package and a non-empty directory first, to get the mediacenter reinstall happening via apt-get:

rm /var/cache/apt/archives/perl_5.20.2-3+deb8u6_armhf.deb

rm -rf /usr/share/kodi/addons/skin.confluence

Then the reinstall went through well.
With a reboot tho, I still got the sad face, saw I still have an empty kodi log:
$ ls -al .kodi/temp/kodi.log
-rw-r–r-- 1 osmc osmc 0 Jun 3 21:11 .kodi/temp/kodi.log

So I’ve uploaded my logs from a clean install (ie post mv of .kodi dir) here:
http://paste.osmc.io/katotedawu

Cheers!

Hi guys, just wondering if those logs were helpful in diagnosing the issue, or if I can try anything else to help out?

Well now after you reinstalled mediacenter there are problems with Libraries.
/usr/lib/kodi/kodi.bin: error while loading shared libraries: libbrcmEGL.so: cannot open shared object file: No such file or directory

My suggestion is to start with a full reinstall best on a new SD Card.

Probably installed MESA, or a package depending on it.

According to dpkg -S libbrcmEGL.so the missing library file comes from rbp-userland-osmc :wink:

The original error was caused by a malformed database file and now it’s a missing library. It looks like a straightforward case of a filesystem corruption or a broken card. I’m with @fzinken: a full reinstall, preferably on a different card.

OK will do, thanks for everyones help, really appreciate it!

2 posts were split to a new topic: Issue to connecto to SMB 1 (legacy) devices after July update