Please do not post a support request without first reading and following the advice in

EmulationStation crashes when attempting to remove the last favorite.

  • 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)

    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.

  • Global Moderator

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

  • @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.

  • Global Moderator

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

Log in to reply

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.