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.2k 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 I understand. In Emulation Station I configured the dualshock, in analog mode, and definitely pressed the analog sticks in - all inputs appear to be mapped.

      Should I specifically configure the duaslshock from within the rgui menu?

      Currently I'm switching between two different RetroPie builds, one is on 3.7, the other on 3.8, so I can test things in both versions if that helps.

      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
      • A
        alexis-puska
        last edited by

        just configure the pad in analog in retroarch by config file or by the rgui. if all button is mapped, the analog pad type don't crash pcsx rearmed. i think, i can saying a mistake, i don't know but retroarch don't provide the state of analog pad type if L3 R3 and the two axis of a analog pad is not configured. i'm in work office, i can't test, can you ?

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

          I can confirm changing the controller to standard on core-options the emulator can run.
          But I'm afraid I have all buttons mapped, including both analog sticks and the L3 and R3 buttons.
          I have a cheap controller that is recognized and a keyboard, including the different directions of the analog sticks.

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

            i have made some test this night, with a clean install of retropie. i have 2 xin mo controller without analog sticks with arcade buttons, and other controler with analog stick. if i activate the analog mode on the xin mo controller (pad 0 and pad 1) -> crash.
            if i activated the analog without all buttons configured on controller with analog pad -> launch.
            i think the code crash when i get the key state of the analog value when the pad is not configured or compatible with analog mode, retroarch crush when i request the state.
            if you want to play for the moment use standard pad in your config file. i look that this week-end.

            R 1 Reply Last reply Reply Quote 0
            • 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
                                            • 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.