Kodi Community Forum

Full Version: [Solve] Kodi crash when trying to play
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Not each time, but mostly all the time, when I try to launch a video 2 things arrive:
1) the video is not really launched: the time counter start in the bottom screen, but the video is not viewable. If I'm able to access the bottom and clic on the "full screen", a blank screen appear
2) a blank screen arrive directly and after a while, the prompt arrive and a log file is created in the home directory. (an example here: Kodi Log File )

In the screen I have :
Quote:
Code:
Exception SystemExit in <function _remove at 0x61a05430> ignored
Exception SystemExit in <function _remove at 0x618c8bf0> ignored
Exception SystemExit in <function _remove at 0x5eedf6b0> ignored
eglCreateImageKHR:  failed to create image for buffer 0x61 target 12465 error 0x300c
eglCreateImageKHR:  failed to create image for buffer 0x63 target 12465 error 0x300c
eglCreateImageKHR:  failed to create image for buffer 0x65 target 12465 error 0x300c
eglCreateImageKHR:  failed to create image for buffer 0x67 target 12465 error 0x300c
eglCreateImageKHR:  failed to create image for buffer 0x69 target 12465 error 0x300c
eglCreateImageKHR:  failed to create image for buffer 0x47 target 12465 error 0x300c
eglCreateImageKHR:  failed to create image for buffer 0x5a target 12465 error 0x300c
usrvcsm: [vcsm_malloc_cache]: [1442][mmal_vc_port buffer]: ioctl mem-alloc FAILED [-1] (hdl: 0)
usrvcsm: [vcsm_vc_hdl_from_hdl]: [1442]: invalid device or handle!
usrvcsm: [vcsm_lock]: [1442]: 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(MP4V): failed to allocate 1048576 bytes of shared memory
mmal: mmal_pool_initialise_buffer_headers: failed to allocate payload 0/2
usrvcsm: [vcsm_malloc_cache]: [1442][CGPUMEM]: ioctl mem-alloc FAILED [-1] (hdl: 0)
usrvcsm: [vcsm_vc_hdl_from_hdl]: [1442]: invalid device or handle!
usrvcsm: [vcsm_lock]: [1442]: invalid device or invalid handle!
Aborted (core dumped)
Crash report available at /home/pi/kodi_crashlog-20180115_165529.log

I search for many different solution without success (for example validate that some /dev are owned by video group and my user in the video group).

If someone is able to help ...

Thanks in advance.
18:17:08.427 T:1911132160 NOTICE: Disabled debug logging due to GUI setting. Level 0.

Please enabled debugging to get a more details debug log (wiki) file.
Code:
19:17:11.557 T:1911132160  NOTICE: ARM mem: 948MB GPU mem: 76MB MPG2:0 WVC1:0

Increase gpu_mem in config.txt to 256 or 320.
For the logs: I already tried. But seems that each time I switch on the logs, it starts correctly (seems good except for the information on the screen)

For the upgrade of the GPU memory. I will test. I do a quick test, it seems to be better. I will see in few days Smile
Seems to be OK after adding 

gpu_mem=256

in /boot/config.txt file

Thanks  Blush