I have an intermittent bug when launching FBA emulator/roms (v 5.8).
After launching and quitting several ROMs, the emulator will eventually hang on a black screen.
I've relaunched ES via SSH and caught the following messages when it happens;
lvl0: MUSIC Error - Unable to open SDLMixer audio: ALSA: Couldn't open audio device: Too many open files
ALSA lib conf.c:3980๐snd_config_update_r) cannot access file /usr/share/alsa/alsa.conf
ALSA lib confmisc.c:767๐parse_card) cannot find card '0'
ALSA lib conf.c:4528๐snd_config_evaluate) function snd_func_card_driver returned error: Too many open files
ALSA lib confmisc.c:392๐snd_func_concat) error evaluating strings
ALSA lib conf.c:4528๐snd_config_evaluate) function snd_func_concat returned error: Too many open files
ALSA lib confmisc.c:1246๐snd_func_refer) error evaluating name
ALSA lib conf.c:4528๐_snd_config_evaluate) function snd_func_refer returned error: Too many open files
ALSA lib conf.c:5007๐snd_config_expand) Evaluate error: Too many open files
ALSA lib pcm.c:2495๐snd_pcm_open_noupdate) Unknown PCM default
lvl0: MUSIC Error - Unable to open SDLMixer audio: ALSA: Couldn't open audio device: Too many open files
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc