Closed
Description
Hello,
I'm on Ubuntu 15.04 now. I have a segmentation fault for release build only. Debug build works fine. The library was compiled with STATIC_LINKING=1. Compiler - GCC 4.9.2.
My code:
bool MainWindow::credentialsProviderTest()
{
Aws::Utils::Logging::InitializeAWSLogging(Aws::MakeShared<Aws::Utils::Logging::DefaultLogSystem>(ALLOCATION_TAG, Aws::Utils::Logging::LogLevel::Trace, "aws_sdk_"));
// Create a client
ClientConfiguration config;
config.scheme = Scheme::HTTPS;
config.connectTimeoutMs = 30000;
config.requestTimeoutMs = 30000;
auto cognitoIdentityClient = Aws::MakeShared<CognitoIdentityClient>(ALLOCATION_TAG, Aws::MakeShared<SimpleAWSCredentialsProvider>(ALLOCATION_TAG, "", ""), config);
auto cognitoCachingAnonymousCredentialsProvider = Aws::MakeUnique<CognitoCachingAnonymousCredentialsProvider>(ALLOCATION_TAG, accountId, identityPoolId, cognitoIdentityClient);
AWSCredentials credentials = cognitoCachingAnonymousCredentialsProvider->GetAWSCredentials();
credentials = cognitoCachingAnonymousCredentialsProvider->GetAWSCredentials();
Aws::Utils::Logging::ShutdownAWSLogging();
return true;
}
runCognitoIntegrationTests shows same problem:
Metadata
Metadata
Assignees
Labels
No labels