-
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
Seg Fault during a PutRecordRequest when KinesisClient created with AWSCredentials. #221
Comments
clientPtr(Aws::New("AFT_Client",AWSCredentials(ACCESS_KEY_ID,SECRET_ACCESS_KEY)) ) In class initializer. clientPtr is KinesisClient* type. Does anyone have any idea ? This initializer works fine but later one when used to do a put record seg fault. I make this call in the main... SDKOptions options; |
If I just use default call clientPtr(Aws::New("AFT_Client" )) Crashes in a different spot Program received signal SIGSEGV, Segmentation fault. |
Since this is after an upgrade to 0.12.x, did you happen to remember to do the following from the upgrade notes? https://github.com/aws/aws-sdk-cpp#upgrading-notes |
Yes. I have followed all the upload notes. I am downloaded the latest build to see what happens From: Jonathan M. Henson [mailto:notifications@github.com] Since this is after an upgrade to 0.12.x, did you happen to remember to do the following from the upgrade notes? https://github.com/aws/aws-sdk-cpp#upgrading-notes — |
It turned out that this was caused by the stack size being set too low |
* Customer Credential provider
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6787520 (LWP 15159)]
0x00007ffff7d58495 in Aws::Utils::Crypto::Sha256OpenSSLImpl::Calculate(std::basic_istream<char, std::char_traits >&) () from /usr/local/lib/libaws-cpp-sdk-core.so
(gdb) bt
#0 0x00007ffff7d58495 in Aws::Utils::Crypto::Sha256OpenSSLImpl::Calculate(std::basic_istream<char, std::char_traits >&) () from /usr/local/lib/libaws-cpp-sdk-core.so
#1 0x00007ffff7d3b507 in Aws::Utils::Crypto::Sha256::Calculate(std::basic_istream<char, std::char_traits >&) () from /usr/local/lib/libaws-cpp-sdk-core.so
#2 0x00007ffff7d2889c in Aws::Client::AWSAuthV4Signer::ComputePayloadHash(Aws::Http::HttpRequest&) const () from /usr/local/lib/libaws-cpp-sdk-core.so
#3 0x00007ffff7d26587 in Aws::Client::AWSAuthV4Signer::SignRequest(Aws::Http::HttpRequest&) const () from /usr/local/lib/libaws-cpp-sdk-core.so
#4 0x00007ffff7d2d0d3 in Aws::Client::AWSClient::AttemptOneRequest(std::basic_string<char, std::char_traits, Aws::Allocator > const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const () from /usr/local/lib/libaws-cpp-sdk-core.so
#5 0x00007ffff7d2ca80 in Aws::Client::AWSClient::AttemptExhaustively(std::basic_string<char, std::char_traits, Aws::Allocator > const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const () from /usr/local/lib/libaws-cpp-sdk-core.so
#6 0x00007ffff7d2e282 in Aws::Client::AWSJsonClient::MakeRequest(std::basic_string<char, std::char_traits, Aws::Allocator > const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const () from /usr/local/lib/libaws-cpp-sdk-core.so
#7 0x00007ffff78a74ac in Aws::Kinesis::KinesisClient::PutRecord(Aws::Kinesis::Model::PutRecordRequest const&) const () from /usr/local/lib/libaws-cpp-sdk-kinesis.so
The text was updated successfully, but these errors were encountered: