I'm trying to understand why this unit test (often) produces EXC_BAD_ACCESS errors. Is the code doing something unsafe? Take a look at BadAccessPlaygroundTests.swift.
- Open BadAccessPlayground.xcodeproj in Xcode 15
- Run the testBadAccess() test in BadAccessPlaygroundTests.swift repeatedly until failure. Recommended 10000 max iterations.
- Repeat until you witness a EXC_BAD_ACCESS error