-
Notifications
You must be signed in to change notification settings - Fork 111
random crash at aws_task_scheduler_cancel_task #146
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
Comments
Sorry for it. But the stack trace is not quite informative. It sounds like a race condition problem, that may be hard to track down... If you can provide the logs, that will super helpful. But, I'll recommend updating to the latest version at first. |
we encountered in 3 additional crashes yesterday, all with same stack trace. unfortunately, the stack is different from the first one I posted in this bug, so maybe it's two different issues. new crash:
logs: crashes happened at: |
OK we now got crashes from another machine, with the original stack trace:
logs: crash times: |
Please, remember to hide your credentials when you share your log. Please rotate your credentials for now. |
Thank you for the information. which helps us uncover one bug. The crash from |
*Issue #, if available:* aws/aws-iot-device-sdk-cpp-v2#146 If the underlying http_message get destroyed before the destructor of HttpMessage, it may crash when the destructor accesses the underlying http_message. *Description of changes:* - Keep the underlying http_message alive until the destructor called
thanks! please note that our implementation is the same for windows and mac, but the crashes so far happen only on mac. is the fix indeed relevant only for mac, or windows as well? do you want to add more logging in the new build so if the aws_task_scheduler_cancel_task crash reproduces you'll have more information? |
We have log right before The fix just get merged is not related to the platform. However, the crash about |
The new release is published. And, the log is not totally synchronized... So, it's possible that the crash happens before the cause is written to the log... That makes it more complicated. |
thanks, we are currently testing the new release. if you encounter in any crash again, I'll send you the logs and details about our implementation.. thanks |
seems the crash is resolved. the issue can be closed, thanks! |
Really? YEAH!!! But, I still think the other crash is something different🤯 Anyway, if you encounter the crash again, feel free to reopen it, or open another issue to report it! Thank you! |
Hi, I'm using sdk version 1.7.4. there is a random crash on mac OS. stack:
I don't have logs from the crash and the crash is quite rare. I'm currently running again with logs enabled, hoping to reproduce the crash in the next days with the logs. but maybe you can track the issue from the stack above even before the logs? thanks...
The text was updated successfully, but these errors were encountered: