-
Notifications
You must be signed in to change notification settings - Fork 886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWSMQTTSession error and crash my app after encode or decode. #4978
Comments
@yukitaka13-1110 Thanks you for raising the issue. Our team will look into the issue and provide an update as soon as we can. |
@harsh62 Hi! Do you have any updates about this? |
@harsh62 We encountered another crash.
|
Hi everyone, I was also facing the same issue. I checked AWSMobileClient from version 2.28.0 to 2.33.0. This is happening in all versions. After lot of struggle and no updated from AWS, I observer, the Mqtt is making a queue of data we are publishing. And if we have lot of data pending to be published in that queue and then connection fluctuate then this crash is happening.
|
Describe the bug
This crash will be the one reported by the user operation. I have not been able to reproduce it. From the crash report, it appears that an out of memory range access occurred within AWSMQTTSession. However, I have not been able to determine why it occurs. I believe it is due to something other than these three occurrences in the error case.
To Reproduce
I have not been able to identify a reproducible procedure. From looking at the user logs I would expect it to happen when the app is moved to the background and then restored.
Observed Behavior
Crash my app.
Expected Behavior
Prevent to crash my app.
Stack Trace
Case 1
Case 2
Code Snippet
Please provide a snippet of the code causing the issue or how you are using the service that has the bug.
Unique Configuration
If you are reporting an issue with a unique configuration or where configuration can make a difference in code execution (i.e. Cognito) please provide your configuration. Please make sure to obfuscate sensitive information from the configuration before posting.
Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?
Screenshots
If applicable, add screenshots to help explain your problem.
Environment(please complete the following information):
Device Information (please complete the following information):
Additional context
Add any other context about the problem here like your specific use case.
Relevant Console Output
In some cases, it might be helpful to add any logs from your console that better help you tell the story of this issue. You can easily enable logging in your app by putting the following code in your app delegate.
Logs
Please logs in the code block below. (See: Logs Guidance)
Log Messages
The text was updated successfully, but these errors were encountered: