-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
After getting the latest bits, constructing EC2Client is breaking(dumping core). Here's the code snippet of how I construct EC2Client:
ClientConfiguration config;
config.scheme = Scheme::HTTPS;
config.connectTimeoutMs = 30000;
config.requestTimeoutMs = 30000;
config.region = Aws::Region::US_WEST_2;
config.verifySSL=true;
EC2Client client(config);
Here's the back trace:
#37 0x00000000008a8d4b in std::__shared_count<2>::__shared_count<Aws::Auth::DefaultAWSCredentialsProviderChain, std::allocatorAws::Auth::DefaultAWSCredentialsProviderChain>(std::_Sp_make_shared_tag, Aws::Auth::DefaultAWSCredentialsProviderChain *, const std::allocatorAws::Auth::DefaultAWSCredentialsProviderChain &) (this=0x7fffffffde38, __a=...)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/shared_ptr_base.h:502
#38 0x00000000008a8c7f in std::__shared_ptr<Aws::Auth::DefaultAWSCredentialsProviderChain, 2>::__shared_ptrstd::allocatorAws::Auth::DefaultAWSCredentialsProviderChain(std::_Sp_make_shared_tag, const std::allocatorAws::Auth::DefaultAWSCredentialsProviderChain &)
(this=0x7fffffffde30, __tag=..., __a=...)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/shared_ptr_base.h:958
#39 0x00000000008a8c38 in std::shared_ptrAws::Auth::DefaultAWSCredentialsProviderChain::shared_ptrstd::allocatorAws::Auth::DefaultAWSCredentialsProviderChain(std::_Sp_make_shared_tag, const std::allocatorAws::Auth::DefaultAWSCredentialsProviderChain &) (
this=0x7fffffffde30, __tag=..., __a=...)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/shared_ptr.h:317
#40 0x00000000008a8b9c in std::allocate_shared<Aws::Auth::DefaultAWSCredentialsProviderChain, std::allocatorAws::Auth::DefaultAWSCredentialsProviderChain>(std::allocatorAws::Auth::DefaultAWSCredentialsProviderChain const&) (__a=...)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/shared_ptr.h:597
#41 0x0000000000449740 in Aws::MakeSharedAws::Auth::DefaultAWSCredentialsProviderChain (allocationTag=0xa0ba23 "EC2Client")
at /home/fmserver/Project/Shared/AWS/CppSDK/aws-sdk-cpp-master/aws-cpp-sdk-core/include/aws/core/utils/memory/stl/AWSAllocator.h:97
#42 0x0000000000423267 in Aws::EC2::EC2Client::EC2Client (this=0x7fffffffe1d8, clientConfiguration=...)
at /home/fmserver/Project/Shared/AWS/CppSDK/aws-sdk-cpp-master/aws-cpp-sdk-ec2/source/EC2Client.cpp:226
#43 0x0000000000419fcc in getVolumeId () at snapshot.cpp:112
#44 0x000000000041b1f1 in main () at snapshot.cpp:200
The previous build is not working but at least not dumping core... Please help to fix it.
Thanks,
Johnny