You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
multiple threads are calling mjd_transitionFD on the same mjData instance. Unfortunately, mjd_transitionFD takes a non-constmjData*, and performs MuJoCo stack allocations. Those allocations are not thread safe and will get mixed up between threads, so the resulting computation is likely nonsense.
This was discovered by running tests with ThreadSanitizer.
The text was updated successfully, but these errors were encountered:
Here:
mujoco_mpc/mjpc/planners/model_derivatives.cc
Line 96 in 79db2bc
multiple threads are calling
mjd_transitionFD
on the samemjData
instance. Unfortunately,mjd_transitionFD
takes a non-constmjData*
, and performs MuJoCo stack allocations. Those allocations are not thread safe and will get mixed up between threads, so the resulting computation is likely nonsense.This was discovered by running tests with ThreadSanitizer.
The text was updated successfully, but these errors were encountered: