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

    Crash: Removing favourite

    Scheduled Pinned Locked Moved Help and Support
    crashemulationstaion
    30 Posts 7 Posters 5.1k 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
      Srdrgz @pjft
      last edited by Srdrgz

      @pjft
      Yes, only when the last item is removed.
      It crashes when the last favorite item is removed from the favorites folder, the last played folder, or the main game folder.

      In addition to that, when emulation station crashes, the keyboard no longer works. Also, upon a hard reboot, the favorites folders repopulates the games previously removed.

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

        @pjft So I took your advice and started bisecting, this is what the git bisect log shows

          git bisect start
          # bad: [f35769de6bebea0df03d6621967a03dd814f18e5] bump version to v2.7.3
          git bisect bad f35769de6bebea0df03d6621967a03dd814f18e5
          # good: [8e7ee6c93190bc8ca1879f3877184cffff530496] bump version to 2.6.3
          git bisect good 8e7ee6c93190bc8ca1879f3877184cffff530496
          # bad: [cfdc7c4b679ba4f785498ca83ec80bea03c4d732] Merge pull request #277 from tomaz82/headerGuards
          git bisect bad cfdc7c4b679ba4f785498ca83ec80bea03c4d732
          # bad: [f883a0b0f2cd5bc7c06da79fa06a93532c75791d] Merge pull request #267 from tomaz82/fixSwapInterval
          git bisect bad f883a0b0f2cd5bc7c06da79fa06a93532c75791d
          # good: [5f7aec71dc0ff194d07c6d63bd28b8fb7d7b1e01] Merge pull request #256 from jrassa/default-image
          git bisect good 5f7aec71dc0ff194d07c6d63bd28b8fb7d7b1e01
          # good: [3f515041df1eb53e71fdc16e7bde72761ac8e7a8] Merge pull request #259 from tomaz82/FreeImage
          git bisect good 3f515041df1eb53e71fdc16e7bde72761ac8e7a8
          # bad: [cd2f2ee42b911711db6bd6e0276bea494a389e88] Use local game art ( image, marquee and video ) from romfolder/images if the gamelist didn't specify a path
          git bisect bad cd2f2ee42b911711db6bd6e0276bea494a389e88
          # bad: [06d38db73b69c38a289ba426676dbe4df97a5855] Merge pull request #260 from zigurana/fixBuildWarnings
          git bisect bad 06d38db73b69c38a289ba426676dbe4df97a5855
          # bad: [fd40e84ba54a28e4749c653bca72880802ce04aa] Fix build warnings (mostly adding explicit type casting)
          git bisect bad fd40e84ba54a28e4749c653bca72880802ce04aa
          # first bad commit: [fd40e84ba54a28e4749c653bca72880802ce04aa] Fix build warnings (mostly adding explicit type casting)
        

        It looks strange, since the - seemingly - offending commit only has small fixes and doesn't alter any core behaviour. If you could test this to confirm, that would be good. Currently I'm building the previous commit to see if the problem goes away.

        pjftP 1 Reply Last reply Reply Quote 1
        • S
          Srdrgz @pjft
          last edited by

          @pjft said in Crash: Removing favourite:

          @steeeb I've seen reports of this also happening in 2.6.5, so it might be that those bisect instructions that I provided have a flawed assumption.

          Did u happen to read what pjft posted regarding his bisect instructions...

          1 Reply Last reply Reply Quote 0
          • pjftP
            pjft @mitu
            last edited by

            @mitu thank you for taking the time and sorry for making you go through that!

            I happened to take a look at it this afternoon and submitted a fix for it. It's been accepted in the development branch.

            If you're curious about what happened, you can read here:

            https://github.com/RetroPie/EmulationStation/pull/323

            Sorry for the trouble. There's still a minor outstanding issue regarding ES not showing empty collections on startup, which cropped up in some recent changes, but I'm also looking through that.

            In the meantime if per chance you have a collection that's empty and doesn't show after you add something to it, either restart ES or change the collections settings so it refreshes them.

            Sorry about the inconvenience!

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

              @pjft Great - thank you for the fix !

              pjftP 1 Reply Last reply Reply Quote 1
              • pjftP
                pjft @mitu
                last edited by

                @mitu not a problem. If anyone wants to test that out though, by all means. It'd be nice to confirm it's fixed:)

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

                  @pjft

                  I tested your fix and can confirm that it does work. ES no longer crashes when removing the last favorite game. It works in all situations ie: favorites menu, last played menu, emulator menu.

                  Thank you, much appreciated.

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

                    @pjft Yep, it works - compiled the latest from master and doesn't crash anymore.I can go back to getting beaten by Ghosts 'n Goblins now.

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

                      @mitu Sorry to be a bother, but I'm having this same problem and found your thread. I'm new to this so I wasn't exactly sure how I would go about fixing the problem? What's this about compiling from master? I updated from source today but it didn't fix the problem. Thanks in advance.

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

                        @dylosaur it should be fixed in the latest binaries built earlier.

                        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

                        mituM D 2 Replies Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @BuZz
                          last edited by

                          @buzz I updated ES from binary, but I still get the crash when removing the last favorite. Maybe the re-built is still from stable branch, where the fix might not be applied.

                          BuZzB 1 Reply Last reply Reply Quote 0
                          • D
                            dylosaur @BuZz
                            last edited by

                            @buzz Yeah, I updated from the binaries and the crash is still occurring unfortunately.

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

                              @mitu I think I may have forgotten to push the branch back to github. I am rebuilding binaries now (or try to build from source and see if that sorts 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

                              D 1 Reply Last reply Reply Quote 1
                              • D
                                dylosaur @BuZz
                                last edited by

                                @buzz Just updated from source and can confirm that it worked. Thanks for the fix!

                                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.