Kodi Community Forum

Full Version: Kodi 16 / 17 Crashing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Kodi 16.1 installed since end of 2015 on Kubuntu 15.10.

Starting earlier this week, open Kodi, click on anything that connects to Internet, Kodi crashes / disappears.

History on what I tried: I removed some repositories and add-os of which I only have a handful. Same thing. Researching I found reference to System/Settings/Add-ons/System/Dependencies/URLResolver which seemed up-to-date but I tried clicking on a previous version then update again. It would crash when I try to update and auto-update didn't work either. I tried removing .kodi/guisettings.xml which didn't help. I tried upgrading Kodi to 17 then to nightly builds both of which, when opening kodi, would freeze and crash quickly. So I downgraded back to 16.1 with the same issues.
I upgraded the Linux OS to Kubuntu/Ubuntu 16.04, the URLResolver auto-updated & RSS was working on the bottom but it still crashes clicking on anything external such as trying to see a YouTube video though internally playing a video file still works.
On this forum, someone said about removing "Addons27.db" which I found in .kodi/userdata/Database, this file was empty 0B but I renamed it anyways and tried again, same.

I hope someone can help me fix this. I haven't found where I can upload the crashlog so I copied in part of it where I saw errors.

Quote:############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: Fri Mar 24 20:42:12 EDT 2017
Kodi Options:
Arch: x86_64
Kernel: Linux 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017
Release: Ubuntu 16.04.2 LTS (Xenial Xerus)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====> Core file: /home/tv/core (2017-03-24 20:42:12.410680175 -0400)
=========================================

...

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fe4e4121fc9 in RAND_bytes () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
[Current thread is 1 (Thread 0x7fe489ffb700 (LWP 6847))]

Thread 24 (Thread 0x7fe4717fa700 (LWP 6884)):
#0 __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1 0x00007fe4e4767f84 in ___fprintf_chk (fp=0x7fe4e4a17770 <_IO_stdfile_2_lock>, flag=1, format=0x7fe4703b5088 "extern \"Python\": function %s() called, but %s. Returning 0.\n") at fprintf_chk.c:30
#2 0x00007fe4703ae1af in ?? () from /usr/lib/python2.7/dist-packages/_cffi_backend.x86_64-linux-gnu.so
#3 0x00007fe4707211ac in ?? () from /usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/_openssl.x86_64-linux-gnu.so
#4 0x00007fe4cacdae5d in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4

...

20:41:10 T:140621188180288 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
20:41:10 T:140621188180288 NOTICE: Host CPU: Intel® Core™ i5-4460 CPU @ 3.20GHz, 4 cores available
20:41:10 T:140621188180288 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
20:41:10 T:140621188180288 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
20:41:10 T:140621188180288 NOTICE: special://masterprofile/ is mapped to: /home/tv/.kodi/userdata
20:41:10 T:140621188180288 NOTICE: special://home/ is mapped to: /home/tv/.kodi
20:41:10 T:140621188180288 NOTICE: special://temp/ is mapped to: /home/tv/.kodi/temp
20:41:10 T:140621188180288 NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
20:41:10 T:140621188180288 NOTICE: Local hostname: tv
20:41:10 T:140621188180288 NOTICE: Log File is located: /home/tv/.kodi/temp/kodi.log
20:41:10 T:140621188180288 NOTICE: -----------------------------------------------------------------------
20:41:10 T:140621188180288 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanSuspend'
20:41:10 T:140621188180288 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanHibernate'
20:41:10 T:140621188180288 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'OnLowBattery'
20:41:10 T:140621188180288 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanSuspend'
20:41:10 T:140621188180288 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanHibernate'
20:41:10 T:140621188180288 NOTICE: load settings...

...

