google-deepmind / mujoco_mpc

Real-time behaviour synthesis with MuJoCo, using Predictive Control
https://github.com/deepmind/mujoco_mpc
Apache License 2.0
903 stars 132 forks source link

AddressSanitizer issue: residual parameters array and the UI #23

Open nimrod-gileadi opened 1 year ago

nimrod-gileadi commented 1 year ago

When running the main binary under ASAN, there's a reliable crash:

  1. Launch binary.
  2. Switch from Humanoid to Quadruped Flat.
  3. As soon as the quadruped shows up, but before the simulation is automatically started, tap space.
yuvaltassa commented 1 year ago

Is this still an issue?

nimrod-gileadi commented 1 year ago

Yep.

scakki commented 1 year ago

Hello, I am getting a segmentation error every time I switch from any task to Quadruped Flat Task. All other tasks seem to be working fine, except for Quadruped Flat. How can I fix this? Thank you

yuvaltassa commented 1 year ago

If you run with --task="Quadruped Flat" does this still happen, or only when switching in the UI?

scakki commented 1 year ago

Yes. I get the same error in both situations.

Lhumd commented 9 months ago

I had the same issue. I updated my python to 3.11, and now it works!

scakki commented 9 months ago

Thank you for your response. This helps.

thowell commented 6 months ago

@nimrod-gileadi is this still an issue?

I just tried it and did not experience the failure case. My steps to replicate: cmake -G Ninja -DCMAKE_BUILD_TYPE=ASAN cmake --build . --config=Release --target mjpc ./mjpc Follow 1-3 above