AVAudioUnitSampler crashes on dealloc

Number:rdar://FB10136468 Date Originated:Jun 9, 2022
Status:Closed Resolved:macOS 13 Beta 4
Product:iOS and macOS Product Version:
Classification:Bug Reproducible:Yes
Basic Information
Please provide a descriptive title for your feedback:
AVAudioUnitSampler crashes on dealloc
Which area are you seeing an issue with?
What type of feedback are you reporting?
Application Crash
What time was it when this last occurred?
It happens 100% of the time
Please describe the issue and what steps we can take to reproduce it:
1. Created AVAudioUnitSampler
2. Load a preset
3. Do not attach it to the engine
4. Deallocate AVAudioUnitSampler

Application crashes with ASSERTION FAILED: unbalanced reference count


The issue is resolved in iOS 16 and macOS Ventura.

By josipcavar04 at May 18, 2023, 9:37 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!