Description
Confirm by changing [ ] to [x] below:
- [x ] I've gone though Developer Guide and API reference
- [x ] I've searched for previous similar issues and didn't find any solution
Platform/OS/Hardware/Device
What are you running the sdk on?
we run our backup app on docker on CentOS Linux release 7.6.1810 (Core).
This app uses (AWS SDK for C++ with Version:1.7.314) to put to or get data from object storage system.
Describe the question
GetObject gets random segment fault. it seems caused by memory allocator.
Logs/output
If applicable, add logs or error output.
0 0x00007f6ee4768af2 in _int_malloc () from /usr/lib64/libc.so.6
#1 0x00007f6ee476badc in malloc () from /usr/lib64/libc.so.6
#2 0x00007f6ee6fca529 in void std::vector<std::__cxx11::basic_string<char, std::char_traits, Aws::Allocator<
char> >, Aws::Allocator<std::__cxx11::basic_string<char, std::char_traits, Aws::Allocator > > >::_M_rea
lloc_insert<std::__cxx11::basic_string<char, std::char_traits, Aws::Allocator > >(__gnu_cxx::__normal_i
terator<std::__cxx11::basic_string<char, std::char_traits, Aws::Allocator >*, std::vector<std::__cxx11:
:basic_string<char, std::char_traits, Aws::Allocator >, Aws::Allocator<std::__cxx11::basic_string<char,
std::char_traits, Aws::Allocator > > > >, std::__cxx11::basic_string<char, std::char_traits, Aws
::Allocator >&&) () from /usr/lib64/libaws-cpp-sdk-s3.so
#3 0x00007f6ee69f2f85 in Aws::Utils::StringUtils::Split(std::__cxx11::basic_string<char, std::char_traits, A
ws::Allocator > const&, char, unsigned long, Aws::Utils::StringUtils::SplitOptions) () from /usr/lib64/libaws
-cpp-sdk-core.so
#4 0x00007f6ee69f32d6 in Aws::Utils::StringUtils::Split(std::__cxx11::basic_string<char, std::char_traits, A
ws::Allocator > const&, char, Aws::Utils::StringUtils::SplitOptions) () from /usr/lib64/libaws-cpp-sdk-core.s
o
#5 0x00007f6ee69e7ade in Aws::Utils::ARN::ARN(std::__cxx11::basic_string<char, std::char_traits, Aws::Alloca
tor > const&) () from /usr/lib64/libaws-cpp-sdk-core.so
#6 0x00007f6ee6f2b1e9 in Aws::S3::S3ARN::S3ARN(std::__cxx11::basic_string<char, std::char_traits, Aws::Alloc
ator > const&) () from /usr/lib64/libaws-cpp-sdk-s3.so
#7 0x00007f6ee6f459c5 in Aws::S3::S3Client::ComputeEndpointString(std::__cxx11::basic_string<char, std::char_trait
s, Aws::Allocator > const&) const () from /usr/lib64/libaws-cpp-sdk-s3.so
#8 0x00007f6ee6f5892b in Aws::S3::S3Client::GetObject(Aws::S3::Model::GetObjectRequest const&) const () from /usr/
lib64/libaws-cpp-sdk-s3.so
To enable logging, set the following system properties:
REMEMBER TO SANITIZE YOUR PERSONAL INFO
options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace;
Aws::InitAPI(options)