Crash on Raspberry Pi 2 when trying to play a video

Using Arch Linux ARM.
Kodi 16 works fine, but Kodi 17 crashes and outputs these error messages:

Code:
usrvcsm: [vcsm_malloc_cache]: [1457] [mmal_vc_port buffer]: NULL size or invalid device!
usrvcsm: [vcsm_vc_hdl_from_hdl]: [1457]: invalid device or handle!
usrvcsm: [vcsm_lock]: [1457]: invalid device or invalid handle!
mmal: mmal_vc_shm_alloc: could not allocate 1048576 bytes of shared memory (handle 0)
mmal: mmal_vc_port_payload_alloc: vc.ril.video_decode:in:0(MVC ): failed to allocate 1048576 bytes of shared memory
mmal: mmal_pool_initialise_buffer_headers: failed to allocate payload 0/2
usrvcsm: [vcsm_malloc_cache]: [1457] [CGPUMEM]: NULL size or invalid device!
usrvcsm: [vcsm_vc_hdl_from_hdl]: [1457]: invalid device or handle!
usrvcsm: [vcsm_lock]: [1457]: invalid device or invalid handle!
/usr/bin/kodi: line 172:  1457 Aborted

The Arch package maintainer said I should post it here.
Do you know how to fix the error?