Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37603 - [xbmc] Last two git based xbmc-pvr-addons packages crash XBMC with SIGSEGV

Attached to Project: Community Packages
Opened by Brian (dbt816) - Saturday, 02 November 2013, 15:12 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 08 November 2013, 06:58 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The xbmc-pvr-addons-20131023git-1 and xbmc-pvr-addons-20131101git-1 packages both crash XBMC at startup. Reverting back to the original xbmc-pvr-addons-12.0_Frodo-1 package is the only way I can workaround the issue.

Additional info:
* package version(s)

xbmc 12.2-5
Using the tvheadend PVR add-on


* config and/or log files etc.

Here is a backtrace from the xbmc-pvr-addons-20131101git-1 package:

*** Error in `/usr/lib/xbmc/xbmc.bin': malloc(): memory corruption: 0x00007f9d14005890 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x72ecf)[0x7f9d7c91decf]
/usr/lib/libc.so.6(+0x7869e)[0x7f9d7c92369e]
/usr/lib/libc.so.6(+0x7a179)[0x7f9d7c925179]
/usr/lib/libc.so.6(__libc_malloc+0x60)[0x7f9d7c926cc0]
/usr/lib/libstdc++.so.6(_Znwm+0x1d)[0x7f9d7cecb35d]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep9_S_createEmmRKSaIcE+0x59)[0x7f9d7cf264f9]
/usr/lib/libstdc++.so.6(_ZNSs9_M_mutateEmmm+0x58)[0x7f9d7cf266b8]
/usr/lib/libstdc++.so.6(_ZNSs15_M_replace_safeEmmPKcm+0x1e)[0x7f9d7cf26c5e]
/usr/lib/xbmc/xbmc.bin(_Z5ssasnIcEvRSbIT_St11char_traitsIS0_ESaIS0_EEPKS0_+0xae)[0x6cd48e]
/usr/lib/xbmc/xbmc.bin(_ZN3PVR10CPVRClient15CheckAPIVersionEv+0x80)[0x8efb80]
/usr/lib/xbmc/xbmc.bin(_ZN5ADDON9CAddonDllI12DllPVRClient9PVRClient14PVR_PROPERTIESE6CreateEv+0x84)[0x8f3c94]
/usr/lib/xbmc/xbmc.bin(_ZN3PVR10CPVRClient6CreateEi+0x73)[0x8f09c3]
/usr/lib/xbmc/xbmc.bin(_ZN3PVR11CPVRClients26UpdateAndInitialiseClientsEb+0x833)[0x8fb5d3]
/usr/lib/xbmc/xbmc.bin(_ZN3PVR11CPVRClients7ProcessEv+0x8a)[0x8fcafa]
/usr/lib/xbmc/xbmc.bin(_ZN7CThread6ActionEv+0x18)[0x10dae38]
/usr/lib/xbmc/xbmc.bin(_ZN7CThread12staticThreadEPv+0xa9)[0x10db479]
/usr/lib/libpthread.so.0(+0x80a2)[0x7f9d80a430a2]
/usr/lib/libc.so.6(clone+0x6d)[0x7f9d7c99050d]
======= Memory map: ========

The backtrace from the xbmc-pvr-addons-20131023git-1 package is identical (except for specific memory addresses, obviously).

I didn't see anything that looked useful in the xbmc_crashlog file, but I can supply if needed.


Steps to reproduce:

Load either xbmc-pvr-addon package and launch XBMC. It will crash shortly after the splash screen.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 08 November 2013, 06:58 GMT
Reason for closing:  Fixed
Comment by Hon Yuen Kwun (hyke) - Sunday, 03 November 2013, 22:18 GMT
I believe the problem is that the opdenkamp/xbmc-pvr-addons master branch tracks the latest development PVR API of the master XBMC branch (13.x Gotham).

That's why there are problems when running against xbmc 12.2 frodo.

Note: This is only an issue if you activate a PVR plugin.

The frodo branch in opdenkamp/xbmc-pvr-addons is old and does not support MythTV 0.27. I was able to use the frodo branch of git://github.com/fetzerch/xbmc-pvr-addons.git which supports MythTV 0.27.

XBMC forum thread that mentions the MythTV 0.27 change is at http://forum.xbmc.org/showthread.php?tid=173932&pid=1522062#pid1522062
Comment by Hon Yuen Kwun (hyke) - Wednesday, 06 November 2013, 15:08 GMT
  • Field changed: Percent Complete (100% → 0%)
Please add #branch=frodo to the end of the source entry so you build against the frodo branch.

It's still building the master branch which only works for Gotham dev version of XBMC.

As documented at http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV/BuildFromSource#Branches
Comment by BluBer (BluBer) - Wednesday, 06 November 2013, 15:41 GMT
I would not call this an Upstream Bug.
As hyke said, the package is most likely build from the wrong branch.
Building the Frodo branch https://github.com/opdenkamp/xbmc-pvr-addons/tree/frodo fixes the problem.
Comment by Hon Yuen Kwun (hyke) - Friday, 08 November 2013, 00:23 GMT
20131106git-1 works for me.

Good news is that fetzerch's frodo branch recently merged in the latest opdenkamp's frodo branch, so fetzerch's version is more up to date.
Comment by Brian (dbt816) - Friday, 08 November 2013, 02:29 GMT
I updated to xbmc 12.2-6 and xbmc-pvr-addons 20131106git-1 today. Everything is working now!

Loading...