-
Notifications
You must be signed in to change notification settings - Fork 285
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
[Issue1445.Collision] Regression test crashes #1769
Comments
There's also a workaround in gz-physics that may or may not be outdated. The original issue was reported in gz-physics here: Let me know if I should raise an issue in gz-physics is this is indeed outdated |
Edit: still happens on main/dart7. I had previously built it without the GLIBCXX_ASSERTIONS flag |
I've narrowed it down to the following. Archlinux compiles with Used from here Since this happens during moveBodyNodeTree, the mTreeCache vector could be in an intermediate state. The vector might have the sufficient room reserved, but not yet resized, or the code might actually access out of bounds memory. |
Thank you for tracking down this tricky issue! Feel free to submit a PR for this, or I could work on it when I have a chance. |
Well, I started diving into the problem but the codebase got increasingly more complex, and I had to move on as I'm not familiar with the overall structure of the library. I may revisit this issue in the future if it does not get solved, but I unfortunately don't have time to pursue it right now. |
Sure, your insights are already helpful, greatly appreciated, and will guide my further investigation. Thank you for your initial efforts! |
This should be resolved by #1778. Please let me know if this issue persists. Thank you for the error report, again! |
Bug Report
Environment
Current Behavior
The regression test for #1445 is failing for me on v6.13.0. It is also an issue when using libdart from gazebo harmonic and garden.
Backtrace in gdb:
I.e., it seems to fail on line 140 in the unit test.
dart/unittests/regression/test_Issue1445.cpp
Line 140 in c5b8f0a
Steps to Reproduce
The crash can be reproduced in the regression test for #1445
Installation was done using the AUR package with the following compilation flags
And
options=(debug !strip)
to keep debug symbols.The text was updated successfully, but these errors were encountered: