EXC_BAD_ACCESS running Swift tests with -O
| Originator: | info | ||
| Number: | rdar://20167826 | Date Originated: | 15-Mar-2015 04:03 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 6.3 beta3 |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: Running tests on attached project crashes Steps to Reproduce: - Download RACCrash.zip - Open ReactiveCocoa.xcworkspace - Select ReactiveCocoa Mac scheme - Run tests (CMD+U) Expected Results: Tests finish and pass. Actual Results: They crash with a bad access. Regression: Tests pass when compiled with -Onone. Notes: The project comes from this commit https://github.com/ReactiveCocoa/ReactiveCocoa/commit/81860e1cc969f9224ac81d18ca3739d284553fb8, but it includes all dependencies and it’s ready to be compiled for your convenience.
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!