ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ./runscript.sh: line 62: 2593 Terminated ./gbcemu $@ [SUCCESS]--- Starting the application ( runscript.sh ) ----------
Those sound buffer underrun messages are quite common in normal operation in my experience. Perhaps not that many in concentration, but I don't immediately think it's anything to worry about. Did your run crash at the end, because I can see it terminated with error, or otherwise how did you exit it? Maybe that error code is relatively normal, I'm not that familiar with this code.
To go further you're going to need to know more about how the code works, and playing for long enough with debugging enabled is unlikely to be an entertaining exercise.
I'll see if I can reproduce this. Are you suggesting this behaviour doesn't happen under minimenu?
I have had situations in the past where the desktop fires up a dialogue (if my pandora falls off the network, or my battery runs low) but you should still be able to see that after killing GBC.emu so I guess it's not that - also space wouldn't normally clear the error.
It maybe SGX driver related. EMU are now using GLES2, and that has never been a strong side of the classic SGX hardware/drivers.
(still, you can also try with some other drivers, or with a swapfile, in case it's memory related).