2018-03-24, 00:55
I am running a recent built of Kodi 18 alpha on ubuntu 16.04.
A PulseEight USB-CEC connects my PC with my Panasonic sound base (which connects to my Philips TV). My system usually goes to sleep after 15 minutes of idle time or by pressing the power-button on my remote. Via CEC my sound base and TV are also set to sleep.
When resuming from standby, either for a scheuled recording or after a manual switch on with my remote, kodi frequently crashes and restarts. This happens so fast, that I hardly notice before my tv screen is turned on. After the restart I sometimes get an CEC intialization error popping up but afer a few seconds CEC works fine as does kodi.
I built kodi, vdr and libcec from their sources on github.
When I run through the many crashlogs, most of them show the same segmentation fault due to a problem with libcec.so.4:
I found the following issue report: https://github.com/Pulse-Eight/libcec/issues/296 which sounds somewhat similar to what I am experiencing.
Is this still applicable to kodi 18?
if this is related to my issue, would this need fixing in libcec or kodi code?
What more can I do to help troubleshoot the issue?
A PulseEight USB-CEC connects my PC with my Panasonic sound base (which connects to my Philips TV). My system usually goes to sleep after 15 minutes of idle time or by pressing the power-button on my remote. Via CEC my sound base and TV are also set to sleep.
When resuming from standby, either for a scheuled recording or after a manual switch on with my remote, kodi frequently crashes and restarts. This happens so fast, that I hardly notice before my tv screen is turned on. After the restart I sometimes get an CEC intialization error popping up but afer a few seconds CEC works fine as does kodi.
I built kodi, vdr and libcec from their sources on github.
When I run through the many crashlogs, most of them show the same segmentation fault due to a problem with libcec.so.4:
Quote:Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f949c003058 in ?? ()
[Current thread is 1 (Thread 0x7f93f7e48700 (LWP 10968))]
...
Thread 1 (Thread 0x7f93f7e48700 (LWP 10968)):
#0 0x00007f949c003058 in ?? ()
#1 0x00007f948c7a712d in CEC::CImageViewOnCheck:rocess() () from /usr/local/lib/libcec.so.4
#2 0x00007f948c76a48d in P8PLATFORM::CThread::ThreadHandler(void*) () from /usr/local/lib/libcec.so.4
#3 0x00007f94c1d4d6ba in start_thread (arg=0x7f93f7e48700) at pthread_create.c:333
#4 0x00007f94b932941d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
############# END STACK TRACE ###############
################# LOG FILE ##################
14:30:55.960 T:140276887071104 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:30:55.960 T:140276887071104 NOTICE: -----------------------------------------------------------------------
14:30:55.960 T:140276887071104 NOTICE: Starting Kodi (18.0-ALPHA2 Git:20180321-d571386-dirty). Platform: Linux x86 64-bit
14:30:55.960 T:140276887071104 NOTICE: Using Release Kodi x64 build
14:30:55.960 T:140276887071104 NOTICE: Kodi compiled Mar 21 2018 by GCC 5.4.0 for Linux x86 64-bit version 4.4.98 (263266)
14:30:55.960 T:140276887071104 NOTICE: Running on Ubuntu 16.04.4 LTS, kernel: Linux x86 64-bit version 4.13.0-37-generic
14:30:55.960 T:140276887071104 NOTICE: FFmpeg version/source: 3.4.1-Kodi
14:30:55.960 T:140276887071104 NOTICE: Host CPU: Intel® Core i3-6100T CPU @ 3.20GHz, 4 cores available
14:30:55.960 T:140276887071104 NOTICE: special://xbmc/ is mapped to: /usr/local/share/kodi
14:30:55.960 T:140276887071104 NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/kodi
14:30:55.960 T:140276887071104 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/local/lib/kodi/addons
14:30:55.960 T:140276887071104 NOTICE: special://masterprofile/ is mapped to: /home/kodi/.kodi/userdata
14:30:55.960 T:140276887071104 NOTICE: special://envhome/ is mapped to: /home/kodi
14:30:55.960 T:140276887071104 NOTICE: special://home/ is mapped to: /home/kodi/.kodi
14:30:55.960 T:140276887071104 NOTICE: special://temp/ is mapped to: /home/kodi/.kodi/temp
14:30:55.960 T:140276887071104 NOTICE: special://logpath/ is mapped to: /home/kodi/.kodi/temp
14:30:55.960 T:140276887071104 NOTICE: The executable running is: /usr/local/lib/kodi/kodi-x11
14:30:55.960 T:140276887071104 NOTICE: Local hostname: kodi-mc
14:30:55.961 T:140276887071104 NOTICE: Log File is located: /home/kodi/.kodi/temp//kodi.log
14:30:55.961 T:140276887071104 NOTICE: -----------------------------------------------------------------------
14:30:55.965 T:140276887071104 NOTICE: load settings...
I found the following issue report: https://github.com/Pulse-Eight/libcec/issues/296 which sounds somewhat similar to what I am experiencing.
Is this still applicable to kodi 18?
if this is related to my issue, would this need fixing in libcec or kodi code?
What more can I do to help troubleshoot the issue?