2016-04-20, 19:46
(2016-04-18, 19:45)popcornmix Wrote:(2016-04-18, 19:31)MikeKL Wrote: Last few testbuilds of OpenElec and now LibreElec (perhaps since my enabling two pvr backends?) I have been more frequently seeing two or more kodi crash/restarts, before a full and clean start of Kodi.
The theme seems to be segfault in CDatabase stuff from PVR:
Code:Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0055a974 in CDatabase::Connect(std::string const&, DatabaseSettings const&, bool) ()
#1 0x0055ac60 in CDatabase::Open(DatabaseSettings const&) ()
#2 0x0070527c in PVR::CPVRManager::Process() ()
#3 0x00a1e188 in CThread::Action() ()
#4 0x00a1e9c8 in CThread::staticThread(void*) ()
#5 0x76d17ed0 in start_thread (arg=0x55ca13a0) at pthread_create.c:335
#6 0x752aa3a0 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Program terminated with signal SIGSEGV, Segmentation fault.
#1 0x00559868 in CDatabase::InitSettings(DatabaseSettings&) ()
#2 0x0055ac04 in CDatabase::Open(DatabaseSettings const&) ()
#3 0x0070527c in PVR::CPVRManager::Process() ()
#4 0x00a1e188 in CThread::Action() ()
#5 0x00a1e9c8 in CThread::staticThread(void*) ()
#6 0x76d19ed0 in start_thread (arg=0x583a03a0) at pthread_create.c:335
#7 0x752ac3a0 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/libc.so.6
CDatabase hasn't changed in ages, so it will be a PVR commit. If you can identify the first build with the problem that may help identifying where the problem came from.
(2016-04-18, 20:36)Milhouse Wrote:OK, been testing not quite as you requested (got frustrated with step back through each build) with following results(2016-04-18, 20:13)MikeKL Wrote: hmm that could prove tricky now, as was stepping through OpenElec testbuilds more or less with each related TVHeadened PVR update builds that milhouse was providing here and only recently added Filmon.PVR to mix
I assume the tvheadend addon has a degree of backward compatability built-in, so you should be able to remain on the latest tvheadend version you installed and step back through the OE builds.
(2016-04-18, 20:13)MikeKL Wrote: Any suggested way on best way to step back now that I have switched from Openelec #0415 to LibreElec #0416?
Just go back through the OpenELEC builds - #0414, #0413 etc.
(2016-04-18, 20:13)MikeKL Wrote: Very quickly stepped back to earliest #0333 LibrElec testbuild, but kodi just constantly crashed at boot video and never started cleanly, here is one of crashlogs with #0330 http://sprunge.us/TFWj
That's an unrelated issue - the peripheral.joystick addon is missing in that build. Since those builds are unsupported, you should regression test using only the OE builds (prior to LE #0416).
Stepped back from LibreElec #0416 to last openelec testbuild #0415 then did couple of jumped steps back to OpenElec #0326 before I had a clean Kodi re-boot with no crashes
Checked and confirmed following PVR backends/frontends installed on #0326 and are interacting/working OK
PVR back-ends - Filmon API v2.2 & HTS Tvheadend 4.1-1724
PVR front-ends - PVR Filmon Client v1.2.0 & Tvheadened HTSP Client v3.2.1
Kodi.log
Then when stepping forward to build #0327, kodi crashes (never recovers to full kodi start) but termination error is different in the kodi.crashlog
kodi.log
kodi.crashlog
Hope information is of some use PVR API 5.1.1 introduced for clients at #0327?
Will step back and stay on OpenElec testbuild #0326 for time being with this rpi2 unless you want me to test with other specific test builds and/or jump to a latest LibreElec testbuild etc.