iOS 17 Address Sanitizer Crash

Problem reproduces only on iOS 17.
If you try to run iOS application in xcode with address sanitizer you will have an error:

Address 0x00016bb04080 is a wild pointer inside of access range of size 0x000000000001.
SUMMARY: AddressSanitizer: bad-free

Here is code:

FMOD::Studio::System* _system = nullptr;
_system->initialize(256, FMOD_STUDIO_INIT_NORMAL, FMOD_INIT_NORMAL, nullptr); // Error will be here

Iā€™m also experiencing the same issue. :frowning:

I can reproduce this issue as described, thank you for bringing this to our attention.
The call stack is inside the iOS libs, possibly a bug in iOS 17. I tried disabling instrumentation on Studio::System::initialize, suppressing the error using ASAN_OPTIONS, but find a workaround unfortunately. I have passed this onto the Dev team to investigate further.