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 crashes when attempting to remove the last favorite.

    Scheduled Pinned Locked Moved Help and Support
    crashfavorites
    4 Posts 2 Posters 851 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.
    • C
      CrocodileTom
      last edited by

      Pi Model or other hardware: 3
      Power Supply used: Cana 2.5A
      RetroPie Version Used: 4.3.5
      Built From: Custom, with image downloaded from RetroPie website
      USB Devices connected: NES30 Pro
      Controller used: NES30 Pro
      Error messages received: See below
      Log found in /dev/shm/runcommand.log: N/A
      Guide used: N/A
      File: N/A
      Emulator: N/A
      Attachment of config files: N/A
      How to replicate the problem:

      Hi guys,
      When I attempt to remove the last Favorite (using the 'Y' on the gamepad, while in the Favorites Folder), EmulationStation crashes with the following error displayed on the console:

      terminate called after throwing an instance of 'std::out_of_range'
      what(): vector::_M_range_check:__n (which is 4294967295) >= this->size() (which is 1)
      Aborted
      pi@Retropie:~$

      At this point, the keyboard is also locked up and all I can do is power-cycle the Pi. This happens to me every time. I don't think anything is special about my image. I downloaded the latest from the website and started building it up by adding games and images. I'm using the mini-snes theme, but this also happens on the Carbon theme.

      Any help would be appreciated.

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

        @crocodiletom This is a known bug, it has been fixed in the master branch. It has not yet been commited to the stable repository, but it's probably going to get incorporated into an update in the future.

        C 1 Reply Last reply Reply Quote 0
        • C
          CrocodileTom @mitu
          last edited by

          @mitu Thanks. Is there a way to watch for this. I don't want to do any updates unless I need to, to fix this bug.

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

            @crocodiletom You only need to update EmulationStation (from binary), once the fix will be commited to the stable branch.

            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.