christianhaitian / arkos

Another rockchip Operating System
MIT License
1.45k stars 83 forks source link

OGA 1.1 - EmulationStation crash in main menu (std::out_of_range) #528

Closed RealJTG closed 2 years ago

RealJTG commented 2 years ago

Describe the Issue (If applicable)

After a fresh installation pressing right or left shoulder buttons in main menu leads to EmulationStation crash and restart. Navigation with Up or Down buttons if fine. Navigtion with shoulder buttons in submenu (e.g. "options") is fine too.

How can the issue be reproduced? (If applicable)

In EmulationStation main menu press left shoulder button (once) or right shoulder button (several times).

What device are you using?

ODROID-GO Advance Black Edition https://www.hardkernel.com/shop/odroid-go-advance-black-edition-clear-white/

What version of ArkOS are you on?

ArkOS 2.0 07012022

Anything else you'd like to include that may help to review this issue or feature request?

L shoulder button:

ark@rgb10:~$ /usr/bin/emulationstation/emulationstation
librga:RGA_GET_VERSION:4.00,4.000000 
ctx=0x55752b2490,ctx->rgaFd=3 
Rga built version:version:+2017-09-28 10:12:42 
EGL: major=1, minor=4
EGL: Vendor=ARM
EGL: Version=1.4 Bifrost-"r13p0-01rel0"
EGL: ClientAPIs=OpenGL_ES
EGL: Extensions=EGL_KHR_partial_update EGL_EXT_image_dma_buf_import EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_create_context_robustness
EGL: ClientExtensions=EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm

terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 18446744073709551613) >= this->size() (which is 7)
Aborted

R shoulder button:

...
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 9) >= this->size() (which is 7)
Aborted
christianhaitian commented 2 years ago

Yes. It's a known issue with ES and doesn't occur once games are loaded.