Open haudren opened 9 years ago
Note I just checked the values in the above expression:
return buf[(offset + (rowIndex * colSize_)) % capacity_ + colIndex];
offset = 0
rowIndex = 0
colSize_ = 1
capacity = 0
colIndex = 0
So obviously, we are trying to take the 0-modulus of 0, which does not go very well... I am guessing badly initialized values.
Another note: the tool works as expected when using only the position and velocity checking. Using the self-collision test triggers the abnormal behaviour.
When I use the kinematic fault checker (In the tools menu), choreonoid crashes when attempting to check.
Workflow:
Result:
Backtrace: https://gist.github.com/haudren/42ffc65ebad9244a3573
However, the fault checker does work properly whenever I use the sample GR0001 project. I suppose that there is a problem with either my setup, or with the hrpsys files that are not wrapped in a pseq.
Anyway I do not think the application should ever crash on SIGFPE during normal use.
I can send you the .cnoid file if you wish.
Thank you, Hervé