Redream crashes if controller disconnects
I updated redream on my raspberry pi 4 yesterday. Another user stated that after about 15 mins of running sonic adventure he was getting unusual audio stuttering, so I tried to confirm the behavior. I booted up the first level of Sonic Adventure and just let the game run. I came back about 15-20 mins later and found that redream had crashed. Here is the log: https://pastebin.com/7qd6TWRX
Edit: just happened again. I paused ikaruga and came back 15-20 mins later and found that redream crashed again. So it's not one specific game causing the issue. I should note that I have been successfully playing games through redream all day. It only seems to happen when I'm idle. I'm wondering now if it occurs when my wireless Xbox controller goes to sleep...
Edit 2: yep that's exactly what it is. If I pop out the batteries on my controller while redream is running, it crashes.