OpenSimRT icon indicating copy to clipboard operation
OpenSimRT copied to clipboard

Simbody crashing during visualization

Open frederico-klein opened this issue 3 years ago • 1 comments

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.

frederico-klein avatar Feb 21 '22 09:02 frederico-klein

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.

mitkof6 avatar Feb 21 '22 20:02 mitkof6