Crash in sdk 1.17.0
See original GitHub issueDescribe the bug the crash does not reproduce every time
To Reproduce Steps to reproduce the behavior:
- It is reporduced when we do load test our servers, does not reproduce every time
Expected behavior Should not crash
Which version of the SDK are you using. 1.17.0
Platform, Operating System, and Programming Language
-
OS: NAME=“Ubuntu” VERSION=“18.04.5 LTS (Bionic Beaver)”
-
Hardware - x64
-
Programming language: C++
-
Browser: None
Additional context
Crash stack
[Thread debugging using libthread_db enabled] Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”. Core was generated by `./unimrcpserver’. Program terminated with signal SIGSEGV, Segmentation fault. #0 __memcpy_ssse3 () at …/sysdeps/x86_64/multiarch/memcpy-ssse3.S:132 132 …/sysdeps/x86_64/multiarch/memcpy-ssse3.S: No such file or directory. [Current thread is 1 (Thread 0x7f0fa58a7700 (LWP 20250))] (gdb) bt #0 __memcpy_ssse3 () at …/sysdeps/x86_64/multiarch/memcpy-ssse3.S:132 #1 0x00007f0fc61e6157 in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x00007f0fc661f316 in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #3 0x00007f0fc65c3fff in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #4 0x00007f0fc65743dc in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #5 0x00007f0fc6e169b9 in std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>::operator()() const (this=<optimized out>) at /usr/include/c++/7/bits/std_function.h:706 #6 std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>, bool) (this=0x7f0f54082b50, __f=<optimized out>, __did_set=0x7f0fa58a6cc7) at /usr/include/c++/7/future:561 #7 0x00007f0fc8658907 in __pthread_once_slow (once_control=0x7f0f54082b68, init_routine=0x7f0fc617b8a0 <__once_proxy>) at pthread_once.c:116 #8 0x00007f0fc6572fb5 in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #9 0x00007f0fc6573585 in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #10 0x00007f0fc654c6cc in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #11 0x00007f0fc65b38b9 in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #12 0x00007f0fc6535c28 in ?? () from /usr/local/speechsdk/lib/x64/libMicrosoft.CognitiveServices.Speech.core.so #13 0x00007f0fc617ca50 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #14 0x00007f0fc86506db in start_thread (arg=0x7f0fa58a7700) at pthread_create.c:463 #15 0x00007f0fc953d71f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95
==================================================================================================================================================================================== We are using StartSpeakingText(src_text) API and we dont use future in our code, still the stack shows crash at __future_base
Please let us know what more details you require from us
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Hi @gauravG2021 @pankopon , I think we fixed this bug and delivered a private drop to @gauravG2021. And release 1.19 will contain this fix. Thanks.
Closing this as fix is included in 1.19.0 release, let us know if there are more problems.