Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error assigning per-element materials to multiple bodies #333

Open
1 of 3 tasks
akr97 opened this issue May 8, 2024 · 0 comments
Open
1 of 3 tasks

Error assigning per-element materials to multiple bodies #333

akr97 opened this issue May 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@akr97
Copy link

akr97 commented May 8, 2024

I'm trying to simulate multiple deformable objects in a scene, each with material parameters being assigned per element from a file. This results in a crash, due to a heap-buffer overflow in the "Assigning rhs" phase.

Attached is a zip file containing simple example:

  • In "constant.json", 4 cubes are simulated each with constant material properties which works.
  • In "per_element.json", we have the same setup with the 4 cubes, but the materials are assigned per element from a file. This fails as explained above.
  • In "single_cube.json", we have a single cube being simulated using the same per element materials and it works fine, so the error is unlikely to be due to bad material parameters.

My simulations are run on a 2021 M1 MacBook Pro. I've attached the output with an error trace from Address Sanitizer in the attached file 'trace.txt'.

Platform

  • Windows
  • macOS
  • Linux

trace.txt
small_multi.zip

@akr97 akr97 added the bug Something isn't working label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant