Kodi crashes after doing a library update
chaosjester opened this issue · 2 comments
Hi,
I have noticed that kodi in the container is crashing frequently, and I think its after doing a library update.
I currently have a cron job running every 5 minutes to force an update through the API and it look consistent that it crashes after doing the update as I can see new items on my clients.
Ended up with thousands of crash logs in /config that I just cleared out, but here is one. It doesn't really show anything useful unfortunately so any advise would be appreciated.
I have searched the issue but have not really found anything helpful, especially as the following log is pretty uneventful.
After this happens, kodi restarts and continues spitting out these crash logs.
################ SYSTEM INFO ################
Date: Thu Jun 2 22:22:40 AEST 2022
Kodi Options:
Arch: x86_64
Kernel: Linux 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022
Release: Ubuntu 18.04.6 LTS (Bionic Beaver)
############## END SYSTEM INFO ##############
############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############
################# LOG FILE ##################
2022-06-02 22:18:18.198 T:920 INFO <general>: -----------------------------------------------------------------------
2022-06-02 22:18:18.198 T:920 INFO <general>: Starting Kodi (19.4 (19.4.0) Git:20220308-nogitfound). Platform: Linux x86 64-bit
2022-06-02 22:18:18.198 T:920 INFO <general>: Using Release Kodi x64
2022-06-02 22:18:18.198 T:920 INFO <general>: Kodi compiled 2022-03-08 by GCC 7.5.0 for Linux x86 64-bit version 4.15.18 (266002)
2022-06-02 22:18:18.198 T:920 INFO <general>: Running on Ubuntu 18.04.6 LTS, kernel: Linux x86 64-bit version 5.15.0-33-generic
2022-06-02 22:18:18.198 T:920 INFO <general>: FFmpeg version/source: 4.3.2-Kodi
2022-06-02 22:18:18.198 T:920 INFO <general>: Host CPU: AMD Ryzen 5 5600G with Radeon Graphics , 12 cores available
2022-06-02 22:18:18.198 T:920 INFO <general>: special://xbmc/ is mapped to: /usr/share/kodi
2022-06-02 22:18:18.198 T:920 INFO <general>: special://xbmcbin/ is mapped to: /usr/lib/kodi
2022-06-02 22:18:18.198 T:920 INFO <general>: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
2022-06-02 22:18:18.198 T:920 INFO <general>: special://masterprofile/ is mapped to: /config/.kodi/userdata
2022-06-02 22:18:18.198 T:920 INFO <general>: special://envhome/ is mapped to: /config
2022-06-02 22:18:18.198 T:920 INFO <general>: special://home/ is mapped to: /config/.kodi
2022-06-02 22:18:18.198 T:920 INFO <general>: special://temp/ is mapped to: /config/.kodi/temp
2022-06-02 22:18:18.198 T:920 INFO <general>: special://logpath/ is mapped to: /config/.kodi/temp
2022-06-02 22:18:18.198 T:920 INFO <general>: The executable running is: /usr/lib/kodi/kodi-x11
2022-06-02 22:18:18.198 T:920 INFO <general>: Local hostname: bfddbac85285
2022-06-02 22:18:18.198 T:920 INFO <general>: Log File is located: /config/.kodi/temp/kodi.log
2022-06-02 22:18:18.198 T:920 INFO <general>: -----------------------------------------------------------------------
2022-06-02 22:18:18.198 T:920 INFO <general>: loading settings
2022-06-02 22:18:18.198 T:920 INFO <general>: special://profile/ is mapped to: special://masterprofile/
2022-06-02 22:18:18.202 T:920 INFO <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
2022-06-02 22:18:18.202 T:920 INFO <general>: Loaded settings file from special://profile/advancedsettings.xml
2022-06-02 22:18:18.203 T:920 INFO <general>: Contents of special://profile/advancedsettings.xml are...
<advancedsettings version="1.0">
<!--
#####################################################
# For more information on the settings available in #
# this file, refer to the kodi wiki at #
# http://kodi.wiki/view/Advancedsettings.xml #
#####################################################
-->
<videodatabase>
<type>mysql</type>
<host>192.168.0.198</host>
<port>3306</port>
<user>kodi</user>
<pass>*****</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<!-- don't change this value -->
<host />
<!-- change this to the IP address of your mysql/mariadb server -->
<port>3306</port>
<!-- change this to the port of your mysql/mariadb server -->
<user />
<!-- change this to the user for your database, not root -->
<pass />
<!-- change this to the password for your database -->
</musicdatabase>
<services>
<devicename>ServerBox Headless</devicename>
<esallinterfaces>true</esallinterfaces>
<!-- don't change this value -->
<escontinuousdelay>25</escontinuousdelay>
<esenabled>true</esenabled>
<!-- don't change this value -->
<esinitialdelay>750</esinitialdelay>
<esmaxclients>20</esmaxclients>
<esport>9777</esport>
<!-- don't change this value -->
<esportrange>10</esportrange>
<upnpannounce>true</upnpannounce>
<upnprenderer>false</upnprenderer>
<upnpserver>true</upnpserver>
<webserver>true</webserver>
<!-- don't change this value -->
<webserverport>8080</webserverport>
<!-- don't change this value -->
<webserverusername>kodi</webserverusername>
<webserverpassword>kodi</webserverpassword>
<webserverauthentication>false</webserverauthentication>
<zeroconf>true</zeroconf>
</services>
<videolibrary>
<importresumepoint>true</importresumepoint>
<!-- import previously exported resume point from .nfo files -->
<importwatchedstate>true</importwatchedstate>
<!-- import previously exported playdate and playcount from .nfo files -->
<backgroundupdate>true</backgroundupdate>
<dateadded>1</dateadded>
<!-- 0 results in using the current datetime when adding a video;
1 (default) results in prefering to use the files mtime (if it's valid) and only using the file's ctime if the mtime isn't valid;
2 results in using the newer datetime of the file's mtime and ctime -->
</videolibrary>
<musiclibrary>
<backgroundupdate>true</backgroundupdate>
<!-- don't change this value -->
</musiclibrary>
<videoscanner>
<ignoreerrors>true</ignoreerrors>
<!-- Set to true to silently ignore errors while scanning videos. This prevents the error dialogue box, so you don't have to keep hitting "yes" to keep scanning.-->
</videoscanner>
<splash>false</splash>
<myvideos>
<extractflags>false</extractflags>
<extractthumb>false</extractthumb>
</myvideos>
<lookandfeel>
<enablerssfeeds>false</enablerssfeeds>
</lookandfeel>
<audiooutput>
<guisoundmode>0</guisoundmode>
<ac3passthrough>false</ac3passthrough>
<dtspassthrough>false</dtspassthrough>
<multichannellpcm>false</multichannellpcm>
<truehdpassthrough>false</truehdpassthrough>
<dtshdpassthrough>false</dtshdpassthrough>
<mode>2</mode>
</audiooutput>
<videoscreen>
<vsync>2</vsync>
</videoscreen>
<input>
<enablemouse>false</enablemouse>
<remoteaskeyboard>false</remoteaskeyboard>
</input>
<general>
<addonnotifications>false</addonnotifications>
</general>
<skinsettings>
<setting type="bool" name="skin.confluence.FirstTimeRun">false</setting>
</skinsettings>
</advancedsettings>
2022-06-02 22:18:18.203 T:920 WARNING <general>: VIDEO database configuration is experimental.
2022-06-02 22:18:18.203 T:920 INFO <general>: Migrating old music library artwork settings to new GUI settings
2022-06-02 22:18:18.203 T:920 INFO <general>: Migrating old video library artwork settings to new GUI settings
2022-06-02 22:18:18.203 T:920 INFO <general>: Default Video Player: VideoPlayer
2022-06-02 22:18:18.203 T:920 INFO <general>: Default Audio Player: paplayer
2022-06-02 22:18:18.203 T:920 INFO <general>: Disabled debug logging due to GUI setting. Level 0.
2022-06-02 22:18:18.203 T:920 INFO <general>: Log level changed to "INFO"
2022-06-02 22:18:18.203 T:920 INFO <general>: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
2022-06-02 22:18:18.203 T:920 INFO <general>: creating subdirectories
2022-06-02 22:18:18.203 T:920 INFO <general>: userdata folder: special://masterprofile/
2022-06-02 22:18:18.203 T:920 INFO <general>: recording folder:
2022-06-02 22:18:18.203 T:920 INFO <general>: screenshots folder:
2022-06-02 22:18:18.204 T:920 INFO <general>: Running database version Addons33
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.aac v1.0.2 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.wma v1.0.2 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: game.controller.default v1.0.20 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: game.controller.snes v1.0.19 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.audioengine v1.1.1 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.filesystem v1.1.6 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.general v1.0.5 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.gui v5.15.0 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.main v1.3.0 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.network v1.0.4 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.tools v1.0.4 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audiodecoder v3.0.0 installed
2022-06-02 22:18:18.215 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audioencoder v2.1.0 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.game v2.1.1 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.imagedecoder v2.1.1 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.inputstream v3.0.1 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.peripheral v2.0.0 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.pvr v7.1.0 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.screensaver v2.1.0 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.0 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.videocodec v2.0.2 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.visualization v3.0.0 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: kodi.resource v1.0.0 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.album.universal v3.1.8 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.artists.universal v4.3.8 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.common.allmusic.com v3.2.2 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.common.fanart.tv v3.6.4 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.common.imdb.com v3.2.6 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.common.musicbrainz.org v2.2.4 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.common.theaudiodb.com v2.0.3 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.common.themoviedb.org v3.2.18 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.generic.albums v1.0.14 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.generic.artists v1.0.14 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.local v1.0.1 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org v5.2.6 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org.python v1.6.2+matrix.1 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org v3.5.14 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org.python v1.4.11 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: repository.xbmc.org v3.2.5 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: resource.images.weathericons.default v1.1.9 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: resource.language.en_gb v2.0.2 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: resource.uisounds.kodi v1.0.1 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.black v1.0.34 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.dim v1.0.64 installed
2022-06-02 22:18:18.216 T:920 INFO <general>: CAddonMgr::FindAddons: script.module.pil v5.1.0 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: script.module.pycryptodome v3.4.3 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: service.xbmc.versioncheck v0.5.23+matrix.1 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: skin.estouchy v3.0.6 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: skin.estuary v3.0.5 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: vfs.libarchive v19.0.1 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: vfs.rar v19.0.1 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: vfs.sftp v19.0.1 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: webinterface.default v19.x-2.4.8 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: xbmc.addon v19.1.0 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: xbmc.core v0.1.0 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: xbmc.gui v5.15.0 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: xbmc.json v12.4.0 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: xbmc.metadata v2.1.0 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: xbmc.python v3.0.0 installed
2022-06-02 22:18:18.217 T:920 INFO <general>: CAddonMgr::FindAddons: xbmc.webinterface v1.0.0 installed
2022-06-02 22:18:18.220 T:920 INFO <general>: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
2022-06-02 22:18:18.222 T:920 INFO <general>: CApplication::CreateGUI - using the headless windowing system
2022-06-02 22:18:18.222 T:920 INFO <general>: Checking resolution 16
2022-06-02 22:18:18.222 T:920 INFO <general>: load keymapping
2022-06-02 22:18:18.222 T:920 INFO <general>: Loading special://xbmc/system/keymaps/appcommand.xml
2022-06-02 22:18:18.222 T:920 INFO <general>: Loading special://xbmc/system/keymaps/customcontroller.AppleRemote.xml
2022-06-02 22:18:18.223 T:920 INFO <general>: Loading special://xbmc/system/keymaps/customcontroller.Harmony.xml
2022-06-02 22:18:18.223 T:920 INFO <general>: Loading special://xbmc/system/keymaps/customcontroller.SiriRemote.xml
2022-06-02 22:18:18.223 T:920 INFO <general>: Loading special://xbmc/system/keymaps/gamepad.xml
2022-06-02 22:18:18.223 T:920 INFO <general>: Loading special://xbmc/system/keymaps/joystick.xml
2022-06-02 22:18:18.224 T:920 INFO <general>: Loading special://xbmc/system/keymaps/keyboard.xml
2022-06-02 22:18:18.224 T:920 INFO <general>: Loading special://xbmc/system/keymaps/mouse.xml
2022-06-02 22:18:18.225 T:920 INFO <general>: Loading special://xbmc/system/keymaps/remote.xml
2022-06-02 22:18:18.225 T:920 INFO <general>: Loading special://xbmc/system/keymaps/touchscreen.xml
2022-06-02 22:18:18.225 T:920 INFO <general>: GUI format 1280x720, Display
2022-06-02 22:18:18.225 T:920 INFO <general>: CLangInfo: loading resource.language.en_gb language information...
2022-06-02 22:18:18.226 T:920 INFO <general>: global locale set to en_US.UTF-8
2022-06-02 22:18:18.226 T:920 INFO <general>: CLangInfo: loading resource.language.en_gb language strings...
2022-06-02 22:18:18.230 T:922 INFO <general>: Running database version Addons33
2022-06-02 22:18:18.230 T:922 INFO <general>: Running database version ViewModes6
2022-06-02 22:18:18.230 T:922 INFO <general>: Running database version Textures13
2022-06-02 22:18:18.230 T:922 INFO <general>: Essential mysql database information is missing. Require at least host, user and pass defined.
2022-06-02 22:18:18.230 T:922 ERROR <general>: Unable to create new database
2022-06-02 22:18:18.237 T:922 INFO <general>: MYSQL: Connected to version 5.5.5-10.5.8-MariaDB-log
2022-06-02 22:18:18.405 T:922 INFO <general>: Running database version MyVideos119
2022-06-02 22:18:18.405 T:922 INFO <general>: Running database version TV38
2022-06-02 22:18:18.405 T:922 INFO <general>: Running database version Epg13
2022-06-02 22:18:18.408 T:920 WARNING <general>: JSONRPC: Could not parse type "Setting.Details.SettingList"
2022-06-02 22:18:18.408 T:920 INFO <general>: JSONRPC: Adding type "Setting.Details.SettingList" to list of incomplete definitions (waiting for "Setting.Details.Setting")
2022-06-02 22:18:18.408 T:920 INFO <general>: JSONRPC: Resolving incomplete types/methods referencing Setting.Details.Setting
2022-06-02 22:18:18.414 T:920 INFO <general>: JSONRPC v12.4.0: Successfully initialized
2022-06-02 22:18:18.414 T:920 INFO <general>: Register - new keyboard device registered on application->keyboard: Keyboard (0000:0000)
2022-06-02 22:18:18.414 T:920 INFO <general>: Register - new mouse device registered on application->mouse: Mouse (0000:0000)
2022-06-02 22:18:18.414 T:920 INFO <general>: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
2022-06-02 22:18:18.415 T:920 INFO <general>: Loaded playercorefactory configuration
2022-06-02 22:18:18.415 T:920 INFO <general>: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
2022-06-02 22:18:18.415 T:920 INFO <general>: special://masterprofile/playercorefactory.xml does not exist. Skipping.
2022-06-02 22:18:18.415 T:920 INFO <general>: removing tempfiles
2022-06-02 22:18:18.415 T:920 INFO <general>: initialize done
2022-06-02 22:18:18.415 T:926 INFO <general>: initializing python engine.
2022-06-02 22:18:18.415 T:920 INFO <general>: Running the application...
2022-06-02 22:18:18.415 T:927 INFO <general>: ES: Starting UDP Event server on port 9777
2022-06-02 22:18:18.415 T:927 INFO <general>: UDP: Listening on port 9777 (ipv6 : true)
2022-06-02 22:18:18.415 T:920 INFO <general>: JSONRPC Server: Successfully initialized
2022-06-02 12:18:18.416 T:920 INFO <CWebserver[8080]>: Started
2022-06-02 12:18:23.551 T:926 INFO <general>: CPythonInvoker(0, /config/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): script successfully run
2022-06-02 12:18:23.555 T:926 INFO <general>: Python interpreter stopped
2022-06-02 12:19:18.911 T:928 INFO <general>: JSONRPC Server: New connection added
2022-06-02 12:20:02.863 T:942 INFO <general>: Skipped 1 duplicate messages..
2022-06-02 12:20:02.863 T:942 INFO <general>: VideoInfoScanner: Starting scan ..
2022-06-02 12:20:25.498 T:943 INFO <general>: initializing python engine.
2022-06-02 12:20:25.729 T:943 INFO <general>: CPythonInvoker(1, /config/.kodi/addons/metadata.tvshows.themoviedb.org.python/main.py): script successfully run
2022-06-02 12:20:25.737 T:943 INFO <general>: Python interpreter stopped
2022-06-02 12:20:25.860 T:945 INFO <general>: initializing python engine.
2022-06-02 12:20:26.702 T:945 INFO <general>: CPythonInvoker(2, /config/.kodi/addons/metadata.tvshows.themoviedb.org.python/main.py): script successfully run
2022-06-02 12:20:26.711 T:945 INFO <general>: Python interpreter stopped
############### END LOG FILE ################
############ END Kodi CRASH LOG #############```
did you get this sorted? I suspect it has to do with your setup (scrapers etc)
Myself and many others scan without issues
I actually forgot about this to be honest. It looks like it has been ok for the last 10 days. Will check on it later but I think you can probably close this issue off.