Closed funct7 closed 1 year ago
Getting same issue
@qasimsqm @funct7 Were you able to find any possible solution to this crash.
@ankitagarwal007 We found that the call to our reconnect method was not being throttled like we wanted, and the number of calls was increasing exponentially. I wasn't actually able to reproduce the crash, but ever since we fixed the throttling timer, we haven't had this issue.
This issue has been marked as stale, it will be closed automatically if there is no further activity.
Environment: iOS 14, 15 Version: 7.6.3
We are getting reports from Crashlytics with the heading:
GCDAsyncSocket EXC_GUARD 0x08fd4dbfade2dead
Stacktrace:
It seems to happen only intermittently, and we didn't have this issue before the update where we changed the code that disconnects and reconnects at a certain interval repeatedly. We haven't updated CocoaAsyncSocket, so I'm thinking there might be some undesirable side effects that are taking place in the new disconnect/reconnect sequence.
EXC_GUARD 0x08fd4dbfade2dead
seems to be related to using a released file descriptor according to some pages (curl Github page, Apple dev forum).Since we're not hearing from customers about this issue, I'm guessing it might be happening while the app is in the background/suspended state, or when it's closing.
If there are any cautions to take when reconnecting, or any method call sequence that could trigger the issue, please let me know.
Thank you!