Skip to content

libaws-cpp-sdk-core.a crash when call Aws::EC2::Model::RunInstancesRequest setImageId #1226

Closed
@jiephe

Description

@jiephe

What platform/OS are you using?

Linux 3.10.0-327.el7.x86_64

Which version of the SDK?

commit 0dad0a2

What compiler are you using? what version?

gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)

What are your CMake arguments?

cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="core;ec2" -DCMAKE_PREFIX_PATH=/usr/local ..

Can you provide a TRACE level log? (sanitize any sensitive information)

#0 0x00007f656c2f72c7 in raise () from /lib64/libc.so.6
#1 0x00007f656c2f89b8 in abort () from /lib64/libc.so.6
#2 0x00007f656c339e17 in __libc_message () from /lib64/libc.so.6
#3 0x00007f656c342609 in _int_free () from /lib64/libc.so.6
#4 0x0000000000c9039e in Aws::Allocator::deallocate (this=0x7f656c2bf3d7, p=0x24bd500 <_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4> "", n=25)
at /usr/local/include/aws/core/utils/memory/stl/AWSAllocator.h:74
#5 0x0000000000c8e385 in std::basic_string<char, std::char_traits, Aws::Allocator >::_Rep::_M_destroy (this=0x24bd500 <_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4>,
__a=...) at /usr/include/c++/4.8.2/bits/basic_string.tcc:449
#6 0x0000000000c8c47a in std::basic_string<char, std::char_traits, Aws::Allocator >::_Rep::_M_dispose (this=0x24bd500 <_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4>,
__a=...) at /usr/include/c++/4.8.2/bits/basic_string.h:249
#7 0x0000000000c8c380 in std::basic_string<char, std::char_traits, Aws::Allocator >::assign (this=0x7f656c2bf988, __str="ami-0c440c7832ff3aeeb")
at /usr/include/c++/4.8.2/bits/basic_string.tcc:250
#8 0x0000000000c8b6bb in std::basic_string<char, std::char_traits, Aws::Allocator >::operator= (this=0x7f656c2bf988, __str="ami-0c440c7832ff3aeeb")
at /usr/include/c++/4.8.2/bits/basic_string.h:547
#9 0x0000000000c8b035 in Aws::EC2::Model::RunInstancesRequest::SetImageId (this=0x7f656c2bf8a0, value="ami-0c440c7832ff3aeeb")
at /usr/local/include/aws/ec2/model/RunInstancesRequest.h:125
#10 0x0000000000c93999 in sonkwo::CAws::test_run_instance (this=0x7f656400e990, ami_id="ami-0c440c7832ff3aeeb") at aws.cpp:52
#11 0x0000000000c97911 in sonkwo::ZmqServer::Start (this=0x3e588d0) at zmq_server.cpp:36
#12 0x0000000000c6839d in sonkwo::Runtime::Run (this=0x3e574b0) at runtime.cpp:202
#13 0x0000000000c67951 in sonkwo::Runtime::__lambda8::operator() (__closure=0x3e56a00) at runtime.cpp:105
#14 0x0000000000c6a2a6 in std::_Bind_simplesonkwo::Runtime::Start()::__lambda8()::_M_invoke<>(std::_Index_tuple<>) (this=0x3e56a00) at /usr/include/c++/4.8.2/functional:1732
#15 0x0000000000c6a1fd in std::_Bind_simplesonkwo::Runtime::Start()::__lambda8()::operator()(void) (this=0x3e56a00) at /usr/include/c++/4.8.2/functional:1720
#16 0x0000000000c6a196 in std::thread::_Impl<std::_Bind_simplesonkwo::Runtime::Start()::__lambda8() >::_M_run(void) (this=0x3e569e8) at /usr/include/c++/4.8.2/thread:115
#17 0x00007f656cc5b070 in ?? () from /lib64/libstdc++.so.6
#18 0x00007f656d2cedd5 in start_thread () from /lib64/libpthread.so.0
#19 0x00007f656c3bf02d in clone () from /lib64/libc.so.6

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions