Crashes in _os_semaphore_dispose.cold since Xcode 13 beta 5

Hi,

since the Xcode 13 beta 5 I am seeing crashes in _os_semaphore_dispose.cold.* when running in the iOS simulator. This happens in different apps under various conditions, so I can pin it down to something specific.

Is anybody else having similar issues?

Stack of the crashing thread looks like this:

Disassembly looks like this:

Thanks for any feedback.

Cheers, Michael

Can anyone confirm -- have you seen this issue when your mac is also running on the latest macOS beta?

It's an iOS beta bug -- see iOS beta release notes : https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-15-beta-release-notes

Debugging Known Issues Using dispatch semaphores in an iOS app running in a device simulator on a Mac with Apple silicon running macOS 11 will cause the app to crash. (81783378)

Workaround: In Xcode, select Product > Scheme > Edit Scheme, then deselect Run > Options > Queue Debugging > “Enable backtrace recording.”

Crashes in _os_semaphore_dispose.cold since Xcode 13 beta 5
 
 
Q