RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

Segmentation fault when all options hidden in Main Menu (flatpak/AppImage)

Open Heliozoa opened this issue 3 years ago • 2 comments

Description

It seems that when there are no items to show in the Main Menu, RetroArch will crash with a segfault when trying to display the menu (i.e. on startup).

Expected behavior

A "No Settings Found" message like in the Settings menu.

Actual behavior

Crash. The AppImage gives me a segfault message, the flatpak has the same issue but exits with no message.

Steps to reproduce the bug

  1. Set retroarch.cfg to
desktop_menu_enable = "false"
menu_show_configurations = "false"
menu_show_information = "false"
menu_show_load_content = "false"
menu_show_load_core = "false"
menu_show_online_updater = "false"
menu_show_quit_retroarch = "false"
menu_show_restart_retroarch = "false"
menu_show_help = "false"
  1. Open RetroArch

Bisect Results

I was able to reproduce this on the following commits from flathub

  • 46541577f1445c083bc64aaae1414d524c910f75453d561d7f0db349c0ffb2af
  • 98033f26c7e424fdd38d54267df4a32581662b1b64e46b62f44b6a37181bab89
  • 9c860d5e26ad883c2a5b1128950ae9734fba4e8ecbde8bff23f76a993a5c4485

Version/Commit

  • RetroArch: 46541577f1445c083bc64aaae1414d524c910f75453d561d7f0db349c0ffb2af

Environment information

  • OS: Pop!_OS 22.04 LTS

Heliozoa avatar Jul 15 '22 01:07 Heliozoa

Can reproduce this. Not sure yet how to go about fixing it.

LibretroAdmin avatar Jul 15 '22 17:07 LibretroAdmin