Kodi Community Forum

Full Version: [Solved-ish] 15.1 crash on startup - pvr.hts/Channel Groups/DB problem?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, guys - I've been away a lot recently, and grabbed the 15.1 update as part of a broader range of system updates this evening. Unfortunately, Kodi now won't start on my Linux Trusty system (I'm yet to try updating Windows, and my OE boxes are still on 15.0 as part of 5.95.3).

Symptoms... it starts, it updates the database for new programmes, and it seems to just freeze and then crash out while updating the PVR. I can obviously play around with switching that bit off for debugging purposes, but I thought I'd pose the question here in case there's something obvious in the debug log ... as there isn't to me! It could be that the crash logs are more useful, as they suggest it might be a thread issue by my idiot reading of them, so I've included those as well.

Two successive tries at starting - debug log, crash log, then try again:

http://xbmclogs.com/pvuocz8rg

http://xbmclogs.com/pf2aubnvd

Then try again, but doing nothing this time - not even a mouse movement:

http://xbmclogs.com/pnc951lqu

http://xbmclogs.com/pq1gbvjdt

It's an i7 14.04 system using Intel HD graphics. Nothing really odd otherwise. PVR backend wasn't changed at all, I can't say if the addon was updated as part of the 15.1 update, though.

Thoughts welcome, happy to poke around to help isolate it whether it's my system or something weird in Kodi itself.

Thanks, as always.

EDIT

I disabled the PVR addon (i.e. disabled Live TV) and it seems to be stable, so that's suspicious... I'll try re-enabling it, then trashing the PVR DB, then uninstalling/reinstalling the addon.

EDIT

While typing that last one, I'd re-enabled PVR, and Kodi crashed again.

Debug: http://xbmclogs.com/pygvaaapd

Crash: http://xbmclogs.com/pj7tusm1n

I'll leave this open for now, and try tweaking the PVR addon this evening or over the weekend, see if that helps.

EDIT

Clearing PVR details made no difference. Re-enabling PVR causes a crash within seconds.

Addon is 2.1.17; apt-cache policy confirms:

Code:
$ sudo apt-cache policy kodi-pvr-hts
kodi-pvr-hts:
  Installed: 2.1.17-1~trusty
  Candidate: 2.1.17-1~trusty
  Version table:
*** 2.1.17-1~trusty 0
        500 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

I'll look at trace debugging in the addon as well.

EDIT

Trace debugging doesn't seem to generate any more information, so I'll need to look into that.

That said, multiple restarts and radio button toggles, and it's started this time, so let's see if it stays upright ... I've had a minute or two so far, which is a lifetime compared to where I was...!

EDIT

Title of first post changed.
seems its crashing trying to write PVR channel groups to the DB.
Thanks. Suggestions? Re-install bits, or is this one for negge as an addon problem? Wondering whether some core code has changed around PVR or whether it's a corruption/one-of-those-things...

EDIT

That does, of course, presume that I haven't already fixed it by trashing the db and/or disabling/re-enabling the addon repeatedly. More a case of whether this will bite anyone else...

EDIT

Still running, just re-starting now to see if it's okay...

EDIT

... and yes, it started okay this time ... let's see if it stays running (probably, given that the PVR piece has finished now...)
c 21 hours stable. Just re-starting now... and the EPG update has completed, and Kodi is still running...
hey, can you please confirm what actions did you performed? i think i'm having the same issue
It was hardly a logical process...

I started Kodi, and quickly went to settings -> TV -> disable before the EPG had finished. I then restarted Kodi and reversed the process to re-enable Live TV. When that didn't work after several tries, I restarted again and disabled TV again, but this time also cleared the local PVR database ('clear data') before restarting and re-enabling.

Somewhere in there, things appear to have fixed themselves and started working...