[FIXED][alarm/kodi-rbp-git][armv7h] kodi-rbpi crashes with..

Problems with packages? Post here, using [tags] of the package name.

[FIXED][alarm/kodi-rbp-git][armv7h] kodi-rbpi crashes with..

Postby Iszzy » Sat Sep 15, 2018 1:36 pm

Hi all,

when updating my system today, I got version 18.02b for kodi-rbp-git and since then it crashes immediately upon start.

I tried renaming ~kodi/.kodi, but it doesn't avoid the problem.

Here's the package info:

Code: Select all
# pacaur -Qi kodi-rbp-git
Name            : kodi-rbp-git
Version         : 18.0b2.20180909-1
Description     : A software media player and entertainment hub for digital media (Raspberry Pi)
Architecture    : armv7h
URL             : http://kodi.tv
Licenses        : GPL2
Groups          : None
Provides        : xbmc  kodi
Depends On      : bluez-libs  desktop-file-utils  freetype2  fribidi  libcec-rpi  hicolor-icon-theme  libass  libcdio  libjpeg-turbo  libmariadbclient  libmicrohttpd  libpulse  libssh  libxrandr  lirc  raspberrypi-firmware  libxslt  lzo  python2-pillow  python2-simplejson         
                  smbclient  speex  taglib  tinyxml  xorg-xdpyinfo  yajl  libinput  libxkbcommon  libbluray
Optional Deps   : afpfs-ng: Apple shares support [installed]
                  bluez: Blutooth support
                  python2-pybluez: Bluetooth support [installed]
                  libnfs: NFS shares support [installed]
                  libplist: Limited AirPlay support [installed]
                  lsb-release: log distro information in crashlog [installed]
                  shairplay: Limited AirPlay support [installed]
                  unrar: Archives support
                  unzip: Archives support [installed]
                  upower: Display battery level
Required By     : kodi-dev-rbp-git
Optional For    : None
Conflicts With  : xbmc  kodi  arm-mem-git  shairplay-git
Replaces        : xbmc-rbp-git
Installed Size  : 74.89 MiB
Packager        : Arch Linux ARM Build System <builder+xu4@archlinuxarm.org>
Build Date      : Tue 11 Sep 2018 02:26:18 AM CEST
Install Date    : Sat 15 Sep 2018 02:19:03 PM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature


Unfortunately, the core dump doesn't say all that much:

Code: Select all
# coredumpctl -1 debug
           PID: 1077 (kodi-rbpi)
           UID: 996 (kodi)
           GID: 996 (kodi)
        Signal: 11 (SEGV)
     Timestamp: Sat 2018-09-15 15:22:05 CEST (1min 59s ago)
  Command Line: /usr/lib/kodi/kodi-rbpi --standalone
    Executable: /usr/lib/kodi/kodi-rbpi
 Control Group: /system.slice/kodi.service
          Unit: kodi.service
         Slice: system.slice
       Boot ID: 0c4789f1e1ea4fe78ef8ff37d65238a5
    Machine ID: 93699c8c84a34f95b0af129626c4c459
      Hostname: Rational
       Storage: /var/lib/systemd/coredump/core.kodi-rbpi.996.0c4789f1e1ea4fe78ef8ff37d65238a5.1077.1537017725000000.lz4
       Message: Process 1077 (kodi-rbpi) of user 996 dumped core.

                Stack trace of thread 1077:
                #0  0x0000000000e4d598 _ZN11CInfoLoaderC1Ej (kodi-rbpi)

GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "armv7l-unknown-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/kodi/kodi-rbpi...(no debugging symbols found)...done.
[New LWP 1077]
[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-rbpi --standalone'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00e4d598 in CInfoLoader::CInfoLoader(unsigned int) ()
(gdb) bt
#0  0x00e4d598 in CInfoLoader::CInfoLoader(unsigned int) ()
#1  0x00eb619c in CSysInfo::CSysInfo() ()
#2  0x008f1fd0 in  ()
(gdb) info threads
  Id   Target Id                    Frame
* 1    Thread 0x719bb010 (LWP 1077) 0x00e4d598 in CInfoLoader::CInfoLoader(unsigned int) ()


Any idea what could be going wrong?

Thanks in advance and best regards,

Timo
Last edited by Iszzy on Sun Sep 16, 2018 9:01 am, edited 1 time in total.
Iszzy
 
Posts: 5
Joined: Fri Jul 13, 2018 8:42 pm

Re: [alarm/kodi-rbp-git][armv7h] kodi-rbpi crashes with v 18

Postby graysky » Sat Sep 15, 2018 2:15 pm

Let me check the repo provided package on my machine... I built it from source and am running that just fine.
Last edited by graysky on Sat Sep 15, 2018 3:11 pm, edited 1 time in total.
graysky
 
Posts: 407
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [alarm/kodi-rbp-git][armv7h] kodi-rbpi crashes with v 18

Postby graysky » Sat Sep 15, 2018 3:10 pm

OK: I can confirm that the repo provided package also coredumps for me.

EDIT: I PM'ed you a URL to the package I built with devtools-alarm, does it work for you?
EDIT2: I received your PM that my package works for you. I opened this PR asking to have it rebuilt upstream: https://github.com/archlinuxarm/PKGBUILDs/pull/1625
graysky
 
Posts: 407
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [alarm/kodi-rbp-git][armv7h] kodi-rbpi crashes with v 18

Postby Iszzy » Sun Sep 16, 2018 9:00 am

Hi graysky,

just updated to the latest kodi-rbp-git and kodi-dev-rbp-git via the repo and now everything works fine.

Out of curiosity: How can the same code be compiled once and produce core dumps when run but work fine when compiled a second time?

Again, thanks for your quick support :)
Iszzy
 
Posts: 5
Joined: Fri Jul 13, 2018 8:42 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 1 guest