No crash here but application grinds to a halt, using AVAudioSession and AVAudioPlayer.
App execution on iOS 12, 13 simulators immediately logs:
2020-12-30 15:07:45.125612+0100 HALB_IOBufferManager_Client::GetIOBuffer: the stream index is out of range
2020-12-30 15:07:45.125793+0100 HALB_IOBufferManager_Client::GetIOBuffer: the stream index is out of range
2020-12-30 15:07:45.137752+0100 [aqme] AQME.h:254:IOProcFailure: AQDefaultDevice (1): output stream 0: null buffer
2020-12-30 15:07:45.137985+0100 AQMEIO_HAL.cpp:1774:IOProc: EXCEPTION thrown (-50): error != 0
2020-12-30 15:07:59.535460+0100 AQMEIO.cpp:179:AwaitIOCycle: timed out after 15.000s (0 1); suspension count=0 (IOSuspensions: )
2020-12-30 15:07:59.535868+0100 CA_UISoundClient.cpp:241:StartPlaying_block_invoke: CA_UISoundClientBase::StartPlaying: AddRunningClient failed (status = -66681).
After the 15 second timeout the app continues running until the next call to AVAudioSession or AVAudioPlayer.
On iOS 14, everything is fine. I hope this does not occur on real devices but could not test that.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: