use OpenAL initialize code makes a crash in xcode 12.3 ios 13.1 simulator.

2021-01-22 18:28:30.095983+0900
xxxxxx[16885:419613] HALBIOBufferManagerClient::GetIOBuffer: the stream index is out of range
2021-01-22 18:28:30.096147+0900 xxxxxx[16885:419613] HALBIOBufferManagerClient::GetIOBuffer: the stream index is out of range
2021-01-22 18:28:30.108489+0900 xxxxxx[16885:419613] [aqme] AQME.h:254:IOProcFailure: AQDefaultDevice (1): output stream 0: null buffer
2021-01-22 18:28:30.111336+0900 xxxxxx[16885:419613] [aqme] AQMEIO_HAL.cpp:1702:IOProc: EXCEPTION thrown (-50): error != 0
2021-01-22 18:28:38.608370+0900 sknightsgb[16885:418233] Start: Mach message timeout. Apparently deadlocked. Aborting now.

after update xcode 12.3 and os big sur, this issue happen always in xcode simulator.

is this only in xcode simulator issues??

code below is very simple.
  • (id)init

{
   self = [super init];
   if (self)
  {
     openALDevice = alcOpenDevice(NULL);
     
     openALContext = alcCreateContext(openALDevice, NULL);
     alcMakeContextCurrent(openALContext);
  }
   return self;
}

this is all. and call that function in main thread.

crash in  alcMakeContextCurrent(openALContext);

please help me.

Hi, I'm getting the same crash in the simulator on iOS 12 and iOS 13 devices but it works fine on iOS 14 simulator devices. I don't think this is anything to really worry about as I've looked at my Google Firebase Crashlytics reports and don't see any crashes on real devices in alcMakeContextCurrent on both of my apps that use OpenAL. Therefore I'm hoping it's just a problem with the simulator, maybe because OpenAL is deprecated now ?

use OpenAL initialize code makes a crash in xcode 12.3 ios 13.1 simulator.
 
 
Q