-
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
transcribestreaming SIGSEGV of library in CRTHttpClient::MakeRequest -> ostream::write #2730
Comments
I'm working on trying to reproduce the same error you are getting and I had a few questions:
I just want to make sure we are both trying to solve the same problem. This similar looking issue was caused by a
and I want to make sure we're not debugging an error added artificially by changing the AWS_SECRET_ACCESS_KEY |
I've changed only the default requestTimeoutMs, because it is too small in SDK. diff --git a/src/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp b/src/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp
yes, I have the same error Also with the load I've faced other crashes with a load ~30 transcribing sessions and one more:
yes, correct. I tried to reproduce the issue with the wrong AWS_SECRET_ACCESS_KEY and it looks like the crash the same.
no, we are using Debian 11 I'm developing multithread application for realtime transcribing VoIP's calls, so when I load my module, I call When I have 5 calls to transcribe, it looks good with no issue, but when it's 10-20 I start to face an issues with crashes of SDK's library. I compile SDK by: |
@SergeyRyabinin |
|
Describe the bug
We are using C++ SDK to transcribe stream in realtime, and we have an issue with crashing the SDK library in some cases, but it is 100% reproduced in case of the wrong env variable AWS_SECRET_ACCESS_KEY
Why we are using CRT HTTP CLIENT?
We are using it because we have a performance issue when we use lib CURL.
GDB output: gdb_dump.txt
I tried to use libsanitizer to catch the issue, and here is the result: libsanitizer_res.txt
logs.txt
Expected Behavior
There are no crashes in the library
Current Behavior
the library is crashing
Reproduction Steps
the issue is reproduced in some rare cases with no changes, but 100% reproduced in case we put some wrong symbol to the value of AWS_SECRET_ACCESS_KEY environment variable
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.184 (latest master)
Compiler and Version used
gcc (Debian 10.2.1-6) 10.2.1 20210110
Operating System and version
Debian 11
The text was updated successfully, but these errors were encountered: