I’ve just updated my iPad 9 to iOS 17.1.1 and now when I run my app on it it crashes when alcOpenDevice(NULL); is called with the error:
==1067==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x00016bb04080 in thread T0
#0 0x105b3f438 in wrap_free+0x98 (/private/var/containers/Bundle/Application/59D891F8-1D8A-49B4-A4E7-FB610AF36512/Firefight.app/Frameworks/libclang_rt.asan_ios_dynamic.dylib:arm64e+0x53438)
#1 0x2081c8ae8 in __cxa_decrement_exception_refcount+0x40 (/usr/lib/libc++abi.dylib:arm64e+0x13ae8)
#2 0x1ab199ae0 in <redacted>+0x378 (/System/Library/PrivateFrameworks/AudioToolboxCore.framework/AudioToolboxCore:arm64e+0x11ae0)
#3 0x1ab199728 in AudioConverterNew+0x154 (/System/Library/PrivateFrameworks/AudioToolboxCore.framework/AudioToolboxCore:arm64e+0x11728)
#4 0x213c88930 in <redacted>+0x84 (/System/Library/Frameworks/AudioToolbox.framework/libEmbeddedSystemAUs.dylib:arm64e+0xd930)
etc...
It works fine with 17.0.1 on the simulator, and on my other older devices too.
I’m not sure if I’m doing something wrong, or if it’s a bug at Apple’s end?




