Linux Since upgrading to 20.5, updating the library causes Kodi to crash
#1
I have 3 Kodi boxes.  Since upgrading from 19 to 20.5, all 3 are displaying the same behavior: whenever I update the entire library (manual or automatic), the sync updates my movies, then starts gathering the TV shows and crashes kodi entirely before doing them.  It doesn't seem to matter which TV scraper I use (TMDB or TVDB)... they both crash if they're invoked via a bulk method (sync on startup, update library, or from Sonarr adding a new show).  I *CAN* go into the library manually and press "i" on any show and it will scrap it and add it fine, so I don't think it's the scrapper per se, but whatever gathers the files for the scrapers. 

I am a python developer, so I added logging lines to the plugins and it doesn't seem to get to a point where the TV scraper is called.  As best as I can tell, it seems to be crashing somewhere in the C code where VideoInfoScanner is invoked (I lack the knowledge to find that and add additional logging).  The Kodi_crashlog doesn't seem to have a smoking gun.  It just... ends.  No log of what caused the crash at the end.

The log file is here: https://paste.kodi.tv/puveladuhi.kodi
(you will see some odd logs near the end where I added some debugging to the scrappers.  All of my debugs are surrounded with @@ symbols)

My 3 boxes are:
  • KUbuntu 24.04 (upgraded from 22.04, Kodi upgraded from 19->20.5) that has the main instance and the mySql DB
  • An ASUS laptop running a fresh install of LUbuntu (no upgrades, brand new install)
  • An Intel Microbox running Lubuntu 24.04 (upgraded from 22.04, Kodi upgraded from 19->20.5)
All 3 crash the same way at the same point.  None of them had problems on 19.  If Anyone can point me in a helpful direction, I would appreciate it.
Reply
#2
(2024-08-22, 05:14)abmoraz Wrote: The log file is here: https://paste.kodi.tv/puveladuhi.kodi
Can you enable debug mode and try again.
Settings>System>Logging
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Kodi 20.5 doesn't work on systems using Python 3.12, see https://github.com/xbmc/xbmc/issues/24069 and https://bugs.launchpad.net/ubuntu/+sourc...ug/2063358
Reply
#4
Not entirely true Smile

In Debian, I fixed that issue in 2:20.5+dfsg-3 but Ubuntu has https://launchpad.net/ubuntu/+source/kod...sg-1build2 so it is obviously lacking that patch for 24.04

Unfortunately I have no access rights to upload to Ubuntu archive, so you need to ping https://launchpad.net/~vorlon to make it happen. Best to upload 2:20.5+dfsg-5 and replace the pcre2 patch in it with the one from https://salsa.debian.org/multimedia-team...cre2.patch as I borked FTP client a bit Smile
Maintainer of Kodi from Debian | Got an issue with Kodi from Debian? Report it here: Kodi from Debian - Support Thread
Reply
#5
Just a follow-up: I went to the Flatpak version (21.0) instead of the repository version (20.5) and everything works now.  It was a bit annoying re-scanning my entire library because it didn't auto-upgrade, but that was a one-time problem on each client.
Reply

Logout Mark Read Team Forum Stats Members Help
Since upgrading to 20.5, updating the library causes Kodi to crash0