aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.98k stars 1.06k forks source link

Do not log within signal handler as it is not safe #2843

Closed jeking3 closed 9 months ago

jeking3 commented 9 months ago

Issue #, if available:

CPP-34195

Description of changes:

Disable logging in the LogAndSwallow signal handler. Logging is not safe during signal handling as it can allocate memory.

Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.