Update, I’ve just generated the same error, if you start a journal trace (sudo journalctl -f) you will probably see the following if you start the service:
Sep 18 19:00:44 volumio volumio[956]: info: KODI started
Sep 18 19:00:44 volumio volumio[956]: info: Done.
Sep 18 19:00:45 volumio kodi-standalone[6583]: /usr/bin/kodi: 46: /usr/bin/kodi: tvservice: not found
Sep 18 19:00:47 volumio kodi-standalone[6583]: Segmentation fault (core dumped)
Sep 18 19:00:53 volumio kodi-standalone[6583]: Crash report available at /home/kodi/kodi_crashlog-20170918_190047.log
The crash log shows the following:
############## Kodi CRASH LOG ###############
################ SYSTEM INFO ################
Date: Mon Sep 18 19:00:47 UTC 2017
Kodi Options:
Arch: armv7l
Kernel: Linux 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017
Release: Raspbian GNU/Linux 8 (jessie)
############## END SYSTEM INFO ##############
############### STACK TRACE #################
=====> Core file: /core (2017-09-18 19:00:47.546377661 +0000)
=========================================
[New LWP 6629]
[New LWP 6610]
[New LWP 6627]
[New LWP 6618]
[New LWP 6628]
[New LWP 6619]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/lib/arm-linux-gnueabihf/kodi/kodi_v7.bin --lircdev /var/run/lirc/lircd --s'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x3c666674 in ?? ()
Thread 6 (Thread 0x736ff3b0 (LWP 6619)):
#0 0x75772b80 in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x004ec6e8 in CFDEventMonitor::Process() ()
#2 0x00680a80 in CThread::Action() ()
#3 0x006812e8 in CThread::staticThread(void*) ()
#4 0x76f93e90 in start_thread (arg=0x736ff3b0) at pthread_create.c:311
#5 0x7577c598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 5 (Thread 0x723ff3b0 (LWP 6628)):
#0 0x76f98b30 in __pthread_cond_timedwait (cond=0x71a00650, mutex=0x71a00688, abstime=0x723fdb20) at pthread_cond_timedwait.c:199
#1 0x00440590 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2 0x00620634 in Actor::Protocol::SendOutMessageSync(int, Actor::Message**, int, void*, int) ()
#3 0x00a67604 in ActiveAE::CActiveAE::InitSink() ()
#4 0x00a69c78 in ActiveAE::CActiveAE::Configure(AEAudioFormat*) ()
#5 0x037fffcc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 4 (Thread 0x740573b0 (LWP 6618)):
#0 0x76f987a4 in __pthread_cond_wait (cond=0x37f8a78, mutex=0x37f8ab0) at pthread_cond_wait.c:187
#1 0x009d910c in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2 0x00680a80 in CThread::Action() ()
#3 0x006812e8 in CThread::staticThread(void*) ()
#4 0x76f93e90 in start_thread (arg=0x740573b0) at pthread_create.c:311
#5 0x7577c598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 3 (Thread 0x72cff3b0 (LWP 6627)):
#0 0x76f98b30 in __pthread_cond_timedwait (cond=0x15f9d00, mutex=0x15f9d38, abstime=0x72cfece0) at pthread_cond_timedwait.c:199
#1 0x00440590 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2 0x00639b5c in CJobManager::GetNextJob(CJobWorker const*) ()
#3 0x0063a454 in CJobWorker::Process() ()
#4 0x00680a80 in CThread::Action() ()
#5 0x006812e8 in CThread::staticThread(void*) ()
#6 0x76f93e90 in start_thread (arg=0x72cff3b0) at pthread_create.c:311
#7 0x7577c598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 2 (Thread 0x740592a0 (LWP 6610)):
#0 0x76f98b30 in __pthread_cond_timedwait (cond=0x3899e28, mutex=0x3899e60, abstime=0x7ef398d0) at pthread_cond_timedwait.c:199
#1 0x00440590 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2 0x00620634 in Actor::Protocol::SendOutMessageSync(int, Actor::Message**, int, void*, int) ()
#3 0x00a68a74 in ActiveAE::CActiveAE::Initialize() ()
#4 0x00a539b4 in CAEFactory::StartEngine() ()
#5 0x007d0300 in CApplication::Create() ()
#6 0x006988e4 in XBMC_Run ()
#7 0x003b1bfc in main ()
Thread 1 (Thread 0x719ff3b0 (LWP 6629)):
#0 0x3c666674 in ?? ()
#1 0x004daf94 in void std::_Destroy_aux<false>::__destroy<CMediaSource*>(CMediaSource*, CMediaSource*) ()
#2 0x0086a6b4 in std::vector<CMediaSource, std::allocator<CMediaSource> >::clear() ()
#3 0x008694e0 in CMediaSourceSettings::Clear() ()
#4 0x00845d9c in CSettingsManager::OnSettingsUnloaded() ()
#5 0x00846724 in CSettingsManager::Unload() ()
#6 0x008481a8 in CSettingsManager::Clear() ()
#7 0x0086fe3c in CSettings::Uninitialize() ()
#8 0x0087019c in CSettings::~CSettings() ()
#9 0x756dbaec in __run_exit_handlers (status=-1, listp=0x757e84ac <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#10 0x756dbb3c in __GI_exit (status=<optimized out>) at exit.c:104
#11 0x75cceb8c in bcm_host_init () from /opt/vc/lib/libbcm_host.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
############# END STACK TRACE ###############
################# LOG FILE ##################
19:00:46.486 T:1946522272 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:00:46.487 T:1946522272 NOTICE: -----------------------------------------------------------------------
19:00:46.487 T:1946522272 NOTICE: Starting Kodi (17.4 Git:20170913-5cc491e-dirty). Platform: Linux ARM 32-bit
19:00:46.487 T:1946522272 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
19:00:46.487 T:1946522272 NOTICE: Kodi compiled Sep 13 2017 by GCC 4.9.2 for Linux ARM 32-bit version 3.16.7 (200711)
19:00:46.487 T:1946522272 NOTICE: Running on Raspbian GNU/Linux 8 (jessie), kernel: Linux ARM 32-bit version 4.9.41-v7+
19:00:46.494 T:1946522272 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
19:00:46.494 T:1946522272 NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
19:00:46.494 T:1946522272 NOTICE: ARM Features: Neon enabled
19:00:46.494 T:1946522272 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
19:00:46.494 T:1946522272 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
19:00:46.494 T:1946522272 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
19:00:46.494 T:1946522272 NOTICE: special://masterprofile/ is mapped to: /home/kodi/.kodi/userdata
19:00:46.494 T:1946522272 NOTICE: special://envhome/ is mapped to: /home/kodi
19:00:46.495 T:1946522272 NOTICE: special://home/ is mapped to: /home/kodi/.kodi
19:00:46.495 T:1946522272 NOTICE: special://temp/ is mapped to: /home/kodi/.kodi/temp
19:00:46.495 T:1946522272 NOTICE: special://logpath/ is mapped to: /home/kodi/.kodi/temp
19:00:46.495 T:1946522272 NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi_v7.bin
19:00:46.495 T:1946522272 NOTICE: Local hostname: volumio
19:00:46.495 T:1946522272 NOTICE: Log File is located: /home/kodi/.kodi/temp//kodi.log
19:00:46.495 T:1946522272 NOTICE: -----------------------------------------------------------------------
19:00:46.581 T:1946522272 ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
19:00:46.708 T:1946522272 NOTICE: load settings...
19:00:46.982 T:1946522272 NOTICE: Found 2 Lists of Devices
19:00:46.982 T:1946522272 NOTICE: Enumerated PI devices:
19:00:46.982 T:1946522272 NOTICE: Device 1
19:00:46.983 T:1946522272 NOTICE: m_deviceName : HDMI
19:00:46.983 T:1946522272 NOTICE: m_displayName : HDMI
19:00:46.983 T:1946522272 NOTICE: m_displayNameExtra:
19:00:46.983 T:1946522272 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
19:00:46.983 T:1946522272 NOTICE: m_channels : FL,FR
19:00:46.983 T:1946522272 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
19:00:46.984 T:1946522272 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_RAW
19:00:46.984 T:1946522272 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512
19:00:46.984 T:1946522272 NOTICE: Device 2
19:00:46.984 T:1946522272 NOTICE: m_deviceName : Analogue
19:00:46.984 T:1946522272 NOTICE: m_displayName : Analogue
19:00:46.984 T:1946522272 NOTICE: m_displayNameExtra:
19:00:46.984 T:1946522272 NOTICE: m_deviceType : AE_DEVTYPE_PCM
19:00:46.984 T:1946522272 NOTICE: m_channels : FL,FR
19:00:46.984 T:1946522272 NOTICE: m_sampleRates : 48000
19:00:46.984 T:1946522272 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
19:00:46.984 T:1946522272 NOTICE: m_streamTypes : No passthrough capabilities
19:00:46.984 T:1946522272 NOTICE: Device 3
19:00:46.984 T:1946522272 NOTICE: m_deviceName : Both
19:00:46.984 T:1946522272 NOTICE: m_displayName : HDMI and Analogue
19:00:46.984 T:1946522272 NOTICE: m_displayNameExtra:
19:00:46.985 T:1946522272 NOTICE: m_deviceType : AE_DEVTYPE_PCM
19:00:46.985 T:1946522272 NOTICE: m_channels : FL,FR
19:00:46.985 T:1946522272 NOTICE: m_sampleRates : 48000
19:00:46.985 T:1946522272 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
19:00:46.985 T:1946522272 NOTICE: m_streamTypes : No passthrough capabilities
19:00:46.985 T:1946522272 NOTICE: Enumerated ALSA devices:
19:00:46.985 T:1946522272 NOTICE: Device 1
19:00:46.985 T:1946522272 NOTICE: m_deviceName : @
19:00:46.985 T:1946522272 NOTICE: m_displayName : Default (bcm2835 ALSA bcm2835 ALSA)
19:00:46.985 T:1946522272 NOTICE: m_displayNameExtra:
19:00:46.985 T:1946522272 NOTICE: m_deviceType : AE_DEVTYPE_PCM
19:00:46.985 T:1946522272 NOTICE: m_channels : FL,FR
19:00:46.985 T:1946522272 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000
19:00:46.985 T:1946522272 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
19:00:46.985 T:1946522272 NOTICE: m_streamTypes : No passthrough capabilities
19:00:47.032 T:1946522272 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
19:00:47.032 T:1946522272 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
<?xml version="1.0" encoding="UTF-8" ?>
<advancedsettings>
<fanartres>720</fanartres>
<imageres>540</imageres>
<video>
<busydialogdelayms>750</busydialogdelayms>
</video>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<cache>
<memorysize>31457280</memorysize>
</cache>
</advancedsettings>
19:00:47.035 T:1946522272 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:00:47.035 T:1946522272 NOTICE: Default Video Player: VideoPlayer
19:00:47.035 T:1946522272 NOTICE: Default Audio Player: paplayer
19:00:47.035 T:1946522272 NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:00:47.036 T:1946522272 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
19:00:47.036 T:1946522272 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
19:00:47.039 T:1946522272 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:00:47.040 T:1946522272 NOTICE: Loaded playercorefactory configuration
19:00:47.041 T:1946522272 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:00:47.041 T:1946522272 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:00:47.417 T:1946522272 NOTICE: ADDONS: Using repository repository.xbmc.org
############### END LOG FILE ################
############ END Kodi CRASH LOG #############
In other words, mapping the EGL libraries and chowning the video devices should solve your problem.
Note: I too get the vcsm error, so don’t worry about that one!
Once rebooted I get the following journal entries when I start the plugin (note that I had stopped the plugin before rebooting).
Sep 18 19:06:29 volumio volumio[937]: info: KODI started
Sep 18 19:06:29 volumio volumio[937]: info: Done.
Sep 18 19:06:29 volumio kodi-standalone[1866]: /usr/bin/kodi: 46: /usr/bin/kodi: tvservice: not found
Sep 18 19:06:32 volumio udisks-glue[633]: Device file /dev/mmcblk0p3 mounted at /media/volumio_data