Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Kodi crashes after library scan

    MediaCenter & Dualboot
    kodi crashes library scan
    3
    14
    3359
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • arcueid
      arcueid last edited by

      Hi,

      No news since almost 20 days.
      Is there anybody that can help me investigating this issue ?
      Should I need to recompile kodi with debug symbols ?

      Any help would be greatly appreciated !

      Alex.

      1 Reply Last reply Reply Quote 0
      • arcueid
        arcueid last edited by

        I get an "Unrecognised instruction" in libcrypto:
        disInstr(arm): unhandled instruction: 0xEC510F1E
        cond=14(0xE) 27:20=197(0xC5) 4:4=1 3:0=14(0xE)
        ==3424== valgrind: Unrecognised instruction at address 0x7d37088.
        ==3424== at 0x7D37088: _armv7_tick (in /usr/lib/libcrypto.so.1.0.0)

        Probably called by kodi when accessing a pair of strings :
        ==3424== Process terminating with default action of signal 11 (SIGSEGV)
        ==3424== Access not within mapped region at address 0xBDB883C0
        ==3424== at 0x7330D4: std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::pair<char const (&) [5], char const (&) [66], void>(char const (&) [5], char const (&) [66]) (in /usr/lib/kodi/kodi.bin)

        Here is a full log : https://pastebin.com/hs5r43iF

        I'd like to get more clues to investigate but it seems I don't have symbols:
        *arcueid@Arcueid-VM:~/recalbox-odroidxu4/output/host/arm-buildroot-linux-gnueabihf/sysroot$ objdump -t usr/lib/kodi/kodi.bin

        usr/lib/kodi/kodi.bin: file format elf32-little

        SYMBOL TABLE:
        no symbols*

        However, I'm sure I enabled symbols and do not strip options in menuconfig :
        │ │ [] build packages with debugging symbols
        │ │ gcc debug level (debug level 2) --->

        strip target binaries

        │ │ gcc optimization level (optimization level 2) --->*
        The full config file : https://pastebin.com/PrLUUfPL

        Please I really need help on this topic, is there any developper comming here ?
        How should I report a bug on this distribution ?

        Alex.

        1 Reply Last reply Reply Quote 0
        • arcueid
          arcueid last edited by

          Starting program: /usr/lib/kodi/kodi.bin --standalone -fs
          warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

          Program received signal SIGILL, Illegal instruction.
          _armv7_tick () at armv4cpuid.S:94
          94 armv4cpuid.S: No such file or directory.
          (gdb) bt
          #0 _armv7_tick () at armv4cpuid.S:94
          #1 0xb3b17478 in OPENSSL_cpuid_setup () at armcap.c:157
          #2 0xb6fdd608 in call_init.part () from /lib/ld-linux-armhf.so.3
          Backtrace stopped: previous frame identical to this frame (corrupt stack?)

          Can't go higher ... no dev can give me some tips ?
          That's a shame ...

          1 Reply Last reply Reply Quote 0
          • arcueid
            arcueid last edited by

            Last step I tried to remove all modules from Kodi (menuconfig), except alsa but even without mysql modules, I get a segfault on Kodi start.

            Since there is no help here, I'm looking for help on recalbox's github and buildroot.

            1 Reply Last reply Reply Quote 0
            • lbr
              lbr last edited by

              Hi @arcueid

              Have you had some help from anyone here or on github ? Because I have the exactly same problem, using a XU4 with the last recalbox build.
              It crashes soon after starting library scan and going back to main menu...

              1 Reply Last reply Reply Quote 0
              • arcueid
                arcueid last edited by arcueid

                Hi, no help so far.
                Someone on discord reproduced the issue on Odroid-Xu4.

                I updated to RB6.1 and found new issues :

                • system sound is at 0% after start.
                • kodi cannot play videos (they are freezing)
                • no sound when playing music
                • default sound card seems to be analog on kodi, while I'm using an AVR.

                I posted a new thread here : https://forum.recalbox.com/topic/18866/odroid-xu4-kodi-with-rb6-1

                1 Reply Last reply Reply Quote 0
                • arcueid
                  arcueid last edited by

                  Looks better with RB6.1 (I have to test more when I'll have time to update all libraries)
                  Since there is no Kodi update, was it an issue with kernel ? or some libraries ?

                  However, I cannot play any file since audio is not working 😢

                  1 Reply Last reply Reply Quote 0
                  • arcueid
                    arcueid last edited by

                    I confirm library scanning is working back.
                    Some magic have been done in kernel/filesystem ...
                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • BLANKIAT
                      BLANKIAT Banned last edited by

                      This post is deleted!
                      BLANKIAT 1 Reply Last reply Reply Quote 0
                      • BLANKIAT
                        BLANKIAT Banned @BLANKIAT last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Want to support us ?

                        82
                        Online

                        99.6k
                        Users

                        28.1k
                        Topics

                        187.1k
                        Posts

                        Copyright © 2021 recalbox.com