mjd3 / tracikpy

Python Bindings for TracIK
MIT License
38 stars 4 forks source link

Segfault when instantiating TracIkSolver after install via poetry #7

Open clemense opened 2 years ago

clemense commented 2 years ago

Hi! I'm trying to integrate tracikpy into a poetry project via:

poetry add git+https://github.com/mjd3/tracikpy.git@main

But when using it I get

Segmentation fault (core dumped)

or

double free or corruption (out)
Aborted (core dumped)

when either instantiating a TracIkSolver object or calling the solve method (it does seem to happen at arbitrary points, not deterministic).

GDB backtrace gives me

#0  0x00007fffcad505bd in KDL::SVD_HH::calculate(KDL::Jacobian const&, std::vector<KDL::JntArray, std::allocator<KDL::JntArray> >&, KDL::JntArray&, std::vector<KDL::JntArray, std::allocator<KDL::JntArray> >&, int) () from /usr/lib/liborocos-kdl.so.1.3

Any recommendation on what to look for to figure out what's wrong here?