lucoiso / UEAzSpeech

This plugin integrates Azure Speech Cognitive Services in Unreal Engine.
https://forums.unrealengine.com/t/free-azspeech-plugin-async-text-to-voice-and-voice-to-text-with-microsoft-azure/495394
MIT License
178 stars 41 forks source link

LogThreadingWindows: Error: Runnable thread AzSpeech_KeywordRecognition_22918 crashed. #244

Open november15 opened 7 months ago

november15 commented 7 months ago

The plugin works fine in the Unreal Editor, but after packaging, some computers work fine and some computers crash。

View the logs as follows:

[2023.10.18-06.49.50:595][ 6]LogThreadingWindows: Error: Runnable thread AzSpeech_KeywordRecognition_22918 crashed. [2023.10.18-06.49.50:595][ 6]LogWindows: Error: === Critical error: === [2023.10.18-06.49.50:595][ 6]LogWindows: Error: [2023.10.18-06.49.50:595][ 6]LogWindows: Error: Fatal error! [2023.10.18-06.49.50:595][ 6]LogWindows: Error: [2023.10.18-06.49.50:595][ 6]LogWindows: Error: [2023.10.18-06.49.50:595][ 6]LogWindows: Error: Crash in runnable thread AzSpeech_KeywordRecognition_22918 [2023.10.18-06.49.50:607][ 7]LogExit: Executing StaticShutdownAfterError [2023.10.18-06.49.50:608][ 7]LogWindows: FPlatformMisc::RequestExit(1)

november15 commented 7 months ago

this is my log, hope to help you Saved.zip

november15 commented 7 months ago

Hello, after replacement, the project compilation error is reported, prompting Deletion of pointer to incomplete type 'FAzSpeechRunnableBase'; no destructor called ![image] Snipaste_2023-10-21_11-30-21

lucoiso commented 7 months ago

Hello, after replacement, the project compilation error is reported, prompting Deletion of pointer to incomplete type 'FAzSpeechRunnableBase'; no destructor called ![image] Snipaste_2023-10-21_11-30-21

added missing include in the UE5.1 version: https://github.com/lucoiso/UEAzSpeech/releases/tag/v1.6.14

november15 commented 6 months ago

The plugin works fine in the Unreal Editor, but after packaging, some computers work fine and some computers crash。

View the logs as follows:

[2023.10.18-06.49.50:595][ 6]LogThreadingWindows: Error: Runnable thread AzSpeech_KeywordRecognition_22918 crashed. [2023.10.18-06.49.50:595][ 6]LogWindows: Error: === Critical error: === [2023.10.18-06.49.50:595][ 6]LogWindows: Error: [2023.10.18-06.49.50:595][ 6]LogWindows: Error: Fatal error! [2023.10.18-06.49.50:595][ 6]LogWindows: Error: [2023.10.18-06.49.50:595][ 6]LogWindows: Error: [2023.10.18-06.49.50:595][ 6]LogWindows: Error: Crash in runnable thread AzSpeech_KeywordRecognition_22918 [2023.10.18-06.49.50:607][ 7]LogExit: Executing StaticShutdownAfterError [2023.10.18-06.49.50:608][ 7]LogWindows: FPlatformMisc::RequestExit(1)

sorry. After the update, the same problem still occurred, crashed ...

[2023.10.24-02.34.58:901][438]Message dialog closed, result: Ok, title: The UE-zhen_xie_A Game has crashed and will close, text: Fatal error!

[2023.10.24-02.34.58:901][438]LogThreadingWindows: Error: Runnable thread AzSpeech_KeywordRecognition_22918 crashed. [2023.10.24-02.34.58:901][438]LogWindows: Error: === Critical error: === [2023.10.24-02.34.58:901][438]LogWindows: Error: [2023.10.24-02.34.58:901][438]LogWindows: Error: Fatal error! [2023.10.24-02.34.58:901][438]LogWindows: Error: [2023.10.24-02.34.58:901][438]LogWindows: Error: Unhandled Exception: 0xe06d7363 [2023.10.24-02.34.58:901][438]LogWindows: Error: [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff8a29dcf19 KERNELBASE.dll!UnknownFunction [] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff889006480 VCRUNTIME140.dll!UnknownFunction [] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff6f80e9d29 zhen_xie_A.exe!__azac_handle_native_ex() [C:\ProjectUnreal\zhen_xie_A\Plugins\AzSpeech\Source\ThirdParty\AzureWrapper\include\c_api\azac_debug.h:709] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff6f80c64d8 zhen_xie_A.exe!Microsoft::CognitiveServices::Speech::SpeechRecognizer::FromConfig() [C:\ProjectUnreal\zhen_xie_A\Plugins\AzSpeech\Source\ThirdParty\AzureWrapper\include\cxx_api\speechapi_cxx_speech_recognizer.h:155] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff6f80ce1f7 zhen_xie_A.exe!FAzSpeechRecognitionRunnableBase::InitializeAzureObject() [C:\ProjectUnreal\zhen_xie_A\Plugins\AzSpeech\Source\AzSpeech\Private\AzSpeech\Runnables\Recognition\Bases\AzSpeechRecognitionRunnableBase.cpp:203] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff6f80d7bdb zhen_xie_A.exe!FAzSpeechRunnableBase::Run() [C:\ProjectUnreal\zhen_xie_A\Plugins\AzSpeech\Source\AzSpeech\Private\AzSpeech\Runnables\Bases\AzSpeechRunnableBase.cpp:80] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff6f80d723e zhen_xie_A.exe!FAzSpeechKeywordRecognitionRunnable::Run() [C:\ProjectUnreal\zhen_xie_A\Plugins\AzSpeech\Source\AzSpeech\Private\AzSpeech\Runnables\Recognition\AzSpeechKeywordRecognitionRunnable.cpp:21] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff6f9ee4d22 zhen_xie_A.exe!FRunnableThreadWin::Run() [] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff6f9edcb20 zhen_xie_A.exe!FRunnableThreadWin::GuardedRun() [] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff8a3647344 KERNEL32.DLL!UnknownFunction [] [2023.10.24-02.34.58:901][438]LogWindows: Error: [Callstack] 0x00007ff8a4ec26b1 ntdll.dll!UnknownFunction [] [2023.10.24-02.34.58:901][438]LogWindows: Error: [2023.10.24-02.34.58:901][438]LogWindows: Error: Crash in runnable thread AzSpeech_KeywordRecognition_22918 [2023.10.24-02.34.58:914][438]LogExit: Executing StaticShutdownAfterError [2023.10.24-02.34.58:915][438]LogWindows: FPlatformMisc::RequestExit(1) [2023.10.24-02.34.58:915][438]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3) [2023.10.24-02.34.58:915][438]LogCore: Engine exit requested (reason: Win RequestExit)