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-pcsx-rearmed: runcommand.sh: line 804: 5728 Segmentation fault (since 3.8)

    Scheduled Pinned Locked Moved Help and Support
    38 Posts 7 Posters 21.8k 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.
    • R
      RetroResolution @alexis-puska
      last edited by

      @alexis-puska sounds like a plan - thanks for your efforts on this

      If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

      RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

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

        I have rebuilt the RetroPie lr-pcsx-rearmed binaries to a version before the most recent changes until this is sorted.

        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

        R 1 Reply Last reply Reply Quote 0
        • R
          RetroResolution @BuZz
          last edited by

          @BuZz excellent, thanks!

          If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

          RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

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

            Hey guys, I'm also having a segmentation fault error.. but I'm new to this all, and not sure exactly whats going on
            here is a copy of my log file. can anyone help me sort this?

            Starting PCSX-ReARMed v3.0rc1-1125-g4e6f4e9
            Running PCSX Version 1.9 (May 26 2016).
            Init new dynarec
            testing if we can run recompiled code..
            test passed.
            Mapped (RAM/scrp/ROM/LUTs/TC):
            80000000/1f800000/1fc00000/08000000/b4396000
            found BIOS file: SCPH1001.BIN
            RGB565 supported, using it
            plugin: plugins/builtin_gpu
            plugin: plugins/builtin_spu
            plugin: plugins/builtin_pad
            plugin: plugins/builtin_pad
            Plugins loaded.
            Loaded CD Image: /home/pi/RetroPie/roms/psx/SLUS_00551.CUE.
            /opt/retropie/supplementary/runcommand/runcommand.sh: line 804: 819 Segmentation fault /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-pcsx-rearmed/libretro.so --config /opt/retropie/configs/psx/retroarch.cfg "/home/pi/RetroPie/roms/psx/SLUS_00551.CUE" --appendconfig /tmp/retroarch.cfg

            dankcushionsD 1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator @skrapps914
              last edited by

              @skrapps914 there are two solutions in this thread which will work. easiest is just going to the retropie-setup menu, and reinstalling lr-pcsx-rearmed from binaries.

              S 1 Reply Last reply Reply Quote 0
              • S
                skrapps914 @dankcushions
                last edited by

                @dankcushions i saw the first solution, which was

                "The issue can be reverted by editing
                /opt/RetroPie/configs/all/retroarch-core-options.cfg

                changing:
                pcsx_rearmed_pad1type="analog"
                back to:
                pcsx_rearmed_pad1type="standard""

                however, my retroarch-core-options.cfg does't have any lines for pcsx_rearmed at all. (i'm guessing thats where the issue is, seems like pcsx rearmed isnt writing to the config file?

                the second solution, reinstalling from binaries, i have no idea how to do.. i'm new to all of this.

                dankcushionsD R 2 Replies Last reply Reply Quote 0
                • dankcushionsD
                  dankcushions Global Moderator @skrapps914
                  last edited by

                  @skrapps914 i suspect your issue isn't anything to do with this, then. you should instead give us more details: https://retropie.org.uk/forum/topic/3/read-this-first

                  S 1 Reply Last reply Reply Quote 0
                  • R
                    RetroResolution @skrapps914
                    last edited by

                    Hi,

                    Regarding installation of the PlayStation emulator from binaries, maybe this guide will help:

                    RetroPie Manual Installation Guide, including the Version 4 Setup Script Revised Menu Structure

                    When following the guide, In the section Installing the Main Emulators, rather than using the option "Install/Update all main packages from binary", instead select the lr-pcsx-rearmed emulator from the list

                    If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                    RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      skrapps914 @dankcushions
                      last edited by

                      @dankcushions i followed instructions the correct way, i put the bios in the bios folder, i created a disc image from one of my playstation games, transfered the bin/cue files to the psx roms folder. i went to start it, and got this error in the log

                      dankcushionsD 1 Reply Last reply Reply Quote 0
                      • S
                        skrapps914 @RetroResolution
                        last edited by

                        @RetroResolution thanks, i will give this a shot. will i have to delete the previous emulator? or will it just overwrite it?

                        R 1 Reply Last reply Reply Quote 0
                        • dankcushionsD
                          dankcushions Global Moderator @skrapps914
                          last edited by

                          @skrapps914 said in lr-pcsx-rearmed: runcommand.sh: line 804: 5728 Segmentation fault (since 3.8):

                          @dankcushions i followed instructions the correct way, i put the bios in the bios folder, i created a disc image from one of my playstation games, transfered the bin/cue files to the psx roms folder. i went to start it, and got this error in the log

                          please look at the link again and give us the full set of information it suggests. everything is important.

                          also, i wouldn't start out with a game you've ripped - go and download a playstation iso and start from there (just to test!). self-ripped games seem like a likely point of failure to me.

                          S 1 Reply Last reply Reply Quote 0
                          • R
                            RetroResolution @skrapps914
                            last edited by

                            @skrapps914 it should just overwrite it

                            If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                            RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                            1 Reply Last reply Reply Quote 0
                            • S
                              skrapps914 @dankcushions
                              last edited by

                              @dankcushions thanks for your help. i have games i ripped for ps2 hard drive installation years ago.
                              i tried to reinstall like @RetroResolution mentioned, and everything is working again. i think there may be something up with retropie installation first go round. as it wasnt outputting/writing into configuration files.

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                RetroResolution @skrapps914
                                last edited by

                                @skrapps914 Glad that resolved the problem for you.

                                If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                                RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  skrapps914 @RetroResolution
                                  last edited by

                                  @RetroResolution thanks again!

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alexis-puska
                                    last edited by

                                    Yesterday i fix this segmentation fault error, it's was merged by twinaphex on GitHub
                                    I fix it with Kekun. Take care to configure your pad correctly (standard/analog). The emulator don't crash anymore.

                                    R BuZzB dankcushionsD 3 Replies Last reply Reply Quote 3
                                    • R
                                      RetroResolution @alexis-puska
                                      last edited by

                                      @alexis-puska that's excellent, thanks for all your efforts on this.

                                      If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                                      RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                                      1 Reply Last reply Reply Quote 0
                                      • BuZzB
                                        BuZz administrators @alexis-puska
                                        last edited by

                                        @alexis-puska thanks :-)

                                        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
                                        • dankcushionsD
                                          dankcushions Global Moderator @alexis-puska
                                          last edited by

                                          @alexis-puska tested and works! great job, merci beaucoup :D

                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            RetroResolution @dankcushions
                                            last edited by

                                            @dankcushions has this version been pushed to the main release branch? (e.g. can I update lr-pcsx-rearmed from binary, or source, and obtain the latest version). No problem if not, I can always build from the parent repo.

                                            If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                                            RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                                            dankcushionsD 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.