RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-picodrive segmentation fault

    Scheduled Pinned Locked Moved Help and Support
    lr-picodrivepi2sega32x
    10 Posts 3 Posters 2.0k Views
    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.
    • S
      SJSquishy
      last edited by SJSquishy

      Hi,

      Pi Model: Rasberry Pi 2 Model B 1GB
      Power Supply used: Generic one that comes with the pi
      RetroPie Version: https://github.com/RetroPie/RetroPie-Setup/commit/06b64a5a2381ba13c34b55ca71f5b098505395c7 Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
      Built From: Pre made SD Image on RetroPie website: retropie-4.2-rpi2_rpi3.img
      USB Devices connected: BCM20702A0 (asus blutooth) Chicony PFU-65 USB Keyboard
      Controller used: ps3

      I cannot seem to get picodrive to work with any rom:

      Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so --config /opt/retropie/configs/sega32x/retroarch.cfg "/home/pi/RetroPie/roms/sega32x/Blackthorne (USA).32x" --verbose --appendconfig /dev/shm/retroarch.cfg
      [INFO] RetroArch 1.6.7 (Git 8e8bdaa)
      [INFO] Redirecting save file to "/home/pi/RetroPie/roms/sega32x/Blackthorne (USA).srm".
      [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/sega32x/Blackthorne (USA).state".
      [INFO] === Build =======================================
      Capabilities: NEON VFPv3 VFPv4
      Built: Aug 18 2017
      [INFO] Version: 1.6.7
      [INFO] Git: 8e8bdaa
      [INFO] =================================================
      [INFO] [Config]: loading config from: /opt/retropie/configs/sega32x/retroarch.cfg.
      [INFO] Config: appending config "/dev/shm/retroarch.cfg"
      [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so"
      [ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so"
      [ERROR] Error(s): /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so: unexpected reloc type 0x03
      /opt/retropie/supplementary/runcommand/runcommand.sh: line 1005:  1475 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so --config /opt/retropie/configs/sega32x/retroarch.cfg "/home/pi/RetroPie/roms/sega32x/Blackthorne (USA).32x" --verbose --appendconfig /dev/shm/retroarch.cfg
      
      pi@retropie:~ $ ls -al /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so
      -rwxr-xr-x 1 root root 1509540 Sep  4 03:55 /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so
      
      ldd /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so
              linux-vdso.so.1 (0x7ee08000)
              /usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76b02000)
              libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76a79000)
              libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76938000)
              /lib/ld-linux-armhf.so.3 (0x54b56000)
      

      The roms load fine in Kega. Thank you for any help.

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @SJSquishy
        last edited by

        @sjsquishy provide more details of your set Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • S
          SJSquishy
          last edited by

          @BuZz I apologize.

          If there's anything else I can provide, please let me know.

          BuZzB 2 Replies Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @SJSquishy
            last edited by

            @sjsquishy Thanks - that helps. Just checked and there is a problem with the last binary I have built. Looking into it.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @SJSquishy
              last edited by BuZz

              @sjsquishy Aah I forgot @psyke83 mentioned it's broken on arm currently - and I forgot when I rebuilt it earlier. Will sort that out.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • S
                SJSquishy
                last edited by

                That's.. awesome.

                Thank you very much!

                BuZzB 1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators @SJSquishy
                  last edited by

                  @sjsquishy Please can you update retropie-setup and then re-install lr-picodrive from binary (or source) - should be sorted now.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 1
                  • S
                    SJSquishy
                    last edited by

                    @BuZz Yes, that sorted it.

                    Thank you again for the help, it's very much appreciated!

                    1 Reply Last reply Reply Quote 0
                    • D
                      defstatic
                      last edited by

                      Doh! I should have checked this first!

                      Going to give this a try as well.

                      1 Reply Last reply Reply Quote 0
                      • D
                        defstatic
                        last edited by

                        w00t. I updated the packages and this worked. Thanks!

                        I cannot find my original post to update it. Wonder if it got taken down.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.