LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kodi crashes on startup on openSUSE Leap 42.1 (https://www.linuxquestions.org/questions/linux-software-2/kodi-crashes-on-startup-on-opensuse-leap-42-1-a-4175582089/)

lpwevers 06-12-2016 10:18 AM

Kodi crashes on startup on openSUSE Leap 42.1
 
Hi,

I recently upgraded my system from openSuSE 13.2 to Leap 42.1. All is fine, however, I cannot start kodi anymore. It crashes on startup. I've already tried removing ~/.kodi, to start with a new profile, but all to no avail. Also I've verified that all ffmpeg related packages are from the Packman repository, just like kodi itself.

When starting from the command line I typically get an error message like this:
Code:

louis@schaaptop:~> kodi
*** Error in `/usr/lib64/kodi/kodi.bin': free(): invalid pointer: 0x00007efc37235678 ***
/usr/bin/kodi: line 165: 20589 Segmentation fault      (core dumped) "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
find: ‘/home/louis/.mozilla.org/firefox/86ylh25g.default/jetpack’: Permission denied
Crash report available at /home/louis/kodi_crashlog-20160612_143002.log

I've enabled debug logging. The output of the crashlog can be found here: http://pastebin.com/4z7sbZpr

Any suggestions in getting kodi back running are greatly appreciated.

rigor 06-13-2016 01:27 PM

Hi lpwevers,

I noticed this in what you posted:
Code:

find: ‘/home/louis/.mozilla.org/firefox/86ylh25g.default/jetpack’: Permission denied
Just wondered if you have the same files under your home directory, with the same permissions, but different User ID than with your previous OS version?

In any event, if you change the permissions to that file so that kodi has access, does it help?

lpwevers 06-13-2016 01:49 PM

Quote:

Originally Posted by rigor (Post 5560294)
Hi lpwevers,

I noticed this in what you posted:
Code:

find: ‘/home/louis/.mozilla.org/firefox/86ylh25g.default/jetpack’: Permission denied
Just wondered if you have the same files under your home directory, with the same permissions, but different User ID than with your previous OS version?

In any event, if you change the permissions to that file so that kodi has access, does it help?

Actually, that was an old directory that could go. So I removed the whole thing, but alas. Same error. Just the permission denied is gone now.

rigor 06-15-2016 04:46 PM

Hi lpwevers,

I could be way off, but when I took a quick look into the situation, I got this impression:
  • kodi appears to rely on libcec but the package dependency seems to be missing - it wasn't installed "automagically" by YAST, I had to specifically request that it be installed.
  • kodi seems to rely on the C-Pluff library, but that appears not to be available via the openSUSE repositiories, I downloaded it in source form: http://www.c-pluff.org/download
  • I installed various tools on which the install document states that the C-Pluff build depends, automake, autoconf, autopoint ( in gettext-tools ), etc., built and installed it, and at least the main kodi screen remained in place successfully without crashing.
Since I'm not familiar with kodi I didn't know where to go from there. Hopefully if you can reproduce that much, you can get to the same point, then let us know if there are any further problems.

HTH.

lpwevers 06-30-2016 07:45 AM

Hi Rigor,

Thanks for the reply. I finally managed to get kodi up and running again. The problem with this SuSE version is that it's very specific about the versions of installed libraries it needs. I only found out that I still had some packages from the OpenSuSE repository instead of the Packmqan repo.

So thanks for your help. Issue fixed.

Louis


All times are GMT -5. The time now is 07:34 PM.