-
Notifications
You must be signed in to change notification settings - Fork 76
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
Crash when Building AwsIotMqtt5ClientBuilder on NexGo Terminals #578
Comments
How are you consuming this package? We have detailed instructions for how to use this sdk on Android devices here. If you're consuming from maven you need to make sure you have the correct dependency: |
Yes, I'm consuming from Maven. |
We don't have NexGo Terminals to reproduce the same issue that you are seeing. Can you help us by providing a dockerfile or minimal reproduction environment that produces the same error that you're seeing? Another useful thing to try would be to run our Android samples with trace level logging. You can do that by setting the |
We encountered what seems to be the same problem on multiple Android 10 devices. The issue can be reproduced with the sample at https://github.com/aws/aws-iot-device-sdk-java-v2/tree/main/samples/Android
|
Thanks for the logs and info! I've found that this hasn't been caught in our testing because we test on devices using Android Version 13 and it appears to not be a problem there. I can however reproduce this issue on an Android device using Android Version 10. The issue was introduced when updating the aws-crt-android dependency from 0.29.11 to 0.29.12. We will look into this issue further. In the meanwhile, I recommend using the sdk v1.20.1 as the version upgrades since then do not add any additional android specific functionality. |
Latest release v1.20.6 has reverted its android CRT dependency to v0.29.11 until we resolve the issue there. You should be able to use the latest aws-iot-device-sdk-java-v2 version without crashing. We will continue to work on the root issue in aws-crt-java and once it's fixed, will set its latest version as the dependency for the android sdk again. Thanks for bringing this to our attention. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
When attempting to build the AwsIotMqtt5ClientBuilder on NexGo Terminals using version 1.20.2/1.20.4/1.20.5 of the aws-iot-device-sdk-java-v2, the application crashes. The crash log indicates a fatal signal 4 (SIGILL) with fault address 0x7a3703cee4.
Expected Behavior
I expected the AwsIotMqtt5ClientBuilder to be successfully built without causing the application to crash.
Current Behavior
The application crashes with a fatal signal 4 (SIGILL) when attempting to build the AwsIotMqtt5ClientBuilder on NexGo Terminals using version 1.20.2/1.20.4/1.20.5 of the aws-iot-device-sdk-java-v2.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.20.2 / 1.20.4 / 1.20.5
Environment details (OS name and version, etc.)
Android 9.0 / NexGo N86 - XAP OS V1.0
The text was updated successfully, but these errors were encountered: