2016-07-10, 19:31
(2016-07-10, 13:48)Milhouse Wrote: Both crashes look to be SQLite related, most probably as it accesses the PVR or EPG database (TV29?) I've seen it suggested elsewhere that adding "rm -f /storage/.kodi/userdata/Database/TV29.db" to autostart.sh might help (not really a long term solution, but might help confirm if this is the problem database). A crash with debug logging enabled might possibly reveal which query/database is being accessed at the time of the crash, although PVR query logging isn't usually that helpful.OK I have created autostart.sh, which I can use to remove TV29.db and/or EPG11.db before Kodi starts after a full reboot of Pi
Code:
#This shell script is run before Kodi launches.
#Following lines when uncommented are to understand if TV29.db and/or EPG11.db
#Is cause of Kodi crash during intial boot-up, after a nightly milhouse build is installed for example.
rm -f /storage/.kodi/userdata/Database/TV29.db
#rm -f /storage/.kodi/userdata/Database/EPG11.db
Slightly intriqued now about how interrelated these two .db files may be on a daily usage basis and if interaction/syncronisation between them cause of kodi crashes