DWZTrian
Posts: 5
Joined: Sun Nov 05, 2017 9:54 am

Problem with startup Kodi on Raspbian stretch

Sun Nov 05, 2017 3:19 pm

Hi,
I have problem with startup kodi, but i don't know how this problem solve. I am a newbie and I have no experience with the raspbian system. When I try to run the kodi I will flash icons on the desktop. And a crash file is created in the / home folder.
I tried to run the kodi as an root in terminal. I managed to get into the black screen, without the chance to get back to the desktop. I had to pull the adapter out of the socket.
Thank you in advance for any advice.

This is crashlog:

Code: Select all

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Ne lis  5 15:59:59 CET 2017
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017
 Release: Raspbian GNU/Linux 9 (stretch)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/Trian/core (2017-11-05 15:59:58.391352642 +0100)
        =========================================
[New LWP 873]
[New LWP 868]
[New LWP 869]
[New LWP 871]
[New LWP 870]
[New LWP 872]
[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'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
[Current thread is 1 (Thread 0x6f7ff300 (LWP 873))]

Thread 6 (Thread 0x701ff300 (LWP 872)):
#0  0x76ed2ce8 in __pthread_cond_timedwait (cond=0x6f800648, mutex=0x6f800680, abstime=0x701fda10) at pthread_cond_timedwait.c:198
#1  0x00463ca4 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2  0x00464108 in CEvent::WaitMSec(unsigned int) ()
#3  0x00641048 in Actor::Protocol::SendOutMessageSync(int, Actor::Message**, int, void*, int) ()
#4  0x00a83e48 in ActiveAE::CActiveAE::InitSink() ()
#5  0x00a86eb0 in ActiveAE::CActiveAE::Configure(AEAudioFormat*) ()
#6  0x00a89018 in ActiveAE::CActiveAE::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#7  0x00a89c5c in ActiveAE::CActiveAE::Process() ()
#8  0x0069f6b4 in CThread::Action() ()
#9  0x0069fef0 in CThread::staticThread(void*) ()
#10 0x76ecbfc4 in start_thread (arg=0x701ff300) at pthread_create.c:335
#11 0x7537bc68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x714ff300 (LWP 870)):
#0  0x75372d50 in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x0050efe8 in CFDEventMonitor::Process() ()
#2  0x0069f6b4 in CThread::Action() ()
#3  0x0069fef0 in CThread::staticThread(void*) ()
#4  0x76ecbfc4 in start_thread (arg=0x714ff300) at pthread_create.c:335
#5  0x7537bc68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x70aff300 (LWP 871)):
#0  0x76ed2ce8 in __pthread_cond_timedwait (cond=0x1602308, mutex=0x1602340, abstime=0x70afec58) at pthread_cond_timedwait.c:198
#1  0x00659e4c in CJobManager::GetNextJob(CJobWorker const*) ()
#2  0x0065a820 in CJobWorker::Process() ()
#3  0x0069f6b4 in CThread::Action() ()
#4  0x0069fef0 in CThread::staticThread(void*) ()
#5  0x76ecbfc4 in start_thread (arg=0x70aff300) at pthread_create.c:335
#6  0x7537bc68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x71e6f300 (LWP 869)):
#0  0x76ed294c in __pthread_cond_wait (cond=0x337fea8, mutex=0x337fee0) at pthread_cond_wait.c:186
#1  0x009f12a0 in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2  0x0069f6b4 in CThread::Action() ()
#3  0x0069fef0 in CThread::staticThread(void*) ()
#4  0x76ecbfc4 in start_thread (arg=0x71e6f300) at pthread_create.c:335
#5  0x7537bc68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x71e70000 (LWP 868)):
#0  0x76ed2ce8 in __pthread_cond_timedwait (cond=0x33ea920, mutex=0x33ea958, abstime=0x7ec69d60) at pthread_cond_timedwait.c:198
#1  0x00463ca4 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2  0x00464108 in CEvent::WaitMSec(unsigned int) ()
#3  0x00641048 in Actor::Protocol::SendOutMessageSync(int, Actor::Message**, int, void*, int) ()
#4  0x00a852a8 in ActiveAE::CActiveAE::Initialize() ()
#5  0x00a700e4 in CAEFactory::StartEngine() ()
#6  0x007ed84c in CApplication::Create() ()
#7  0x006b79c8 in XBMC_Run ()
#8  0x003d37ec in main ()

Thread 1 (Thread 0x6f7ff300 (LWP 873)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x752d7824 in __GI_abort () at abort.c:89
#2  0x75310f78 in __libc_message (do_abort=do_abort@entry=2, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:175
#3  0x75317ad4 in malloc_printerr (action=<optimized out>, str=0x753ca0f0 "free(): invalid pointer", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5049
#4  0x75318514 in _int_free (av=0x753e6794 <main_arena>, p=0x3431648, have_lock=<optimized out>) at malloc.c:3905
#5  0x00460660 in void std::_Destroy_aux<false>::__destroy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) ()
#6  0x00675e88 in RssSet::~RssSet() ()
#7  0x00675ed4 in std::_Rb_tree<int, std::pair<int const, RssSet>, std::_Select1st<std::pair<int const, RssSet> >, std::less<int>, std::allocator<std::pair<int const, RssSet> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, RssSet> >*) ()
#8  0x006757a8 in CRssManager::Clear() ()
#9  0x008627a0 in CSettingsManager::OnSettingsUnloaded() ()
#10 0x00863104 in CSettingsManager::Unload() ()
#11 0x008648cc in CSettingsManager::Clear() ()
#12 0x0088c10c in CSettings::Uninitialize() ()
#13 0x0088c44c in CSettings::~CSettings() ()
#14 0x752d8dd4 in __run_exit_handlers (status=-1, listp=0x753e64ac <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#15 0x752d8e34 in __GI_exit (status=<optimized out>) at exit.c:105
#16 0x75813b8c 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 ##################

15:59:56.324 T:1910964224  NOTICE: special://profile/ is mapped to: special://masterprofile/
15:59:56.324 T:1910964224  NOTICE: -----------------------------------------------------------------------
15:59:56.324 T:1910964224  NOTICE: Starting Kodi (17.5 Git:20171024-42caaae). Platform: Linux ARM 32-bit
15:59:56.324 T:1910964224  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
15:59:56.324 T:1910964224  NOTICE: Kodi compiled Oct 24 2017 by GCC 6.3.0 for Linux ARM 32-bit version 3.18.11 (201227)
15:59:56.325 T:1910964224  NOTICE: Running on Raspbian GNU/Linux 9 (stretch), kernel: Linux ARM 32-bit version 4.9.59-v7+
15:59:56.331 T:1910964224  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
15:59:56.331 T:1910964224  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
15:59:56.331 T:1910964224  NOTICE: ARM Features: Neon enabled
15:59:56.331 T:1910964224  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
15:59:56.331 T:1910964224  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
15:59:56.332 T:1910964224  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
15:59:56.332 T:1910964224  NOTICE: special://masterprofile/ is mapped to: /home/Trian/.kodi/userdata
15:59:56.332 T:1910964224  NOTICE: special://envhome/ is mapped to: /home/Trian
15:59:56.332 T:1910964224  NOTICE: special://home/ is mapped to: /home/Trian/.kodi
15:59:56.332 T:1910964224  NOTICE: special://temp/ is mapped to: /home/Trian/.kodi/temp
15:59:56.332 T:1910964224  NOTICE: special://logpath/ is mapped to: /home/Trian/.kodi/temp
15:59:56.332 T:1910964224  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi_v7.bin
15:59:56.332 T:1910964224  NOTICE: Local hostname: RaspberryPI
15:59:56.332 T:1910964224  NOTICE: Log File is located: /home/Trian/.kodi/temp//kodi.log
15:59:56.332 T:1910964224  NOTICE: -----------------------------------------------------------------------
15:59:56.411 T:1910964224   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
15:59:56.466 T:1910964224  NOTICE: load settings...
15:59:56.634 T:1910964224  NOTICE: Found 2 Lists of Devices
15:59:56.634 T:1910964224  NOTICE: Enumerated PI devices:
15:59:56.634 T:1910964224  NOTICE:     Device 1
15:59:56.634 T:1910964224  NOTICE:         m_deviceName      : HDMI
15:59:56.634 T:1910964224  NOTICE:         m_displayName     : HDMI
15:59:56.634 T:1910964224  NOTICE:         m_displayNameExtra:
15:59:56.634 T:1910964224  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
15:59:56.634 T:1910964224  NOTICE:         m_channels        : FL,FR
15:59:56.634 T:1910964224  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
15:59:56.634 T:1910964224  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
15:59:56.635 T:1910964224  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
15:59:56.635 T:1910964224  NOTICE:     Device 2
15:59:56.635 T:1910964224  NOTICE:         m_deviceName      : Analogue
15:59:56.635 T:1910964224  NOTICE:         m_displayName     : Analogue
15:59:56.635 T:1910964224  NOTICE:         m_displayNameExtra:
15:59:56.635 T:1910964224  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
15:59:56.635 T:1910964224  NOTICE:         m_channels        : FL,FR
15:59:56.635 T:1910964224  NOTICE:         m_sampleRates     : 48000
15:59:56.635 T:1910964224  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
15:59:56.635 T:1910964224  NOTICE:         m_streamTypes     : No passthrough capabilities
15:59:56.635 T:1910964224  NOTICE:     Device 3
15:59:56.635 T:1910964224  NOTICE:         m_deviceName      : Both
15:59:56.635 T:1910964224  NOTICE:         m_displayName     : HDMI and Analogue
15:59:56.635 T:1910964224  NOTICE:         m_displayNameExtra:
15:59:56.635 T:1910964224  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
15:59:56.635 T:1910964224  NOTICE:         m_channels        : FL,FR
15:59:56.635 T:1910964224  NOTICE:         m_sampleRates     : 48000
15:59:56.635 T:1910964224  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
15:59:56.635 T:1910964224  NOTICE:         m_streamTypes     : No passthrough capabilities
15:59:56.635 T:1910964224  NOTICE: Enumerated ALSA devices:
15:59:56.635 T:1910964224  NOTICE:     Device 1
15:59:56.635 T:1910964224  NOTICE:         m_deviceName      : @
15:59:56.635 T:1910964224  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
15:59:56.635 T:1910964224  NOTICE:         m_displayNameExtra:
15:59:56.635 T:1910964224  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
15:59:56.635 T:1910964224  NOTICE:         m_channels        : FL,FR
15:59:56.635 T:1910964224  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000
15:59:56.635 T:1910964224  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
15:59:56.635 T:1910964224  NOTICE:         m_streamTypes     : No passthrough capabilities
15:59:56.635 T:1910964224  NOTICE:     Device 2
15:59:56.635 T:1910964224  NOTICE:         m_deviceName      : @:CARD=vc4hdmi,DEV=0
15:59:56.635 T:1910964224  NOTICE:         m_displayName     : vc4-hdmi
15:59:56.635 T:1910964224  NOTICE:         m_displayNameExtra: Analog
15:59:56.635 T:1910964224  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
15:59:56.636 T:1910964224  NOTICE:         m_channels        : FL,FR
15:59:56.636 T:1910964224  NOTICE:         m_sampleRates     : 32000,44100,48000
15:59:56.636 T:1910964224  NOTICE:         m_dataFormats     :
15:59:56.636 T:1910964224  NOTICE:         m_streamTypes     : No passthrough capabilities
15:59:56.636 T:1910964224  NOTICE:     Device 3
15:59:56.636 T:1910964224  NOTICE:         m_deviceName      : iec958:CARD=vc4hdmi,DEV=0
15:59:56.636 T:1910964224  NOTICE:         m_displayName     : vc4-hdmi
15:59:56.636 T:1910964224  NOTICE:         m_displayNameExtra: S/PDIF
15:59:56.636 T:1910964224  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
15:59:56.636 T:1910964224  NOTICE:         m_channels        : FL,FR
15:59:56.636 T:1910964224  NOTICE:         m_sampleRates     : 32000,44100,48000
15:59:56.636 T:1910964224  NOTICE:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
15:59:56.636 T:1910964224  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
15:59:56.652 T:1910964224  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
15:59:56.652 T:1910964224  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>
15:59:56.654 T:1910964224  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
15:59:56.654 T:1910964224  NOTICE: Default Video Player: VideoPlayer
15:59:56.654 T:1910964224  NOTICE: Default Audio Player: paplayer
15:59:56.654 T:1910964224  NOTICE: Disabled debug logging due to GUI setting. Level 0.
15:59:56.654 T:1910964224  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
15:59:56.654 T:1910964224  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
15:59:56.655 T:1910964224  NOTICE: Loaded playercorefactory configuration
15:59:56.655 T:1910964224  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
15:59:56.656 T:1910964224  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
15:59:56.741 T:1910964224  NOTICE: Running database version Addons27
15:59:58.295 T:1910964224  NOTICE: ADDONS: Using repository repository.xbmc.org


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
Last edited by DWZTrian on Mon Nov 06, 2017 3:54 pm, edited 1 time in total.

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: Problem with startup Kodi on Raspbian stretch

Mon Nov 06, 2017 2:52 am

-a- pls put the LOG into a CODE tag

-b- how you start?
RASPBIAN STRETCH
Desktop
[menu][sound & video][kodi]

-c- for autostart see here

Rascas
Posts: 686
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: Problem with startup Kodi on Raspbian stretch

Thu Nov 09, 2017 9:02 pm

You seem to be using the vc4 open source video drivers, it won't work with Kodi. Select the default video driver "Legacy video driver".
More info here:
viewtopic.php?t=192499

DWZTrian
Posts: 5
Joined: Sun Nov 05, 2017 9:54 am

Re: Problem with startup Kodi on Raspbian stretch

Wed Nov 15, 2017 10:19 am

Now I'm going to start KODI. But I see only the black screen with the mouse. I tried installing all the packages, but without success. And command "sudo systemctl enable kodi.service" not working... I really do not know where the problem might be.

photo error cmd: Image

photo black screen: Image

here is new log file:

Code: Select all

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: St lis 15 10:54:18 CET 2017
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017
 Release: Raspbian GNU/Linux 9 (stretch)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/MarekTkac/core (2017-11-15 10:54:10.877226814 +0100)
        =========================================
[New LWP 1277]
[New LWP 1284]
[New LWP 1280]
[New LWP 1279]
[New LWP 1286]
[New LWP 1281]
[New LWP 1278]
[New LWP 1285]
[New LWP 1282]
[New LWP 1288]
[New LWP 1287]
[New LWP 1283]
[New LWP 1289]
[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'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00675ebc in std::_Rb_tree<int, std::pair<int const, RssSet>, std::_Select1st<std::pair<int const, RssSet> >, std::less<int>, std::allocator<std::pair<int const, RssSet> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, RssSet> >*) ()
[Current thread is 1 (Thread 0x71eb6000 (LWP 1277))]

Thread 13 (Thread 0x6bdff300 (LWP 1289)):
#0  0x76f1894c in __pthread_cond_wait (cond=0x15fef60 <g_OMXImage+520>, mutex=0x15fef40 <g_OMXImage+488>) at pthread_cond_wait.c:186
#1  0x00523414 in COMXImage::Process() ()
#2  0x0069f6b4 in CThread::Action() ()
#3  0x0069fef0 in CThread::staticThread(void*) ()
#4  0x76f11fc4 in start_thread (arg=0x6bdff300) at pthread_create.c:335
#5  0x753c1c68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0x6efff300 (LWP 1283)):
#0  0x753ba8ac in ioctl () at ../sysdeps/unix/syscall-template.S:84
#1  0x75842010 in completion_thread () from /opt/vc/lib/libvchiq_arm.so
#2  0x75828cc4 in vcos_thread_entry (arg=0x75855318 <vchiq_instance+16>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#3  0x76f11fc4 in start_thread (arg=0x6efff300) at pthread_create.c:335
Backtrace stopped: Cannot access memory at address 0xc

Thread 11 (Thread 0x6cdff300 (LWP 1287)):
#0  0x76f1894c in __pthread_cond_wait (cond=cond@entry=0x6f902828, mutex=mutex@entry=0x6f90280c) at pthread_cond_wait.c:186
#1  0x75828da8 in _timer_thread (arg=0x6f902808) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:722
#2  0x76f11fc4 in start_thread (arg=0x6cdff300) at pthread_create.c:335
Backtrace stopped: Cannot access memory at address 0x58

Thread 10 (Thread 0x6c5ff300 (LWP 1288)):
#0  0x76f1b014 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x6f9029bc) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x6f9029bc, abstime=0x0) at sem_waitcommon.c:115
#2  0x76f1b158 in __new_sem_wait_slow (sem=0x6f9029bc, abstime=0x0) at sem_waitcommon.c:282
#3  0x75844b60 in vchiu_queue_pop () from /opt/vc/lib/libvchiq_arm.so
#4  0x70c84d70 in ilcs_task () from /opt/vc/lib/libopenmaxil.so
#5  0x75828cc4 in vcos_thread_entry (arg=0x6f902878) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#6  0x76f11fc4 in start_thread (arg=0x6c5ff300) at pthread_create.c:335
Backtrace stopped: Cannot access memory at address 0xc

Thread 9 (Thread 0x6f7ff300 (LWP 1282)):
#0  0x7538d050 in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x753bbb0c in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
#2  0x00a9f920 in CAESinkPi::AddPackets(unsigned char**, unsigned int, unsigned int) ()
#3  0x00a8e688 in ActiveAE::CActiveAESink::OutputSamples(ActiveAE::CSampleBuffer*) ()
#4  0x00a8efe8 in ActiveAE::CActiveAESink::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#5  0x00a8f138 in ActiveAE::CActiveAESink::Process() ()
#6  0x0069f6b4 in CThread::Action() ()
#7  0x0069fef0 in CThread::staticThread(void*) ()
#8  0x76f11fc4 in start_thread (arg=0x6f7ff300) at pthread_create.c:335
#9  0x753c1c68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x6ddff300 (LWP 1285)):
#0  0x76f1b014 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x7587a864 <tvservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x7587a864 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0x76f1b158 in __new_sem_wait_slow (sem=0x7587a864 <tvservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0x75861084 in tvservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x75828cc4 in vcos_thread_entry (arg=0x7587a878 <tvservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76f11fc4 in start_thread (arg=0x6ddff300) at pthread_create.c:335
#6  0x753c1c68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x71eb5300 (LWP 1278)):
#0  0x76f1894c in __pthread_cond_wait (cond=0x1e2afb0, mutex=0x1e2afe8) at pthread_cond_wait.c:186
#1  0x009f12a0 in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2  0x0069f6b4 in CThread::Action() ()
#3  0x0069fef0 in CThread::staticThread(void*) ()
#4  0x76f11fc4 in start_thread (arg=0x71eb5300) at pthread_create.c:335
Backtrace stopped: Cannot access memory at address 0xc

Thread 6 (Thread 0x701ff300 (LWP 1281)):
#0  0x76f18ce8 in __pthread_cond_timedwait (cond=0x1e32420, mutex=0x1e32458, abstime=0x701fec20) at pthread_cond_timedwait.c:198
#1  0x00463ca4 in XbmcThreads::ConditionVariable::wait(CCriticalSection&, unsigned long) ()
#2  0x00464108 in CEvent::WaitMSec(unsigned int) ()
#3  0x00a89c88 in ActiveAE::CActiveAE::Process() ()
#4  0x0069f6b4 in CThread::Action() ()
#5  0x0069fef0 in CThread::staticThread(void*) ()
#6  0x76f11fc4 in start_thread (arg=0x701ff300) at pthread_create.c:335
#7  0x753c1c68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x6d5ff300 (LWP 1286)):
#0  0x76f1b014 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x7587b5ec <cecservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x7587b5ec <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0x76f1b158 in __new_sem_wait_slow (sem=0x7587b5ec <cecservice_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0x75861c44 in cecservice_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x75828cc4 in vcos_thread_entry (arg=0x7587b600 <cecservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76f11fc4 in start_thread (arg=0x6d5ff300) at pthread_create.c:335
#6  0x753c1c68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x714ff300 (LWP 1279)):
#0  0x753b8d50 in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x0050efe8 in CFDEventMonitor::Process() ()
#2  0x0069f6b4 in CThread::Action() ()
#3  0x0069fef0 in CThread::staticThread(void*) ()
#4  0x76f11fc4 in start_thread (arg=0x714ff300) at pthread_create.c:335
Backtrace stopped: Cannot access memory at address 0x2e

Thread 3 (Thread 0x70aff300 (LWP 1280)):
#0  0x76f18ce8 in __pthread_cond_timedwait (cond=0x1602308, mutex=0x1602340, abstime=0x70afec58) at pthread_cond_timedwait.c:198
#1  0x00659e4c in CJobManager::GetNextJob(CJobWorker const*) ()
#2  0x0065a820 in CJobWorker::Process() ()
#3  0x0069f6b4 in CThread::Action() ()
#4  0x0069fef0 in CThread::staticThread(void*) ()
#5  0x76f11fc4 in start_thread (arg=0x70aff300) at pthread_create.c:335
Backtrace stopped: Cannot access memory at address 0x6

Thread 2 (Thread 0x6e5ff300 (LWP 1284)):
#0  0x76f1b014 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x7587b6e8 <dispmanx_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x7587b6e8 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:115
#2  0x76f1b158 in __new_sem_wait_slow (sem=0x7587b6e8 <dispmanx_notify_available_event+24>, abstime=0x0) at sem_waitcommon.c:282
#3  0x75865150 in dispmanx_notify_func () from /opt/vc/lib/libbcm_host.so
#4  0x75828cc4 in vcos_thread_entry (arg=0x7587c428 <dispmanx_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76f11fc4 in start_thread (arg=0x6e5ff300) at pthread_create.c:335
#6  0x753c1c68 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:76 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x71eb6000 (LWP 1277)):
#0  0x00675ebc in std::_Rb_tree<int, std::pair<int const, RssSet>, std::_Select1st<std::pair<int const, RssSet> >, std::less<int>, std::allocator<std::pair<int const, RssSet> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, RssSet> >*) ()
#1  0x00675ec8 in std::_Rb_tree<int, std::pair<int const, RssSet>, std::_Select1st<std::pair<int const, RssSet> >, std::less<int>, std::allocator<std::pair<int const, RssSet> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, RssSet> >*) ()
#2  0x006757a8 in CRssManager::Clear() ()
#3  0x008627a0 in CSettingsManager::OnSettingsUnloaded() ()
#4  0x00863104 in CSettingsManager::Unload() ()
#5  0x008648cc in CSettingsManager::Clear() ()
#6  0x0088c10c in CSettings::Uninitialize() ()
#7  0x0088c44c in CSettings::~CSettings() ()
#8  0x7531edd4 in __run_exit_handlers (status=1, listp=0x7542c4ac <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#9  0x7531ee34 in __GI_exit (status=<optimized out>) at exit.c:105
#10 0x759154b8 in vc_vchi_khronos_init () from /opt/vc/lib/libbrcmEGL.so
#11 0x759165d4 in platform_tls_get () from /opt/vc/lib/libbrcmEGL.so
#12 0x7590c960 in eglGetDisplay () from /opt/vc/lib/libbrcmEGL.so
#13 0x004f5d3c in CEGLWrapper::InitDisplay(void**) ()
#14 0x004f7478 in CWinSystemEGL::InitWindowSystem() ()
#15 0x007ec798 in CApplication::CreateGUI() ()
#16 0x006b7a24 in XBMC_Run ()
#17 0x003d37ec in main ()
############# END STACK TRACE ###############

################# LOG FILE ##################

10:54:09.683 T:1911250944  NOTICE: special://profile/ is mapped to: special://masterprofile/
10:54:09.684 T:1911250944  NOTICE: -----------------------------------------------------------------------
10:54:09.684 T:1911250944  NOTICE: Starting Kodi (17.5 Git:20171024-42caaae). Platform: Linux ARM 32-bit
10:54:09.684 T:1911250944  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
10:54:09.684 T:1911250944  NOTICE: Kodi compiled Oct 24 2017 by GCC 6.3.0 for Linux ARM 32-bit version 3.18.11 (201227)
10:54:09.684 T:1911250944  NOTICE: Running on Raspbian GNU/Linux 9 (stretch), kernel: Linux ARM 32-bit version 4.9.59-v7+
10:54:09.691 T:1911250944  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
10:54:09.691 T:1911250944  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
10:54:09.691 T:1911250944  NOTICE: ARM Features: Neon enabled
10:54:09.691 T:1911250944  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
10:54:09.691 T:1911250944  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
10:54:09.691 T:1911250944  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
10:54:09.691 T:1911250944  NOTICE: special://masterprofile/ is mapped to: /home/MarekTkac/.kodi/userdata
10:54:09.691 T:1911250944  NOTICE: special://envhome/ is mapped to: /home/MarekTkac
10:54:09.691 T:1911250944  NOTICE: special://home/ is mapped to: /home/MarekTkac/.kodi
10:54:09.691 T:1911250944  NOTICE: special://temp/ is mapped to: /home/MarekTkac/.kodi/temp
10:54:09.691 T:1911250944  NOTICE: special://logpath/ is mapped to: /home/MarekTkac/.kodi/temp
10:54:09.691 T:1911250944  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi_v7.bin
10:54:09.691 T:1911250944  NOTICE: Local hostname: RaspberryPI
10:54:09.691 T:1911250944  NOTICE: Log File is located: /home/MarekTkac/.kodi/temp//kodi.log
10:54:09.691 T:1911250944  NOTICE: -----------------------------------------------------------------------
10:54:09.771 T:1911250944   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
10:54:09.987 T:1911250944  NOTICE: load settings...
10:54:10.142 T:1911250944  NOTICE: Found 2 Lists of Devices
10:54:10.142 T:1911250944  NOTICE: Enumerated PI devices:
10:54:10.142 T:1911250944  NOTICE:     Device 1
10:54:10.143 T:1911250944  NOTICE:         m_deviceName      : HDMI
10:54:10.143 T:1911250944  NOTICE:         m_displayName     : HDMI
10:54:10.143 T:1911250944  NOTICE:         m_displayNameExtra:
10:54:10.143 T:1911250944  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
10:54:10.143 T:1911250944  NOTICE:         m_channels        : FL,FR
10:54:10.143 T:1911250944  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
10:54:10.143 T:1911250944  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
10:54:10.143 T:1911250944  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
10:54:10.143 T:1911250944  NOTICE:     Device 2
10:54:10.143 T:1911250944  NOTICE:         m_deviceName      : Analogue
10:54:10.143 T:1911250944  NOTICE:         m_displayName     : Analogue
10:54:10.143 T:1911250944  NOTICE:         m_displayNameExtra:
10:54:10.143 T:1911250944  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
10:54:10.143 T:1911250944  NOTICE:         m_channels        : FL,FR
10:54:10.143 T:1911250944  NOTICE:         m_sampleRates     : 48000
10:54:10.143 T:1911250944  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
10:54:10.143 T:1911250944  NOTICE:         m_streamTypes     : No passthrough capabilities
10:54:10.143 T:1911250944  NOTICE:     Device 3
10:54:10.143 T:1911250944  NOTICE:         m_deviceName      : Both
10:54:10.143 T:1911250944  NOTICE:         m_displayName     : HDMI and Analogue
10:54:10.143 T:1911250944  NOTICE:         m_displayNameExtra:
10:54:10.143 T:1911250944  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
10:54:10.143 T:1911250944  NOTICE:         m_channels        : FL,FR
10:54:10.143 T:1911250944  NOTICE:         m_sampleRates     : 48000
10:54:10.143 T:1911250944  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
10:54:10.144 T:1911250944  NOTICE:         m_streamTypes     : No passthrough capabilities
10:54:10.144 T:1911250944  NOTICE: Enumerated ALSA devices:
10:54:10.144 T:1911250944  NOTICE:     Device 1
10:54:10.144 T:1911250944  NOTICE:         m_deviceName      : @
10:54:10.144 T:1911250944  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
10:54:10.144 T:1911250944  NOTICE:         m_displayNameExtra:
10:54:10.144 T:1911250944  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
10:54:10.144 T:1911250944  NOTICE:         m_channels        : FL,FR
10:54:10.144 T:1911250944  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000
10:54:10.144 T:1911250944  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
10:54:10.144 T:1911250944  NOTICE:         m_streamTypes     : No passthrough capabilities
10:54:10.144 T:1911250944  NOTICE:     Device 2
10:54:10.144 T:1911250944  NOTICE:         m_deviceName      : @:CARD=vc4hdmi,DEV=0
10:54:10.144 T:1911250944  NOTICE:         m_displayName     : vc4-hdmi
10:54:10.144 T:1911250944  NOTICE:         m_displayNameExtra: Analog
10:54:10.144 T:1911250944  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
10:54:10.144 T:1911250944  NOTICE:         m_channels        : FL,FR
10:54:10.144 T:1911250944  NOTICE:         m_sampleRates     : 32000,44100,48000
10:54:10.144 T:1911250944  NOTICE:         m_dataFormats     :
10:54:10.144 T:1911250944  NOTICE:         m_streamTypes     : No passthrough capabilities
10:54:10.144 T:1911250944  NOTICE:     Device 3
10:54:10.144 T:1911250944  NOTICE:         m_deviceName      : iec958:CARD=vc4hdmi,DEV=0
10:54:10.144 T:1911250944  NOTICE:         m_displayName     : vc4-hdmi
10:54:10.144 T:1911250944  NOTICE:         m_displayNameExtra: S/PDIF
10:54:10.144 T:1911250944  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
10:54:10.144 T:1911250944  NOTICE:         m_channels        : FL,FR
10:54:10.144 T:1911250944  NOTICE:         m_sampleRates     : 32000,44100,48000
10:54:10.144 T:1911250944  NOTICE:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
10:54:10.144 T:1911250944  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
10:54:10.161 T:1911250944  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
10:54:10.161 T:1911250944  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>
10:54:10.162 T:1911250944  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
10:54:10.162 T:1911250944  NOTICE: Default Video Player: VideoPlayer
10:54:10.162 T:1911250944  NOTICE: Default Audio Player: paplayer
10:54:10.162 T:1911250944  NOTICE: Disabled debug logging due to GUI setting. Level 0.
10:54:10.162 T:1911250944  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
10:54:10.163 T:1911250944  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
10:54:10.164 T:1911250944  NOTICE: Loaded playercorefactory configuration
10:54:10.164 T:1911250944  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
10:54:10.164 T:1911250944  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
10:54:10.225 T:1911250944  NOTICE: Running database version Addons27
10:54:10.685 T:1911250944  NOTICE: ADDONS: Using repository repository.xbmc.org
10:54:10.818 T:1911250944  NOTICE: Raspberry PI firmware version: Oct 24 2017 17:13:32 
                                            Copyright (c) 2012 Broadcom
                                            version a3d7660e6749e75e2c4ce4d377846abd3b3be283 (clean) (release)
10:54:10.818 T:1911250944  NOTICE: ARM mem: 864MB GPU mem: 160MB MPG2:0 WVC1:0
10:54:10.818 T:1911250944  NOTICE: cache.memorysize: 30MB libass.cache: 0MB
10:54:10.819 T:1911250944  NOTICE: Config:
                                            arm_freq=1200
                                            audio_pwm_mode=1
                                            config_hdmi_boost=5
                                            core_freq=400
                                            desired_osc_freq=0x36ee80
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=300
                                            hdmi_channel_map=8
                                            hdmi_force_cec_address=65535
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            mask_gpu_interrupt0=1024
                                            mask_gpu_interrupt1=26370
                                            over_voltage_avs=0x10c8e
                                            over_voltage_avs_boost=0x10c8e
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            sdram_freq=450
                                            temp_limit=85
10:54:10.819 T:1911250944  NOTICE: Config:
                                            device_tree=-
10:54:10.819 T:1911250944  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi


############### END LOG FILE ################

############ END Kodi CRASH LOG #############

Rascas
Posts: 686
Joined: Tue Mar 11, 2014 6:18 pm
Location: Porto, Portugal
Contact: Website

Re: Problem with startup Kodi on Raspbian stretch

Wed Nov 15, 2017 1:34 pm

It doesnt work because, accordingly to the log, you are still using the open source video drivers. Read my last post again.
And the systemd command does not work because Kodi packages do not provide a systemd service, you have to create it yourself. You have the instructions on the link that I gave you on the last post.

DWZTrian
Posts: 5
Joined: Sun Nov 05, 2017 9:54 am

Re: Problem with startup Kodi on Raspbian stretch

Thu Nov 16, 2017 8:38 am

Okay, KODI is already working. You're right, just switch the raspi-config value to "Original non-GL desktop driver". Thank you for your advice and fix the problem. :)

Image

Return to “Beginners”