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
MotiveAPI 3.1.0 bug with multiple threads
-
steven.andrews
- NaturalPoint Employee

- Posts: 721
- Joined: Mon Jan 19, 2015 11:52 am
Re: MotiveAPI 3.1.0 bug with multiple threads
Hi Vincent,
Thank you for sharing the details and for putting together a simple reproduction example. I see that you are already working with our support team on this, which is the best way to report and track a potential bug like this. We will also need you to confirm whether the same behavior occurs in the current version of Motive, since we are not making further updates to Motive 3.1.
Best regards,
Steven
Steven Andrews
Sr. Director, Support Engineering
OptiTrack
Thank you for sharing the details and for putting together a simple reproduction example. I see that you are already working with our support team on this, which is the best way to report and track a potential bug like this. We will also need you to confirm whether the same behavior occurs in the current version of Motive, since we are not making further updates to Motive 3.1.
Best regards,
Steven
Steven Andrews
Sr. Director, Support Engineering
OptiTrack