GL_ARB_shader_clock GL_EXT_shader_samples_identical
20:41:10 T:140621188180288 ERROR: Unable to load libcec.so.3.0, reason: libcec.so.3.0: cannot open shared object file: No such file or directory
20:41:10 T:140621188180288 ERROR: Initialise - failed to initialise bus cec
20:41:10 T:140621188180288 NOTICE: Running database version Addons20
20:41:10 T:140621188180288 NOTICE: Running database version ViewModes6
20:41:10 T:140621188180288 NOTICE: Running database version Textures13
20:41:10 T:140621188180288 NOTICE: Running database version MyMusic56
20:41:10 T:140621188180288 NOTICE: Running database version MyVideos99
20:41:10 T:140621188180288 NOTICE: Running database version TV29
20:41:10 T:140621188180288 NOTICE: Running database version Epg11
20:41:10 T:140621188180288 NOTICE: start dvd mediatype detection
20:41:11 T:140621188180288 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
20:41:11 T:140621188180288 NOTICE: ActiveAE DSP - starting
20:41:11 T:140621188180288 NOTICE: initialize done
20:41:11 T:140621188180288 NOTICE: Running the application...
20:41:11 T:140621188180288 NOTICE: starting zeroconf publishing
20:41:11 T:140621188180288 NOTICE: starting upnp client
20:41:11 T:140619158640384 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
20:41:11 T:140619158640384 NOTICE: UDP: Listening on port 9777
20:41:11 T:140620198807296 NOTICE: [plugin.video.youtube] Startup: detected Jarvis (Kodi-16.1), setting DASH_SUPPORT_BUILTIN = False, DASH_SUPPORT_ADDON = False
20:41:13 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:13 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/xbmc
20:41:20 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:20 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/xbmc
20:41:27 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:27 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/xbmc
20:41:27 T:140620589020928 ERROR: Unable to obtain rss feed: http://feeds.xbmc.org/xbmc
20:41:28 T:140620198807296 NOTICE: [plugin.video.youtube] Running: YouTube (5.3.12) on Jarvis (Kodi-16.1) with Python 2.7.12
20:41:29 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:29 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/latest_xbmc_addons
20:41:33 T:140619133462272 NOTICE: [plugin.video.youtube] Running: YouTube (5.3.12) on Jarvis (Kodi-16.1) with Python 2.7.12
20:41:36 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:36 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/latest_xbmc_addons
20:41:36 T:140619133462272 ERROR: /home/tv/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest...l-warnings
InsecureRequestWarning)
20:41:43 T:140620589020928 ERROR: Previous line repeats 2 times.
20:41:43 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:43 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/latest_xbmc_addons
20:41:43 T:140620589020928 ERROR: Unable to obtain rss feed: http://feeds.xbmc.org/latest_xbmc_addons
20:41:45 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:45 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/updated_xbmc_addons
20:41:52 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:52 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/updated_xbmc_addons
20:41:59 T:140620589020928 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
20:41:59 T:140620589020928 ERROR: CCurlFile::Open failed with code 0 for http://feeds.xbmc.org/updated_xbmc_addons
20:41:59 T:140620589020928 ERROR: Unable to obtain rss feed: http://feeds.xbmc.org/updated_xbmc_addons
############### END LOG FILE ################

############ END Kodi CRASH LOG #############
[/quote]
Thank you wsnipex! Your link above led to your link in that thread, http://forum.kodi.tv/showthread.php?tid=304613&page=2, which helped me work through a solution to my problem.
I tried the update below for the Python packages but ran into errors until I changed a setting in the Update Manager - More - Advanced - Configure Software Sources - Updates - chk Pre-released updates. Doing this, I was able to update the Python settings that gave the error to enable these updates:

< quote >
Here's an alternate approach to installing the Zesty packages on 16.04 without editing your apt sources:

Download the individual packages:
Code:
wget http://launchpadlibrarian.net/299484105/..._amd64.deb
wget http://launchpadlibrarian.net/292839640/...-1_all.deb

Install the packages using dpkg:
Code:
sudo dpkg -i python-cryptography_1.7.1-2_amd64.deb
sudo dpkg -i python-openssl_16.2.0-1_all.deb
</quote>