[fixed] emulationstation segfault on RPI4 fresh install
-
Hi,
I've been having a weird problem with retropie today. On a new flashed SD card with Pi4 1gb, system boots and configures a joypad, then the UI loads but as soon as I tap configure I get the message "Emulation Station crashed!" and then dropped back at the command prompt.
Image: retropie-buster-4.8-rpi4_400.img.gz
md5sum is correct and reflashing made no difference.
Heres the gdb backtrace:
pi@retropie:~ $ gdb /opt/retropie/supplementary/emulationstation/emulationstation GNU gdb (Raspbian 8.2.1-2) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/retropie/supplementary/emulationstation/emulationstation...(no debugging symbols found)...done. (gdb) run Starting program: /opt/retropie/supplementary/emulationstation/emulationstation [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [New Thread 0xb4e17140 (LWP 1853)] Thread 1 "emulationstatio" received signal SIGSEGV, Segmentation fault. 0x000751b8 in SystemData::getRandomSystem() () (gdb) bt #0 0x000751b8 in SystemData::getRandomSystem() () #1 0x00075220 in SystemData::getRandomSystem() () #2 0x00127cd0 in SystemView::input(InputConfig*, Input) () #3 0x0012fa64 in ViewController::input(InputConfig*, Input) () #4 0x00178b20 in Window::input(InputConfig*, Input) () #5 0x0015e7e4 in InputManager::parseEvent(SDL_Event const&, Window*) () #6 0x00064840 in main () (gdb) exit
I did manage to get past this error by running apt updating the entire system and then doing
sudo ~/RetroPie-Setup/retropie_setup.sh
and choosing to upgrade everything possible. I didnt take notes so not sure which component upgrade fixed things but after updating and rebooting retropie worked as usual.Hopefully that helps someone out...
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.