Skip to content

crash with the SDK library #71

Closed
Closed
@msinha31

Description

@msinha31

I am sending the stack trace also code is attached
build options

-Wall -std=c++0x -g -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -mtune=core2 -l aws_dynamo -pedantic-errors -Wall -Wno-long-long -O1 -L/usr/lib -lstdc++ -lm -laws-cpp-sdk-dynamodb -laws-cpp-sdk-core -laws-cpp-sdk-sdb -DAWS_CUSTOM_MEMORY_MANAGEMENT=1"

Stack trace:

Program terminated with signal 11, Segmentation fault.
#0 std::basic_string<char, std::char_traits, Aws::Allocator >::_Rep::_S_create (__capacity=__capacity@entry=5,

__old_capacity=__old_capacity@entry=0, __alloc=...) at /usr/include/c++/4.8.3/bits/basic_string.tcc:609

609 __p->_M_capacity = __capacity;
Missing separate debuginfos, use: debuginfo-install glibc-2.17-55.145.amzn1.x86_64 gperftools-libs-2.0-11.5.amzn1.x86_64 keyutils-libs-1.5.8-3.12.amzn1.x86_64 krb5-libs-1.13.2-10.39.amzn1.x86_64 libcom_err-1.42.12-4.40.amzn1.x86_64 libevent-2.0.18-1.11.amzn1.x86_64 libselinux-2.1.10-3.22.amzn1.x86_64 openssl-1.0.1k-13.88.amzn1.x86_64 zlib-1.2.8-7.18.amzn1.x86_64
(gdb) where
#0 std::basic_string<char, std::char_traits, Aws::Allocator >::_Rep::_S_create (__capacity=__capacity@entry=5,

__old_capacity=__old_capacity@entry=0, __alloc=...) at /usr/include/c++/4.8.3/bits/basic_string.tcc:609

#1 0x0000000000823f91 in _S_construct<char const*> (__a=..., __end=,

__beg=0x7f4ccb11a5e8 <vtable for std::_Sp_counted_ptr_inplace<Aws::Client::DynamoDBErrorMarshaller, Aws::Allocator<Aws::Client::DynamoDBErrorMarshaller>, (__gnu_cxx::_Lock_policy)2>+40> "Linux")
at /usr/include/c++/4.8.3/bits/basic_string.tcc:138

#2 _S_construct_aux<char const*> (__a=..., __end=,

__beg=0x7f4ccb11a5e8 <vtable for std::_Sp_counted_ptr_inplace<Aws::Client::DynamoDBErrorMarshaller, Aws::Allocator<Aws::Client::DynamoDBErrorMarshaller>, (__gnu_cxx::_Lock_policy)2>+40> "Linux") at /usr/include/c++/4.8.3/bits/basic_string.h:1725

#3 _S_construct<char const*> (__a=..., __end=,

__beg=0x7f4ccb11a5e8 <vtable for std::_Sp_counted_ptr_inplace<Aws::Client::DynamoDBErrorMarshaller, Aws::Allocator<Aws::Client::DynamoDBErrorMarshaller>, (__gnu_cxx::_Lock_policy)2>+40> "Linux") at /usr/include/c++/4.8.3/bits/basic_string.h:1746

#4 std::basic_string<char, std::char_traits, Aws::Allocator >::basic_string (this=0x7f4cbee59b60,

__s=<optimized out>, __a=...) at /usr/include/c++/4.8.3/bits/basic_string.tcc:215

#5 0x00007f4ccac06d2b in Aws::Utils::StringUtils::LTrim(char const*) ()

from /home/boss/awsnew/aws-cpp-sdk-core/libaws-cpp-sdk-core.so
#6 0x00007f4ccac06f5c in Aws::Utils::StringUtils::Trim(char const*) ()

from /home/boss/awsnew/aws-cpp-sdk-core/libaws-cpp-sdk-core.so
#7 0x00007f4ccac05415 in getSysCommandOutput(char const*) () from /home/boss/awsnew/aws-cpp-sdk-core/libaws-cpp-sdk-core.so
#8 0x00007f4ccac054ae in Aws::Utils::OSVersionInfo::ComputeOSVersionString() const ()

from /home/boss/awsnew/aws-cpp-sdk-core/libaws-cpp-sdk-core.so
#9 0x00007f4ccabf1b5e in Aws::Client::ComputeUserAgentString() ()

from /home/boss/awsnew/aws-cpp-sdk-core/libaws-cpp-sdk-core.so
#10 0x00007f4ccabf1eec in Aws::Client::ClientConfiguration::ClientConfiguration() ()

from /home/boss/awsnew/aws-cpp-sdk-core/libaws-cpp-sdk-core.so
#11 0x00000000008201ae in boss::Dig_CP::getScores::retrieveScore (this=this@entry=0x7f4cbee5a770, tableName="good_wtp",

wtp="e2e40c9a-95a8-47c3-a746-e82cbecd2e42")
at /home/boss/boss_deployment/CP_source_new_v2/source_updated/C++/Algorithms/Dig_CP/src/Dig_CP_getScores.cpp:81

#12 0x0000000000821e7a in boss::Dig_CP::getScores::getScoresWRTWTP (this=this@entry=0x7f4cbee5a770,

wtp="e2e40c9a-95a8-47c3-a746-e82cbecd2e42")

Dig_CP_getScores.txt

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