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

    EmulationStation crash when pressing x button

    Scheduled Pinned Locked Moved Help and Support
    bugjoystickemustationbuttoncrash
    12 Posts 4 Posters 1.6k 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
      simbz23
      last edited by

      Hello all,

      I have the weirdest bug, wondering if anyone has seen this, couldn't find something. Every time I am in the main home screen of emulationstation, it crashes when pressing the X button

      I have reproduced this using a Logitech USB gamepad, and a bluetooth arcade stick, using a Pi4 with the latest retropie image, and most updated emulationstation. No other button causes this crash. However if I go into any other menu, except for the home screen, it doesnt crash when pressing X

      I looked at the logs, the last event shown is the Logitech joystick being added. No errors?

      Overlay and launching image repo
      https://github.com/simbz33/retropie-overlay

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Can't reproduce this. Pressing X should select randomly a system from the list.
        How many systems do you have in EmulationStation ? Are you using the Kids/Kiosk mode ?

        S 1 Reply Last reply Reply Quote 0
        • S
          simbz23 @mitu
          last edited by

          @mitu I have 0 systems, 0 added games. That’s interesting maybe it’s because of that. I’ll try adding a game

          Overlay and launching image repo
          https://github.com/simbz33/retropie-overlay

          S mituM 2 Replies Last reply Reply Quote 0
          • S
            simbz23 @simbz23
            last edited by

            Just for clarification, it’s an AtLegends Gamer Pro 2 player arcade stick

            Overlay and launching image repo
            https://github.com/simbz33/retropie-overlay

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @simbz23
              last edited by

              @simbz23 said in EmulationStation crash when pressing x button:

              @mitu I have 0 systems, 0 added games. That’s interesting maybe it’s because of that. I’ll try adding a game

              If you have 0 systems, EmulationStation would not start. On a RetroPie installation, there's at least the RetroPie system - do you it on the 'home' screen ?

              S 1 Reply Last reply Reply Quote 0
              • S
                simbz23 @mitu
                last edited by

                @mitu oh yah it does start and it does the show the settings and I can access it. That doesn’t count as a system does it?

                Overlay and launching image repo
                https://github.com/simbz33/retropie-overlay

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @simbz23
                  last edited by mitu

                  @simbz23 said in EmulationStation crash when pressing x button:

                  That doesn’t count as a system does it?

                  Yes, it does, otherwise - as I said - it wouldn't start.

                  I can't reproduce this with only 1 system (retropie) - what's the exact version of EmulationStation you're using ? It should show up in the menu that you open with Start.

                  EDIT: you can also run EmulationStation with the --debug parameter and it should increase the logging level. You can post the debug log from the moment of the crash here in the topic.

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by mitu

                    Actually, I'm able to reproduce this now. I initially had the recent collection enabled and disabling while running doesn't trigger the bug, but a clean start will trigger the crash. Seems like the new 'shuffle' code for randomizing the systems/games doesn't like it when there's no 'game' system available, but the bug may have been there before it.

                    Thanks for reporting, we'll see how we can sort this out.

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by

                      The issue should be solved now, but the fix is not yet in the stable branch. If you wish to test it, you can install the experimental emulationstation-dev package and you'll get the latest version.

                      If you've already added some games to your system, then you won't be stumbling on this issue, it only happens when there's no game system visible in EmulationStation.

                      S D 2 Replies Last reply Reply Quote 0
                      • S
                        simbz23 @mitu
                        last edited by

                        @mitu Awesome, glad to hear I could help, thank you!

                        Overlay and launching image repo
                        https://github.com/simbz33/retropie-overlay

                        1 Reply Last reply Reply Quote 0
                        • D
                          Davehhf @mitu
                          last edited by

                          @mitu I have the same problem. System crashes after I press X button. It´s a clean installation on an SD card, retropie 4.8. How do I install emulationstation-dev?

                          crashsystem.PNG

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            sleve_mcdichael @Davehhf
                            last edited by

                            @Davehhf said in EmulationStation crash when pressing x button:

                            How do I install emulationstation-dev?

                            RetroPie-Setup > manage packages > experimental packages > emulationstation-dev

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