LIJI32 / SameBoy

Game Boy and Game Boy Color emulator written in C
https://sameboy.github.io/
Other
1.68k stars 211 forks source link

Frequently hangs when switching back to its window #523

Open Rangi42 opened 1 year ago

Rangi42 commented 1 year ago

On Xubuntu 22.04.1 LTS, with the Xfce desktop environment, Alt+Tabbing away from SameBoy (to type in Discord, draw in Paint, etc) and then back will freeze the application. It no longer responds to mouse clicks or keyboard button presses, and the window must be closed. This doesn't happen 100% of the time but it's very frequent.

image

LIJI32 commented 1 year ago

Can you try attaching a debugger (e.g. lldb -n sameboy) next time it happens and send me the output of the backtrace (bt) command and the compiled sameboy binary you're using?