EXC_BAD_ACCESS (code=1, address=0x0) crash when swift project compiled with release configuration
Originator: | dfedoseyev | ||
Number: | rdar://50759056 | Date Originated: | 14/05/2019 |
Status: | Open | Resolved: | |
Product: | iOS Swift | Product Version: | Xcode Version 10.2.1 (10E1001) |
Classification: | Memory issue | Reproducible: | Always |
Area: Core Foundation Summary: When building and running a simple swift project in release configuration we get a "EXC_BAD_ACCESS (code=1, address=0x0)" exception. No force unwrap, or thread racing related issues in the code. No crash when running in debug configuration. Steps to Reproduce: Build and run attached project https://github.com/gzerad/bad_access_radar/blob/master/enumcrash.zip Expected Results: No crash Actual Results: Crash Version/Build: Xcode Version 10.2.1 (10E1001) Configuration: iOS Simulator: iPhone 7 iOS 12.2
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!