You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
This crash occurs because the library libsot-dynamic.so is loaded after the library libsot-core.so.
At the opposite, the following code will properly exit:
from dynamic_graph.sot.dynamics.angle_estimator import AngleEstimator
from dynamic_graph.sot.core.matrix_util import matrixToTuple
Note that this is only due to the fact that in dynamic_graph/sot/dynamics/__init__.py, the Dynamic entity is the first one loaded. With this
from angle_estimator import AngleEstimator
from dynamic import Dynamic
the test would also crash.
Is there a way to correct this?
For now, I have to use a workaround that consists in systematically importing
from dynamic_graph.sot.dynamics.dynamic import Dynamic
first, so as to avoid this issue.
The text was updated successfully, but these errors were encountered:
Some of us noticed the issue. I tried to track the error with valgrind but without success. According to valgrind, there is a double free error in the destructor of std::string, but I have been unable to find which string is the source of the problem. Your experimentation above is another interesting clue. Mehdi suggested to compile python with -g flag and to reproduce the error in gdb.
We need to investigate further.
Florent
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello all,
Since the merge #4, there is a problem at the destruction of the python interface used to interact with the SoT in some cases.
To reproduce the error, create the file test.py with the following content:
Running
python ./test.py
Returns the following error:
This crash occurs because the library
libsot-dynamic.so
is loaded after the librarylibsot-core.so
.At the opposite, the following code will properly exit:
Note that this is only due to the fact that in
dynamic_graph/sot/dynamics/__init__.py
, the Dynamic entity is the first one loaded. With thisthe test would also crash.
Is there a way to correct this?
For now, I have to use a workaround that consists in systematically importing
first, so as to avoid this issue.
The text was updated successfully, but these errors were encountered: