MotiveAPI 3.1.0 bug with multiple threads
Posted: Fri Oct 17, 2025 7:29 am
Hi,
I found a bug inside MotiveAPI DLL when performing MotiveAPI::Initialize()/MotiveAPI::Shutdown() from different threads.
You'll find attached a very simple program to reproduce the issue.
I guess there's a problem with thread context management inside DllMain (DLL_THREAD_ATTACH/DLL_THREAD_DETACH).
Best regards,
Vincent
I found a bug inside MotiveAPI DLL when performing MotiveAPI::Initialize()/MotiveAPI::Shutdown() from different threads.
You'll find attached a very simple program to reproduce the issue.
I guess there's a problem with thread context management inside DllMain (DLL_THREAD_ATTACH/DLL_THREAD_DETACH).
Best regards,
Vincent