Closed andreas-provectusalgae closed 3 years ago
Can you check the latest version https://github.com/aws/aws-iot-device-sdk-js-v2/tree/v1.4.3 ? I cannot reproduce the issue. Assuming the latest version has fixed the issue
Yes, the issue seems to have been fixed in version 1.4.3. Thanks.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or 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.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Known Issue
<prefix>-ats.iot.<region>.amazonaws.com
Describe the bug When multiple MQTT messages are received within a very short time (milliseconds?), the library crashes with the stack trace shown below. It appears like callbacks are still accessing memory that is freed when processing the next message. This is a very common case in our environment, where commands are sent for multiple devices in an AWS Greengrass Group at the same time. Therefore this is a critical issue impacting production.
SDK version number 1.4.1
Platform/OS/Hardware/Device Multiple (Linux Mint, Ubuntu, Raspbian on Laptops and Raspberry Pis) - the issue has been identified on all devices/platforms that are using this library
To Reproduce (observed behavior)
Then use a different service (not a manual way like AWS IoT MQTT Client) to send MQTT messages in a loop. Very few (even only 2?) messages should result in a crash.
Expected behavior A clear and concise description of what you expected to happen.
Logs/output If applicable, add logs or error output.
Additional context
Stack trace: