SwiftCoroutine icon indicating copy to clipboard operation
SwiftCoroutine copied to clipboard

Crashes with EXC_BAD_ACCESS in iOS 17.2, built with Xcode 15.1, 15.2.

Open rebbdif opened this issue 1 year ago • 2 comments

Sometimes it works fine. Sometimes app starts crushing at _setjmp(env) with EXC_BAD_ACCESS in the following code:

void __suspend(void* env, void** sp, void* ret, int retVal) {
    if (_setjmp(env)) return;
    char x; *sp = (void*)&x;
    _longjmp(ret, retVal);
}

Caused by await.

rebbdif avatar Feb 08 '24 17:02 rebbdif

Are you running it on Apple Silicon? Because that' s when I started getting the same exception. If so, it's probably not an issue with the iOS SDK.

funct7 avatar Feb 12 '24 08:02 funct7

Yes, I have M3 Pro chip

rebbdif avatar Feb 21 '24 09:02 rebbdif