Dear Archers,
I recently tried to install archlinux for armv8 on my raspberry pi. I also tried to install kodi then, which didn't work because of linking to the wrong libraries. Fortunately the user graysky already provided a patch for kodi-rbp, which I was able to modify for kodi-c2:
https://gist.github.com/bschnitz/046535 ... 90d9eba94f
Now however I get another error when starting /usr/bin/kodi:
$this->bbcode_second_pass_code('', 'ERROR: Unable to create GUI. Exiting
double free or corruption (out)
/usr/bin/kodi: line 175: 3176 Aborted (core dumped) "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
')
The error also occeurs, when starting the kodi.service. (However the last two lines do not always occeur.) Does anyone know a solution?
The complete log:
$this->bbcode_second_pass_code('', '############## Kodi CRASH LOG ###############
################ SYSTEM INFO ################
Date: Mon Apr 15 01:44:04 UTC 2019
Kodi Options:
Arch: aarch64
Kernel: Linux 5.0.7-1-ARCH #1 SMP Sat Apr 6 00:09:17 UTC 2019
Release: Arch Linux ARM
############## END SYSTEM INFO ##############
############### STACK TRACE #################
=====> Core file: /home/ben/PKGBUILDs/alarm/kodi-c2/core (2019-04-15 01:44:05.117862818 +0000)
=========================================
[New LWP 3062]
[New LWP 3065]
[New LWP 3066]
[New LWP 3069]
[New LWP 3068]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin'.
Program terminated with signal SIGABRT, Aborted.
#0 0x0000ffff907ad494 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0xffff8c27dbb0 (LWP 3062))]
Thread 5 (Thread 0xffff8a9e3e50 (LWP 3068)):
#0 0x0000ffff91e41b10 in pthread_cond_timedwait@@GLIBC_2.17 () from /usr/lib/libpthread.so.0
#1 0x0000aaaae6400a7c in ActiveAE::CActiveAE::Process() ()
#2 0x0000aaaae5a9e150 in CThread::Action() ()
#3 0x0000aaaae5a9e480 in CThread::staticThread(void*) ()
#4 0x0000ffff91e3b56c in start_thread () from /usr/lib/libpthread.so.0
#5 0x0000ffff9084d01c in thread_start () from /usr/lib/libc.so.6
Thread 4 (Thread 0xffff8a1e2e50 (LWP 3069)):
#0 0x0000ffff908454fc in ioctl () from /usr/lib/libc.so.6
#1 0x0000ffff910d0f70 in ?? () from /usr/lib/libasound.so.2
#2 0x0000aaaae641a2a8 in CAESinkALSA::AddPackets(unsigned char**, unsigned int, unsigned int) ()
#3 0x0000aaaae64080c4 in ActiveAE::CActiveAESink::OutputSamples(ActiveAE::CSampleBuffer*) ()
#4 0x0000aaaae6409c20 in ActiveAE::CActiveAESink::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#5 0x0000aaaae640a5f0 in ActiveAE::CActiveAESink::Process() ()
#6 0x0000aaaae5a9e150 in CThread::Action() ()
#7 0x0000aaaae5a9e480 in CThread::staticThread(void*) ()
#8 0x0000ffff91e3b56c in start_thread () from /usr/lib/libpthread.so.0
#9 0x0000ffff9084d01c in thread_start () from /usr/lib/libc.so.6
Thread 3 (Thread 0xffff8ba78e50 (LWP 3066)):
#0 0x0000ffff90843780 in poll () from /usr/lib/libc.so.6
#1 0x0000aaaae5788350 in CFDEventMonitor::Process() ()
#2 0x0000aaaae5a9e150 in CThread::Action() ()
#3 0x0000aaaae5a9e480 in CThread::staticThread(void*) ()
#4 0x0000ffff91e3b56c in start_thread () from /usr/lib/libpthread.so.0
#5 0x0000ffff9084d01c in thread_start () from /usr/lib/libc.so.6
Thread 2 (Thread 0xffff8c279e50 (LWP 3065)):
#0 0x0000ffff91e417f0 in pthread_cond_wait@@GLIBC_2.17 () from /usr/lib/libpthread.so.0
#1 0x0000aaaae6291648 in ANNOUNCEMENT::CAnnouncementManager::Process() ()
#2 0x0000aaaae5a9e150 in CThread::Action() ()
#3 0x0000aaaae5a9e480 in CThread::staticThread(void*) ()
#4 0x0000ffff91e3b56c in start_thread () from /usr/lib/libpthread.so.0
#5 0x0000ffff9084d01c in thread_start () from /usr/lib/libc.so.6
Thread 1 (Thread 0xffff8c27dbb0 (LWP 3062)):
#0 0x0000ffff907ad494 in raise () from /usr/lib/libc.so.6
#1 0x0000ffff9079ae68 in abort () from /usr/lib/libc.so.6
#2 0x0000ffff907e86d8 in __libc_message () from /usr/lib/libc.so.6
#3 0x0000ffff907eef6c in malloc_printerr () from /usr/lib/libc.so.6
#4 0x0000ffff907f0ac8 in _int_free () from /usr/lib/libc.so.6
#5 0x0000aaaae5a34cb4 in non-virtual thunk to CRssManager::OnSettingsUnloaded() ()
#6 0x0000aaaae5ee2f8c in CSettingsManager::Unload() ()
#7 0x0000aaaae5ee6418 in CSettingsManager::Clear() ()
#8 0x0000aaaae5f433a4 in CSettings::Uninitialize() ()
#9 0x0000aaaae5f439d0 in CSettings::~CSettings() ()
#10 0x0000ffff907afbb8 in __run_exit_handlers () from /usr/lib/libc.so.6
#11 0x0000ffff907afd24 in exit () from /usr/lib/libc.so.6
#12 0x0000ffff9079b2a8 in __libc_start_main () from /usr/lib/libc.so.6
#13 0x0000aaaae55e1670 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
############# END STACK TRACE ###############
################# LOG FILE ##################
01:43:31.779 T:281473501678512 NOTICE: special://profile/ is mapped to: special://masterprofile/
01:43:31.779 T:281473501678512 NOTICE: -----------------------------------------------------------------------
01:43:31.779 T:281473501678512 NOTICE: Starting Kodi (17.6 Git:20190413-nogitfound). Platform: Linux ARM 64-bit
01:43:31.779 T:281473501678512 NOTICE: Using Release Kodi x64 build
01:43:31.779 T:281473501678512 NOTICE: Kodi compiled Apr 13 2019 by GCC 8.2.1 for Linux ARM 64-bit version 4.17.11 (266507)
01:43:31.779 T:281473501678512 NOTICE: Running on Arch Linux ARM 0.0, kernel: Linux ARM 64-bit version 5.0.7-1-ARCH
01:43:31.779 T:281473501678512 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
01:43:31.779 T:281473501678512 NOTICE: 4 CPU cores available
01:43:31.779 T:281473501678512 NOTICE: ARM Features: Neon disabled
01:43:31.779 T:281473501678512 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
01:43:31.779 T:281473501678512 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
01:43:31.779 T:281473501678512 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
01:43:31.779 T:281473501678512 NOTICE: special://masterprofile/ is mapped to: /home/ben/.kodi/userdata
01:43:31.780 T:281473501678512 NOTICE: special://envhome/ is mapped to: /home/ben
01:43:31.780 T:281473501678512 NOTICE: special://home/ is mapped to: /home/ben/.kodi
01:43:31.780 T:281473501678512 NOTICE: special://temp/ is mapped to: /home/ben/.kodi/temp
01:43:31.780 T:281473501678512 NOTICE: special://logpath/ is mapped to: /home/ben/.kodi/temp
01:43:31.780 T:281473501678512 NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
01:43:31.780 T:281473501678512 NOTICE: Local hostname: crumb
01:43:31.780 T:281473501678512 NOTICE: Log File is located: /home/ben/.kodi/temp//kodi.log
01:43:31.780 T:281473501678512 NOTICE: -----------------------------------------------------------------------
01:43:32.044 T:281473501678512 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property “CanSuspend”
01:43:32.047 T:281473501678512 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property “CanHibernate”
01:43:32.049 T:281473501678512 NOTICE: load settings...
01:43:32.195 T:281473501678512 NOTICE: Found 1 Lists of Devices
01:43:32.195 T:281473501678512 NOTICE: Enumerated ALSA devices:
01:43:32.196 T:281473501678512 NOTICE: Device 1
01:43:32.196 T:281473501678512 NOTICE: m_deviceName : @
01:43:32.196 T:281473501678512 NOTICE: m_displayName : Default (bcm2835 ALSA bcm2835 ALSA S/PDIF)
01:43:32.196 T:281473501678512 NOTICE: m_displayNameExtra:
01:43:32.196 T:281473501678512 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
01:43:32.196 T:281473501678512 NOTICE: m_channels : FL,FR
01:43:32.196 T:281473501678512 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000
01:43:32.196 T:281473501678512 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
01:43:32.196 T:281473501678512 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
01:43:32.210 T:281473501678512 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
01:43:32.210 T:281473501678512 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
01:43:32.210 T:281473501678512 NOTICE: Default Video Player: VideoPlayer
01:43:32.210 T:281473501678512 NOTICE: Default Audio Player: paplayer
01:43:32.210 T:281473501678512 NOTICE: Disabled debug logging due to GUI setting. Level 0.
01:43:32.210 T:281473501678512 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
01:43:32.211 T:281473501678512 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
01:43:32.212 T:281473501678512 NOTICE: Loaded playercorefactory configuration
01:43:32.212 T:281473501678512 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
01:43:32.212 T:281473501678512 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
01:43:32.237 T:281473501678512 NOTICE: Running database version Addons27
01:43:32.308 T:281473501678512 NOTICE: ADDONS: Using repository repository.xbmc.org
01:43:32.398 T:281473501678512 ERROR: InitWindowSystem: Could not initialize
01:43:32.398 T:281473501678512 FATAL: CApplication::Create: Unable to init windowing system
############### END LOG FILE ################
############ END Kodi CRASH LOG #############
')