Yaourt update -> Kodi crashes at start

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Re: Yaourt update -> Kodi crashes at start

Postby iegubkin » Thu Dec 17, 2015 12:53 am

Has anyone else rebuilt kodi-rbp after the C++ ABI change and gotten a libcec error when starting kodi?

$this->bbcode_second_pass_code('', '/usr/lib/kodi/kodi.bin: symbol lookup error: /usr/lib/libcec.so.3.0: undefined symbol: _ZN11StringUtils6FormatEPKcz')
Thinking this might also be the result of the C++ ABI change, I tried to rebuild libcec (libcec-rpi 3.0.1-2). This didn't work however. I received this error:
https://github.com/Pulse-Eight/libcec/issues/115
This fix was made just after the libcec 3.0.1 release

By the way, libtorrent was also bitten by this ABI change although it could be successfully rebuilt.
iegubkin
 
Posts: 18
Joined: Fri Aug 14, 2015 9:27 pm

Re: Yaourt update -> Kodi crashes at start

Postby moonman » Thu Dec 17, 2015 1:56 am

FYI: viewtopic.php?f=9&t=9600
Libcec is easy to rebuild, the main problem is the abi change in gcc 5.3 packages vs kodi will crash if built with gcc > 5.1.
For now downgrade tinyxml package from cache. Hopefully no other package you need depends on it.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Yaourt update -> Kodi crashes at start

Postby iegubkin » Thu Dec 17, 2015 2:19 am

Thanks moonman. I'm not sure I got the gist of the discussion you pointed to. To get a working kodi again one would need to go back to tinyxml-2.6.2-3 and freeze its updates?

EDIT (22:24) Downgraded, froze, rebooted and everything looks to be working. At least kodi is running now. Little hard to tell much more from 8500 km away at this time of day.
Last edited by iegubkin on Thu Dec 17, 2015 3:27 am, edited 1 time in total.
iegubkin
 
Posts: 18
Joined: Fri Aug 14, 2015 9:27 pm

Re: Yaourt update -> Kodi crashes at start

Postby ILMostro » Thu Dec 17, 2015 2:32 am

Grrr...Seems this occurred after a recent upgrade; unfortunately, Pacman has no "history" feature.
ILMostro
 
Posts: 29
Joined: Tue Apr 22, 2014 8:07 am

Re: Yaourt update -> Kodi crashes at start

Postby iegubkin » Thu Dec 17, 2015 3:36 am

For those of you who don't have a copy of tinyxml-2.6.2-3 take a look at the new Archlinux ARM Rollback Machine:

$this->bbcode_second_pass_code('', 'cd /var/cache/pacman/pkg/
pacman -U tinyxml-2.6.2-3-armv7h.pkg.tar.xz')

Archlinux ARM Rollback Machine:
http://archlinuxarm.org/forum/viewtopic.php?f=9&t=9542
iegubkin
 
Posts: 18
Joined: Fri Aug 14, 2015 9:27 pm

Re: Yaourt update -> Kodi crashes at start

Postby hissingshark » Thu Dec 17, 2015 10:51 am

Hi, an -Syu this week killed kodi-rbp and my personal emulationstaion build.

I got the same errors for both regarding "Alignment trap". I did a clean install as I was going to anyway, but same trouble as obviously the updates are the same. I thought with the rolling release nature of arch that a pre-built package like kodi would be ok, but clearly I've misunderstood that.

I successfully recompliled kodi-rpb this morning but got the "symbol lookup error: /usr/lib/libcec.so.3.0:" on execution.

@iegubkin thanks for the rollback supplies!!
As per the advice I've rolled back to tinyxml-2.6.2-3, but this did not fix it for me. Instead on execution kodi goes all core-dump on me. Odd I'm getting different behaviour than you. Do I need to recompile kodi-rbp again now that I've rolled back TinyXML or should the current package have worked?
hissingshark
 
Posts: 6
Joined: Thu Dec 17, 2015 10:39 am

Re: Yaourt update -> Kodi crashes at start

Postby Kabbone » Thu Dec 17, 2015 2:45 pm

$this->bbcode_second_pass_quote('hissingshark', '
')...
As per the advice I've rolled back to tinyxml-2.6.2-3, but this did not fix it for me. Instead on execution kodi goes all core-dump on me. Odd I'm getting different behaviour than you. Do I need to recompile kodi-rbp again now that I've rolled back TinyXML or should the current package have worked?


The current package should work with tinyxml-2.6.2-3, so you don't need to recompile kodi.

$this->bbcode_second_pass_quote('hissingshark', '
')...
I thought with the rolling release nature of arch that a pre-built package like kodi would be ok, but clearly I've misunderstood that.


I think the actual problem is the manpower at ArchlinuxARM. You could not expect that all packages are completely tested like at the x86 Version of Archlinux and even there sometimes there are packages broken. Normally there should be no problem to downgrade for the time the problem is fixed.
Kabbone
 
Posts: 155
Joined: Thu Jul 25, 2013 9:20 am

Re: Yaourt update -> Kodi crashes at start

Postby hissingshark » Thu Dec 17, 2015 2:47 pm

OK, well I've had time for a recompile and that's no better. In fact, it failed with references to TinyXML!

It looks like changes are beginning to be made in the repo anyway as installing kodi-rbp with pacman now yields when executed:
$this->bbcode_second_pass_code('', '/usr/bin/kodi: line 165: 13987 Bus error (core dumped) "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /home/pi/kodi_crashlog-20151217_144307.log
/usr/bin/kodi: line 165: 14001 Bus error (core dumped) "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /home/pi/kodi_crashlog-20151217_144308.log
/usr/bin/kodi: line 165: 14015 Bus error (core dumped) "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /home/pi/kodi_crashlog-20151217_144308.log
/usr/bin/kodi --standalone has exited uncleanly 3 times in the last 3 seconds.
Something is probably wrong
')
hissingshark
 
Posts: 6
Joined: Thu Dec 17, 2015 10:39 am

Re: Yaourt update -> Kodi crashes at start

Postby iegubkin » Thu Dec 17, 2015 3:28 pm

@hissingshark What is working for me is previous tinyxml (2.6.2-3) and the current kodi-rbp (15.2-1)
iegubkin
 
Posts: 18
Joined: Fri Aug 14, 2015 9:27 pm

Re: Yaourt update -> Kodi crashes at start

Postby iegubkin » Thu Dec 17, 2015 3:36 pm

Rebuilding doesn't look promising. Yesterday the package maintainer, moonman, wrote on another thread:
$this->bbcode_second_pass_quote('', 'W')ell, looks like kodi is doomed for now. It has to be rebuilt for the new ABI with GCC 5.3, but it has problems accessing databases (crashes) if built with GCC >= 5.2

http://archlinuxarm.org/forum/viewtopic.php?f=9&t=9600#p49727

Getting libcec successfully built with GCC 5.3 will not be trivial either.
iegubkin
 
Posts: 18
Joined: Fri Aug 14, 2015 9:27 pm
Top

PreviousNext

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 7 guests