Reputation: 71
I have a Unity program that crashes without errors, I found this error in the dump, but it’s not even in the documentation:
EXC_BAD_ACCESS (SIGILL)
It seems to have something to do with memory, but what exactly is causing the error?
Upvotes: 0
Views: 44
Reputation: 71
It turned out that the crash was caused by an unnoticeable recursion problem, which could have already executed all the random possibilities (there are more than int16) of the variant in this case (by the way, it is very strange that the dump displayed recursion, but the recursion of clearing the stack Garbage collector, I do not know here). SIGILL is a very strange thing with Bad Acess, since it turned into "SIGSEGV BAD ACESS" in the assembled application. I consider it will be useful for Unity developers on Mac
Upvotes: 0