Closed docee closed 5 years ago
@docee Sorry to hear that you are running into issues. I will take a look at this and get back to you
@cbommas Any update?
@docee I have a fix that I'm currently testing. I hope to get it included in the next release if all goes well. I will keep you updated on this thread.
@cbommas
After we updated to 2.9.1, we found that the problem of Thread restart was solved, but it caused another crash.
The crash information is as follows:
Crashed: Thread 0 libobjc.A.dylib 0x1a1891430 objc_retain + 16 1 mynetvue 0x104e32640 -[AWSIoTMQTTClient initiateReconnectTimer:] (AWSIoTMQTTClient.m:697) 2 Foundation 0x1a315d23c NSThreadstart__ + 1040 3 libsystem_pthread.dylib 0x1a22c425c _pthread_body + 128 4 libsystem_pthread.dylib 0x1a22c41bc _pthread_start + 48 5 libsystem_pthread.dylib 0x1a22c7cf4 thread_start + 4
@docee, we released a fix. Please try out the latest SDK.
@muellerfr Already solved. Very thanks.🙂
Describe the bug Recently we have received a lot of NSThread crash logs, and the code that caused the crash is pointing to
[self.reconnectThread start]
.reconnectThread
is called a total of five times inAWSIoTMQTTClient
and can be called by multiple different threads simultaneously.Which AWS service(s) are affected? IoT
Environment(please complete the following information):
Device Information (please complete the following information):