Kodi-20.0-Nexus alpha1/alpha2/alpha3/Master crash on start-up on Android 5.1.1 #22083
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Kodi-20.0-Nexus alpha1/alpha2/alpha3/Master crash on start-up on Android 5.1.1.
Ref :#22069
Motivation and context
As reported in the issue #22069, the reason of the crash is due to a FATAL EXCEPTION detected by Android 5.1.1. during the loading of libass.so Shared Library.
--------- beginning of crash
E/AndroidRuntime( 8096): FATAL EXCEPTION: main
E/AndroidRuntime( 8096): Process: org.xbmc.kodi, PID: 8096
E/AndroidRuntime( 8096): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__gxx_personality_v0" referenced by "libass.so"...
Since the issue happens already with alpha1, I have git cloned Kodi till alpha1 tag and via multiple different git checkout, building and testing every time the .apk, I have identified that the pull causing the problem is:
[tools/depends][target] fontconfig bump 2.14.0 #21310
After several tests, using also the latest official version 2.14.1, my conclusion is that the issue is caused by usage of the Meson Build system. Building fontconfig with the "old" autoconf system the problem disappear.
How has this been tested?
Tested on:
Amazon Fire TV Basic Edition:
Model : AFTT
Hardware : mt8127
SW : Fire OS 5.2.9.2 (681771820) (based on Android 5.1.1)
Samsung Galaxy Grand Prime smartphone with Android version 5.1.1
Tested also on other Android versions:
Zidoo X10 : Android 6.0.1
Fire TV Stick 4K Max : Android TV 9.0.0
NVIDIA SHIELD Android TV Pro : Android TV 11.0.0
What is the effect on users?
Kodi 20 not usable on Android 5.1.1
Types of change