I’m getting intermittent crashes in my game that appear to be related to OpenAL. I’m not sure if this is a bug in the MOE layer, the LibGDX layer, or just a data bug, but I figured I’d post here to see if anyone has any ideas. Here’s the output I’m seeing in my logs just before the crash:
2016-08-21 09:20:47.249 ios-moe[310:31503] OAL Error: +[ALWrapper deleteBuffers:numBuffers:]: Invalid Operation (error code 0x0000a004)
2016-08-21 09:20:47.249 ios-moe[310:31503] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification. Resetting audio session.
2016-08-21 09:20:50.404 ios-moe[310:31503] OAL Error: +[ALWrapper deleteBuffers:numBuffers:]: Invalid Operation (error code 0x0000a004)
2016-08-21 09:20:50.404 ios-moe[310:31503] OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification. Resetting audio session.
2016-08-21 09:20:50.499 ios-moe[310:31503] -[__NSCFString bufferId]: unrecognized selector sent to instance 0x48668570
I’m going to add some more logging to see if I can identify if a specific audio file is causing the problem.