Reputation: 9983
I began experiencing the following crash recently.
Crashed: com.socketio.engineHandleQueue EXC_BAD_ACCESS KERN_PROTECTION_FAILURE 0x0000000016500ade0
It seems to only affect to users with 32 bit devices.
When running the code to a 32 bit device the code crashes inside the socket operation queue.
Thread 7 Queue : com.socketio.engineHandleQueue (serial)
#0 0x014c3a00 in 0x014c3a00 ()
#1 0x00e16f70 in SingletonMetadata ()
Upvotes: 1
Views: 2575
Reputation: 9983
Seems related to an bug with the Swift compiler optimization for 32 bit devices.
I was able to fix it by changing the Swift compiler optimization level from -O to -Onone.
Update
Tested with Xcode version 11.5 and fixes this problem.
Upvotes: 2