-
Notifications
You must be signed in to change notification settings - Fork 17
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
Please update rapidjson! #5
Comments
The version of rapidjson that is used by apl-core has been very stable for us. Can you give me more information about the crashes you experienced? Does your own code attempt to use the version of rapidjson bundled with apl-core-library? |
It's difficult to explain. I'm 99% positive it's the same issue myself and another experiences in this bug: I will have random crashes while doing certain rapidjson commands, but only while running on certain platforms. I've never seen these issues while running smart screen on my Ubuntu Machine, but I will see it happens while running on other platforms (specifically, both other platforms are ARM based). Once I see the crash, it repeats 100%. In this latest instance, I was seeing the crash reported 100% of the time when I would ask for the weather (but it didn't happen when I asked the time): Once I changed the rapidjson that both smart-screen used, and apl-core used to match the one avs-device-sdk used, the crashes went away. Looking at the 2 versions, it looks to me smart-screen and apl-core used the tagged v1.1.0 version of rapidjson, while avs-device-sdk used a later version (possibly master at some time). The issue is the tagged 1.1.0 was 4 years ago, and there have been bug fixes since. So, I can only assume one of those bug fixes corrected it. |
See the issue I raised in smart screen sdk:
alexa/alexa-smart-screen-sdk#51
The same thing is true for the rapidjson included with apl-core. The rapidjson used in apl-core is the 1.1.0 tagged version from rapidjson's github, but that is many years old, and it causes my programs to crash in strange places while invoking rapidjson. There have been many fixes since then.
The text was updated successfully, but these errors were encountered: