Segmentation fault while trying to play DRM content

  • Hi all,

    When trying to play DRM protected content, LibreELEC segfaults and restarts.

    - Device: NanoPi K2 (S905 SOC, Mali-450 GPU)

    - LE version: devel-20190915174406-76b3023 (master branch)

    - Command used for compiling: PROJECT=Amlogic ARCH=arm DEVICE=AMLGX UBOOT_SYSTEM=nanopi-k2 make image

    - Kernel version: mainline 5.3.0-rc8 (aarch64)

    - OpenGL vendor: Lima

    - Userspace: 32-bit (Python platform.machine() reports armv7l)

    - Inputstream Adaptive version: 2.4.2

    Tested with:

    - Netflix add-on

    - Video Test Streams add-on

    In both tests, playing video with WideVine will cause segmentation fault :cry:.

    I hope someone can shed some light as to why this is happening...If further tests are required, please let me know what I should do. Better still, if someone has this or a similar device (any Odroid C2 users here?), please test if the same problem also happens with LibreELEC running on mainline kernel, so I know this is not specific to my device. Thanks.

    Full log: kodi_crash.log

    Last lines in log:

    Code
    2019-09-15 17:19:46.036 T:3788288880   DEBUG: AddOnLog: InputStream Adaptive: Entering encryption section
    2019-09-15 17:19:46.191 T:3788288880   DEBUG: AddOnLog: InputStream Adaptive: CDM version: 4.10.1440.18

    Segfault appears here: