-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error Init hash #2722
Comments
This comment was marked as outdated.
This comment was marked as outdated.
How are you trying to initialize this sdk? You need to make sure that you are making sdk calls within brackets Aws::SDKOptions options;
Aws::InitAPI(options);
{
//sdk calls here
}
Aws::ShutdownAPI(options); You can also find a complete example for how to use put_object here. If that doesn't help you please provide a minimal code sample that reproduces the error you are seeing. |
Hi @atharvapaladin , It is quite complicated for us to triage this issue. Could you please provide full reproduction steps, including:
Another option would be to simply ask you to debug step by step the s2n_init function... The function is not that long and frankly speaking it would be much easier to get to the root cause. Best regards, |
Will try the option where we'll debug the s2n_init function. Thanks for the tip. Will post what we find soon. |
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one. |
Describe the bug
While initializing AWS API in C++ code I get this error
"s2n_init() failed: 335544335 (error initializing hash)
Fatal error condition occurred in /home/ubuntu/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io/source/s2n/s2n_tls_channel_handler.c:203: 0 && "s2n_init() failed"
Exiting Application
################################################################################
Stack trace:
################################################################################
"
Expected Behavior
Initialize AWS API and start S3 bucket upload
Current Behavior
Reproduction Steps
Initailize AWSAPI for uploading to S3 bucket
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11
Compiler and Version used
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Operating System and version
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: