OpenSimRT
OpenSimRT copied to clipboard
Simbody crashing during visualization
When trying to run ./TestLowerLimbIMUIKFromFile
from a Docker instance under Windows 10 using Xming, sometimes the program just finishes silently.
It took quite some time to track this down and I believe it is an old bug from Simbody (see https://github.com/simbody/simbody/issues/563), not this code, which is why I described it there (https://github.com/simbody/simbody/issues/563#issuecomment-1046678777). I can replicate if I add the line signal(SIGPIPE, SIG_IGN);
to the file or run ./TestLowerLimbIMUIKFromFile
using debug.
But I am not sure where the bug is, or even if it is exactly the same one. Note that the crashing does not happen all the time and that ./TestUpperLimbIMUIKFromFile
always works.
Please tell me if you need any more information about replicating this.
Thanks for reporting this. I have seen this happening randomly not only in this project but with others. I think it is not related to our code but as you said a downstream issue in the Simbody visualizer. It would be nice to figure out what causes the issue in the first place. Let me know if you find something interesting.