Skip to content

Hang in Aws::ShutdownAPI #3502

@hqho

Description

@hqho

Describe the bug

We are seeing a hang in the ShutdownAPI with the following backtrace. Is this similar to #3282 and fix in #3288? In the backtrace below, the hang seem to be in the CRT layer. We on AWS SDK version 1.11.293

#0 0x00007fffec94570c in pthread_cond_wait@@GLIBC_2.3.2 () from /tmp/fileI4kEfw/libpthread.so.0
#1 0x00007ffeb2ecf389 in aws_condition_variable_wait () from /tmp/fileI4kEfw/libaws-cpp-sdk-core.so
#2 0x00007ffeb2ec8ac4 in aws_condition_variable_wait_pred () from /tmp/fileI4kEfw/libaws-cpp-sdk-core.so
#3 0x00007ffeb2ed2c3c in aws_thread_join_all_managed () from /tmp/fileI4kEfw/libaws-cpp-sdk-core.so
#4 0x00007ffeb2dca2c5 in Aws::Crt::ApiHandle::~ApiHandle() () from /tmp/fileI4kEfw/libaws-cpp-sdk-core.so
#5 0x00007ffeb2d758f4 in Aws::CleanupCrt() () from /tmp/fileI4kEfw/libaws-cpp-sdk-core.so
#6 0x00007ffeb2d7354f in Aws::ShutdownAPI(Aws::SDKOptions const&) () from /tmp/fileI4kEfw/libaws-cpp-sdk-core.so

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Shutdown should complete.

Current Behavior

Shutdown does not complete

Reproduction Steps

None

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.293

Compiler and Version used

gcc (SUSE Linux) 9.3.1 20200406

Operating System and version

SLES 15SP4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions