Kodi Community Forum

Full Version: pvr.mythtv add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-02-12, 19:36)MikeB2013 Wrote: [ -> ]More RPi 2 Crash logs taken today using OE Milhouse debug build

Mythtv 0.27.4 fixes

http://xbmclogs.com/show.php?id=424412
http://xbmclogs.com/show.php?id=424418
http://xbmclogs.com/show.php?id=424421
http://xbmclogs.com/show.php?id=424424

I have more crash logs (another 8 available if required)

Mike
Seems to be a memory allocation issue, but not specific to the addon itself. It has crashed in Kodi code or addon code, depending when bad allocation occurs. Sure if you don't use addons you use less of memory.

Anyone has tried a build of openelec-Rpi on RPi2 ?
I keep this one too
#3 0xb55850ac in malloc_printerr (action=3, str=0xb562c24c "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:4958
#4 0xb5585a54 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=555340) at malloc.c:3829
#5 0xab8d031c in Myth:Confusedhared_ptr<Myth::Channel>::reset (this=this@entry=0xad0f3450) at /home/neil/projects/OpenELEC.tv/build.OpenELEC-RPi2.arm-devel-debug/kodi-pvr-addons-a0a437e/lib/cppmyth/cppmyth/src/mythsharedptr.h:74

May be atomic operations are not for RPi2 arch. I have to check that.

UPDATED: Seems yet the allocation points to a bad address. If possible and if arch are compatible, we have to test openelec-rpi build (stable Helix please) on RPi2. May be some evil optimizations made by compiler cause the issue.
Someone could compile the "cppmyth" lib from my repo on RPi2 , and launch the bold program cppmythtest ?
(2015-02-13, 13:18)janbar Wrote: [ -> ]Someone could compile the "cppmyth" lib from my repo on RPi2 , and launch the bold program cppmythtest ?

Done - info on your git hub issue
For everyone else

Running ./test/cppmythtest "sometimes" results in Segmentation fault at Guide ChanId at random channelids. The "sometimes" varies between successive runs and 1 in 10.

Tests done on osmc (debian Jessie based) and Raspbian (debian Wheezy based).
Both give the random segmentation faults.
Cannot do on OE - no native build system.

Mike
@hallon @richardk @MikeB2013

The crash on RPi2 has been fixed in all branches: master (Kodi 15), helix (Kodi 14), gotham (XBMC 13).

Many thanks for reporters and helpers.
(2015-02-13, 20:44)janbar Wrote: [ -> ]@hallon @richardk @MikeB2013

The crash on RPi2 has been fixed in all branches: master (Kodi 15), helix (Kodi 14), gotham (XBMC 13).

Many thanks for reporters and helpers.

Is a compiled version of the addon for Rpi2 available for download anywhere?
(2015-02-13, 22:18)richardk Wrote: [ -> ]
(2015-02-13, 20:44)janbar Wrote: [ -> ]@hallon @richardk @MikeB2013

The crash on RPi2 has been fixed in all branches: master (Kodi 15), helix (Kodi 14), gotham (XBMC 13).

Many thanks for reporters and helpers.

Is a compiled version of the addon for Rpi2 available for download anywhere?

I try to compile one and i will post it in my cloud. Requires few hours...
Skipping in live tv is not working correctly for me. I have my skip back set to 7 seconds. In live tv it will only skip back 2-3 seconds. 30 second skip forward seems to only skip about 8 seconds. The 10 min skip forward/back doesn't seem to work at all. I'm running the latest 0.27.4+fixes from mythbuntu and pvr.mythtv 1.12.1. Tuning device is a hdhomerun using the heavy transcoding profile. I'm running openelec 5.0.2 (kodi 14.1) on an asus chromebox. Is this a known problem? If not, what should I look at to fix it?
(2015-02-13, 23:37)janbar Wrote: [ -> ]
(2015-02-13, 22:18)richardk Wrote: [ -> ]
(2015-02-13, 20:44)janbar Wrote: [ -> ]@hallon @richardk @MikeB2013

The crash on RPi2 has been fixed in all branches: master (Kodi 15), helix (Kodi 14), gotham (XBMC 13).

Many thanks for reporters and helpers.

Is a compiled version of the addon for Rpi2 available for download anywhere?

I try to compile one and i will post it in my cloud. Requires few hours...

I have posted it in mycloud https://www.canneasucre.org/owncloud/pub...enELEC-5.0
(2015-02-14, 15:41)janbar Wrote: [ -> ]
(2015-02-13, 23:37)janbar Wrote: [ -> ]
(2015-02-13, 22:18)richardk Wrote: [ -> ]Is a compiled version of the addon for Rpi2 available for download anywhere?

I try to compile one and i will post it in my cloud. Requires few hours...

I have posted it in mycloud https://www.canneasucre.org/owncloud/pub...enELEC-5.0

Works perfectly on my Rpi2 with OpenELEC 5.03. Thanks!
(2015-02-14, 15:41)janbar Wrote: [ -> ]
(2015-02-13, 23:37)janbar Wrote: [ -> ]
(2015-02-13, 22:18)richardk Wrote: [ -> ]Is a compiled version of the addon for Rpi2 available for download anywhere?

I try to compile one and i will post it in my cloud. Requires few hours...

I have posted it in mycloud https://www.canneasucre.org/owncloud/pub...enELEC-5.0

I noticed that there is a copy of 1.12.4 for OpenELEC i386 Generic. Will there also be one for OpenELEC x64 Generic (which is much more commonly used these days)? The directory currently does not have any version of the addon for x64 Generic.
The old cmyth addon combined my video sources (freeview and freesat) into one, so that only one set of channel numbers appeared, as per mythfrontend's normal behaviour. The new addon doesn't do this, so for most channels I have a double entry. This code seems to have been added as an outcome of this thread.

It's not an end of the world issue, but it would improve the UI if that code (or similar) could be integrated into the new addon.

Other than that the addon is working very well, my thanks to all involved!
(2015-02-15, 01:32)richardk Wrote: [ -> ]
(2015-02-14, 15:41)janbar Wrote: [ -> ]
(2015-02-13, 23:37)janbar Wrote: [ -> ]I try to compile one and i will post it in my cloud. Requires few hours...

I have posted it in mycloud https://www.canneasucre.org/owncloud/pub...enELEC-5.0

I noticed that there is a copy of 1.12.4 for OpenELEC i386 Generic. Will there also be one for OpenELEC x64 Generic (which is much more commonly used these days)? The directory currently does not have any version of the addon for x64 Generic.

now the i386 one has disappeared!
Thanks for the update janbar, I left live tv playing for >24 hours to test out the new addon and had no crashes on the RPi2. Really appreciate the hard work you put into the addon.
Is there a way to get the myth pvr addon to not group the recordings by recording group? All my recordings are just in the 'default' group, and when I got to the recordings in helix, I'm presented first with the "Default" group that I have to go into before getting all the recorded shows. It's not exactly a major problem, but an unnecessary step (especially given kodi will automatically flatten TV shows where there is only one season).

It didn't use to have this behaviour in the old gotham addon.

Also many thanks for continuing the development of this. I'm running on a pivos box with an after-market release of helix. The main distribution caused crashing issues with the jansson libraries and the new code you've put in recently to replace jansson has fixed my issues!