-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aws::ShutdownAPI hangs when S3Crt is used #2769
Comments
Hey @jeanbez thanks for reaching out i'd like to redirect you to our basic usage documentation specifically
because the specific issue is that your shared ptr for the s3 client still exists when you call shutdown. because of this shutdown will wait for you to delete the client to release the associated resources. refactoring your code to use the RAII to automatically clean up the client like
will make sure that let me know if you have any questions. |
got it, thanks! calling reset solved the issue |
|
Describe the bug
When calling the
Aws::ShutdownAPI(options)
the execution seems to hang, this happens in MacOS with the latest version of the SDK and only when using the S3Crt.Expected Behavior
Shutdown to complete and application to exit successfully.
Current Behavior
The logs indicate it get stuck mid-shutdown process:
Reproduction Steps
Sample code based on the provided examples in documentation that cause this behavior:
The contents are listed, and upon calling shutdown, the code hangs indefinitely. Upon interrupting the execution in lldb the stack trace is the following:
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.211
Compiler and Version used
Apple clang version 15.0.0 (clang-1500.0.40.1)
Operating System and version
MacOs Sonoma 14.0 (23A344)
The text was updated successfully, but these errors were encountered: