AWSIoTMQTTClient scheduleReconnection crash
tavisbones opened this issue · 5 comments
Describe the bug
We are on version 2.37.2 version of the sdk and this crash is fairly prevalent in our application
To Reproduce
Steps to reproduce the behavior:
- Leave the app open for hours
Observed Behavior
Crashes
Expected Behavior
Doesn't crash
Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?
IoT
Environment(please complete the following information):
- SDK Version: 2.37.2
- Dependency Manager: SPM
- Swift Version : 5.0
- Xcode Version: All versions
Device Information (please complete the following information):
- Device: All devices
- iOS Version: iOS 17
Thanks for filing the issue @tavisbones. Could you talk a little bit more about how you're using the SDK? That will help in investigating the issue.
@mattcreaser we are just opening an IoT connection and let the app run for awhile (hours)
iotDataManager?.connectUsingWebSocket(withClientId: clientId, cleanSession: true, statusCallback: statusCallback)
Are you able to provide more code snippets, and how we can reproduce this issue locally on a machine?
Closing in favour of #5453, which has more context.
@tavisbones if you're able, please try out the fix/iot-crash
branch that has a potential fix and let us know if it resolves your issues.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.