Kodi Community Forum
Linux Since upgrading to 20.5, updating the library causes Kodi to crash - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Since upgrading to 20.5, updating the library causes Kodi to crash (/showthread.php?tid=378563)



Since upgrading to 20.5, updating the library causes Kodi to crash - abmoraz - 2024-08-22

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.


RE: Since upgrading to 20.5, updating the library causes Kodi to crash - Karellen - 2024-08-22

(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


RE: Since upgrading to 20.5, updating the library causes Kodi to crash - Neo1973 - 2024-08-22

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/+source/kodi/+bug/2063358


RE: Since upgrading to 20.5, updating the library causes Kodi to crash - basilgello - 2024-08-23

Not entirely true Smile

In Debian, I fixed that issue in 2:20.5+dfsg-3 but Ubuntu has https://launchpad.net/ubuntu/+source/kodi/2:20.5+dfsg-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/kodi-media-center/kodi/-/blob/debian/sid/debian/patches/workarounds/0003-pcre2.patch as I borked FTP client a bit Smile


RE: Since upgrading to 20.5, updating the library causes Kodi to crash - abmoraz - 2024-09-30

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.