Creating a CIImage using AVAssetImageGenerator crashes in simulator

Originator:jeffblagdon
Number:rdar://FB7706541 Date Originated:May 18, 2020
Status:Open Resolved:
Product:AVFoundation Product Version:11.4.1
Classification:Crash Reproducible:Yes
 
- Load an AVURLAsset from a file in the application bundle
- Initialize an AVAssetImageGenerator with the asset
- Load its duration key asynchronously
- Call generateImagesAsynchronously for a single time at the midpoint of the asset’s duration
- Instantiate a CIImage with the resulting CGImage
- Always crashes in the simulator, never on device

Comments


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!